Hey Guys!Welcome to a new video!Here are all the codes in 'Crab Simulator'Crab Simulator: https://www.roblox.com/games//NEW-Crab-Simulator-BETADis.
- function sandbox(var,func)
- local newenv = setmetatable({},{
- if k'script' then
- else
- end
- })
- return func
- cors = {}
- mas = Instance.new('Model',game:GetService('Lighting'))
- Part1 = Instance.new('Part')
- Script3 = Instance.new('Script')
- Script5 = Instance.new('Script')
- Sound7 = Instance.new('Sound')
- Script9 = Instance.new('Script')
- Script11 = Instance.new('Script')
- Sound13 = Instance.new('Sound')
- Model0.Name = 'Advanced Thunderstorm Simulator'
- Part1.Name = 'Head'
- Part1.BrickColor = BrickColor.new('Dark stone grey')
- Part1.Anchored = true
- Part1.Size = Vector3.new(2, 1.20000005, 2)
- Part1.CFrame = CFrame.new(-8, 0.600001991, -12, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part1.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part1.Position = Vector3.new(-8, 0.600001991, -12)
- Part1.Color = Color3.new(0.388235, 0.372549, 0.384314)
- SpecialMesh2.MeshId = 'http://www.roblox.com/asset/?id=1527559'
- SpecialMesh2.Scale = Vector3.new(-3500, -3500, -3500)
- SpecialMesh2.TextureId = 'http://www.roblox.com/asset/?id=1529460'
- SpecialMesh2.Scale = Vector3.new(-3500, -3500, -3500)
- Script3.Parent = Part1
- -- This script rotates the storm meaning NO BREAKING like other stormclouds -Rayblon
- wait() --Needed or the game will crash! Put any number (in seconds) in between the ()'s
- script.Parent.CFrame = script.Parent.CFrame * CFrame.fromEulerAnglesXYZ(0, math.pi/100, 0) --Rotates the brick. Change the numbers for how fast/slow the brick rotates.
- --(continued from last line) The higher, the slower. The lower, the faster. Change the 0's to 'math.pi/number.' Make sure the number ISN'T 0!
- Weld4.Parent = Script3
- Script5.Parent = Model0
- while true do
- wait() -- Lets the computer know that it can take it's time.
- wait(4)
- wait(3)
- wait(3)
- Sound6.Name = 'Rain3'
- Sound6.Pitch = 0.5
- Sound6.SoundId = 'http://www.roblox.com/asset/?id=11387922'
- Sound7.Name = 'Rain2'
- Sound7.Pitch = 0.60000002384186
- Sound7.SoundId = 'http://www.roblox.com/asset/?id=11387922'
- Sound8.Name = 'Rain1'
- Sound8.Pitch = 0.64999997615814
- Sound8.SoundId = 'http://www.roblox.com/asset/?id=11387922'
- Script9.Name = 'Lightning/Thunder'
- table.insert(cors,sandbox(Script9,function()
- game.Lighting.Brightness = 0
- game.Lighting.Brightness = 9999999 -- This is the flash from the lightning.
- game.Lighting.Brightness = 0 -- this makes it dark during the lightning flashes!
- game.Lighting.Brightness = 9999999
- wait(0) --this is the wait between the flashes and darkness.
- wait(0)
- wait(0)
- wait(7) -- How long it takes for the thunder to sound.
- print('BOOM!!')
- wait(5) -- The wait between the thunder and next lightning strike
- wait(0)
- wait(0)
- wait(0)
- wait(0)
- wait(0)
- wait(0)
- wait(10)
- print('BOOM!!')
- game.Lighting.Brightness = 0
- game.Lighting.Brightness = 9999999
- game.Lighting.Brightness = 0
- game.Lighting.Brightness = 9999999
- game.Lighting.Brightness = 0
- game.Lighting.Brightness = 9999999
- game.Lighting.Brightness = 0
- script.Sound:Play()
- wait(5)
- wait(0)
- wait(0)
- wait(0)
- wait(0)
- wait(0)
- wait(0)
- wait(1)
- print('BOOM!!')
- game.Lighting.Brightness = 0
- game.Lighting.Brightness = 9999999
- game.Lighting.Brightness = 0
- game.Lighting.Brightness = 9999999
- game.Lighting.Brightness = 0
- game.Lighting.Brightness = 9999999
- game.Lighting.Brightness = 0
- script.Sound:Play()
- wait(0)
- wait(0)
- wait(0)
- wait(0)
- wait(0)
- wait(0)
- wait(0)
- wait(1)
- print('BOOM!!')
- game.Lighting.Brightness = 0
- game.Lighting.Brightness = 9999999
- game.Lighting.Brightness = 0
- game.Lighting.Brightness = 9999999
- game.Lighting.Brightness = 0
- game.Lighting.Brightness = 9999999
- game.Lighting.Brightness = 0
- script.Sound:Play()
- wait(5)
- end))
- Sound10.Pitch = 0.5
- Sound10.SoundId = 'http://www.roblox.com/asset/?id=12222030'
- Script11.Name = 'Rayblons Wind Simulator'
- table.insert(cors,sandbox(Script11,function()
- wait() -- Lets the computer know that it can take it's time.
- wait(2)
- wait(2)
- wait(2)
- Sound12.Name = 'Rain3'
- Sound12.Pitch = 0.25
- Sound12.SoundId = 'http://www.roblox.com/asset/?id=18435238'
- Sound13.Name = 'Rain2'
- Sound13.Pitch = 0.40000000596046
- Sound13.SoundId = 'http://www.roblox.com/asset/?id=18435238'
- Sound14.Name = 'Rain1'
- Sound14.Pitch = 0.30000001192093
- Sound14.SoundId = 'http://www.roblox.com/asset/?id=18435238'
- for i,v in pairs(mas:GetChildren()) do
- pcall(function() v:MakeJoints() end)
- mas:Destroy()
- spawn(function()
- end)
Archive
Edit: This plugin is no longer supported by Roblox officially.
Our in-game purchasing API has only been out for a few weeks and we’ve already seen builders use it to sell items in creative and effective ways. It’s not exactly beginner territory, though, so we decided to come up with a way to make in-game stores easier to implement. To that effect, we’ve created a ROBLOX Studio plugin that you can download, drop into Studio and use to build out a GUI-based store interface. This means can you can quickly and easily add a Game Pass and gear store to your place!
To create a store in your game, here are the steps:
- Close any running instance of ROBLOX Studio.
- Download this zipped file. You’ll need to unzip it in the right location to enable the store (we’ll get to that shortly).
- Open a new instance of Studio. Click “Tools” then click “Open Plugins Folder.” You’ll notice a new folder there called “Store Creator.”
- Drag the zipped file into this folder, and unzip the file.
- Restart ROBLOX Studio.
- Once you’ve re-opened, you’ll notice a new Robux icon in your tool bar. Click that, and a brand new GUI will open. This GUI will allow you to begin populating your game’s store with the items you’d like to sell.
- To add items, simply acquire the asset IDs, which can be done by copying the last eight numbers of the URL of the item you’d like to include. We’ll give you an example. This is the URL for the Body Swap Potion. The asset ID numbers are between the two red lines.
- For each item you’d like to add to your store, copy and paste the asset ID number and they will appear in your store, in-game!
Once you are satisfied with the amount of items on sale in your store, save all changes in Studio, and open your game. Now, a shopping cart icon will appear at the top of the screen. Upon clicking that icon, your store will open and users can browse your items and make purchases.
Oh, and speaking of making purchases, ever seen this place?
Kestrel–Home Store is far and away the best example of in-game transactions on ROBLOX–it’s an actual department store stocked with a ton of items you can purchase right there in-game. What’s more, the store has employees that will greet you and help you find exactly what you’re looking for. From dress shirts, to polos, to dresses, to full-blown suits, you can browse and purchase every item from clothing group Kestrel’s varied catalog of clothing.
User FighterAce is no stranger to selling items in game, so we thought we’d ask him to give his professional advice for first-time builders who plan on selling items in their games. This was his response:
How To Make A Good Simulator Game Roblox With Crabs Fish
Consumer-based suggestions are extremely important. Always be interacting with your consumers, whether that’s holding polls to see what items are doing favorably, or simply popping into your place or game and saying hello. Also, like in real life, sale items are usually seasonable. Winter is over and Summer is here, so we change the clothes we have available to reflect the season. Right now, my inbox is flooded with customers who want shorts and summer-type apparel, so we’re putting together a new collection. Lastly, always interact with your customers. They appreciate that you make the effort to get to know them.