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
|
  |
| Joined: 02 May 2009 |
| Total Posts: 7091 |
|
|
| 12 Jul 2012 08:47 PM |
| whoop, something happened. SORRY FOR THE POST |
|
|
| Report Abuse |
|