generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Help pl0x. I'm trying to make the earth shake.

Previous Thread :: Next Thread 
zappy00 is not online. zappy00
Joined: 02 May 2009
Total Posts: 7091
12 Jul 2012 08:45 PM
NOTE: The earth shake is down below

--------------------

enabled = true
brick = script.Parent.Parent.creator
me = script.Parent
-----------------------------------------------------------------------
function onClicked()

if not enabled then
return end

enabled = false
me.BrickColor = BrickColor.new("White")
wait(0.1)
me.BrickColor = BrickColor.new("Dark stone grey")
wait(0.1)
me.BrickColor = BrickColor.new("White")
wait(0.1)
me.BrickColor = BrickColor.new("Dark stone grey")
wait(0.1)
me.BrickColor = BrickColor.new("White")
wait(0.1)
me.BrickColor = BrickColor.new("Dark stone grey")
wait(1)
for i=1, 20 do
me.CFrame = me.CFrame * CFrame.new(0,0.5,0)
wait(0.01)
end
wait(0.5)
script.Parent.turn.Disabled = false
local fire = Instance.new("Fire", script.Parent)
fire.Heat = 0
fire.Size = 100
wait(0.1)
fire.Size = 50
wait(0.1)
fire.Size = 25
wait(0.1)
fire.Size = 20
wait(0.1)
fire.Size = 18
wait(0.1)
fire.Size = 11
wait(0.1)
fire.Size = 10
wait(2)
for i,b in pairs(script.Parent.Parent.cube:GetChildren())do
b.Anchored = false
b.CanCollide = false
end
script.Parent.Parent.cube:BreakJoints()
wait(0.1)
brick.Fire.Enabled = true
brick.BodyPosition.position = script.Parent.Parent.MAGNET.Position
brick.BodyAngularVelocity.angularvelocity = Vector3.new(2,4,2)
wait(0.1)
script.Parent.Parent.lid.CanCollide = false
wait(2)
for i,v in pairs(script.Parent.Parent.Parent:GetChildren())do
if v:IsA("Part") then
v.CFrame = v.CFrame * CFrame.new(0.1,0,0)
wait(0.1)
v.CFrame = v.CFrame * CFrame.new(0,0,0.1)
wait(0.1)
v.CFrame = v.CFrame * CFrame.new(0,0.1,0)
wait(0.1)
v.CFrame = v.CFrame * CFrame.new(0,-0.1,0)
wait(0.1)
v.CFrame = v.CFrame * CFrame.new(0,0,-0.1)
wait(0.1)
v.CFrame = v.CFrame * CFrame.new(-0.1,0,0)

end
end
end

script.Parent.ClickDetector.MouseClick:connect(onClicked)
-----------------------
the Cframe part.
When I click "me", nothing happens. NOTHING at all. Even the output won't say anything about it. (maybe I didn't give him a cookie for correcting my past problems.)


Anyone help?
Report Abuse
zappy00 is not online. zappy00
Joined: 02 May 2009
Total Posts: 7091
12 Jul 2012 08:47 PM
whoop, something happened. SORRY FOR THE POST
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image