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 me please

Previous Thread :: Next Thread 
cratriller is not online. cratriller
Joined: 27 Aug 2010
Total Posts: 62
29 Nov 2012 01:57 PM
i'm stuck at this please help


while true do

local q = Instance.new ("Hint", game.Workspace)

for i = 1,15 do
q.Text = "Intermission: ".. 16-i .." "
wait(1)
end
end

function shake()
local camera = game.Workspace.CurrentCamera
for i = 1,35 do
wait()
camera.CoordinateFrame = camera.CoordinateFrame * CFrame.new(2,0,0)
wait()
camera.CoordinateFrame = camera.CoordinateFrame * CFrame.new(-2,0,0)
end
end

while true do
wait(.5)
shake()
end
Report Abuse
cratriller is not online. cratriller
Joined: 27 Aug 2010
Total Posts: 62
29 Nov 2012 02:05 PM
it doesn't start shaking thats the problem
Report Abuse
zoomypie2 is not online. zoomypie2
Joined: 25 Oct 2011
Total Posts: 8050
29 Nov 2012 03:08 PM
"Shake" is not a function.
Report Abuse
thedestroyer115 is not online. thedestroyer115
Joined: 19 Dec 2010
Total Posts: 11546
29 Nov 2012 03:12 PM
I don't know what you are talking about zoomy, he declared the function a few lines up. Lol.

- thedestroyer115
Report Abuse
Monkey727 is not online. Monkey727
Joined: 12 Jan 2009
Total Posts: 969
29 Nov 2012 03:12 PM
Lol.

Possibly to do with the waits being too short?
Report Abuse
thedestroyer115 is not online. thedestroyer115
Joined: 19 Dec 2010
Total Posts: 11546
29 Nov 2012 03:13 PM
local q = Instance.new ("Hint", game.Workspace)

for i = 1,15 do
q.Text = "Intermission: ".. 16-i .." "
wait(1)
end
end

function shake()
local camera = game.Workspace.CurrentCamera
for i = 1,35 do
wait()
camera.CoordinateFrame = camera.CoordinateFrame * CFrame.new(2,0,0)
wait()
camera.CoordinateFrame = camera.CoordinateFrame * CFrame.new(-2,0,0)
end
end

while true do
wait(.5)
shake()
end


You for some reason put while true do at the top of your script.

- thedestroyer115
Report Abuse
iBrilliance is not online. iBrilliance
Joined: 19 Oct 2012
Total Posts: 1032
29 Nov 2012 03:18 PM

function inter()
local q = Instance.new ("Hint", game.Workspace)
for i = 1,15 do
q.Text = "Intermission: ".. 16-i .." "
wait(1)
end
q:Destroy()
end

function shake()
local camera = game.Workspace.CurrentCamera
for i = 1,35 do
wait()
camera.CoordinateFrame = camera.CoordinateFrame * CFrame.new(2,0,0)
wait()
camera.CoordinateFrame = camera.CoordinateFrame * CFrame.new(-2,0,0)
end
end

while true do
inter()
wait(.5)
shake()
end
Report Abuse
cratriller is not online. cratriller
Joined: 27 Aug 2010
Total Posts: 62
30 Nov 2012 09:24 AM
thx it works
Report Abuse
bonkertje123 is not online. bonkertje123
Joined: 26 Dec 2011
Total Posts: 1642
30 Nov 2012 09:33 AM
ow ow...
Report Abuse
iBrilliance is not online. iBrilliance
Joined: 19 Oct 2012
Total Posts: 1032
30 Nov 2012 04:24 PM
You are very welcome! :)
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