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 » Scripters
Home Search
 

Re: Script problem

Previous Thread :: Next Thread 
ISKillerZ123 is not online. ISKillerZ123
Joined: 12 Feb 2015
Total Posts: 20
11 Feb 2016 09:26 AM
I'm trying to make it to wait 22 seconds after teleporting the zombies in their positions. They don't work and i would like you to help me :)

Here it is:

wait(22)
game.Workspace.Zombie:MoveTo(Vector3.new(-6.8, 12.537, -82))

game.Workspace.Zombie1:MoveTo(Vector3.new(-2.28, 12.537, -93.75))

game.Workspace.Zombie2:MoveTo(Vector3.new(-6.8, 12.537, -99.21))
Report Abuse
Mitko0o1 is not online. Mitko0o1
Joined: 30 Nov 2010
Total Posts: 5725
11 Feb 2016 09:30 AM
The script has no errors, but you need more waits:

wait(22)
game.Workspace.Zombie:MoveTo(Vector3.new(-6.8, 12.537, -82))
wait(22)
game.Workspace.Zombie1:MoveTo(Vector3.new(-2.28, 12.537, -93.75))
wait(22)
game.Workspace.Zombie2:MoveTo(Vector3.new(-6.8, 12.537, -99.21))
Report Abuse
Mitko0o1 is not online. Mitko0o1
Joined: 30 Nov 2010
Total Posts: 5725
11 Feb 2016 09:32 AM
Oh they are different zombies... Then I have no idea why it doesn't work.
Report Abuse
Infocus is not online. Infocus
Joined: 28 Apr 2011
Total Posts: 8022
11 Feb 2016 09:32 AM
Try increasing the Y axis.

Instead of 12.5, try adding 5 to it.
It may just be falling off the map
Report Abuse
ISKillerZ123 is not online. ISKillerZ123
Joined: 12 Feb 2015
Total Posts: 20
11 Feb 2016 09:36 AM
Didn't work :(
Report Abuse
RobloxStar4536 is not online. RobloxStar4536
Joined: 16 Sep 2013
Total Posts: 313
11 Feb 2016 09:55 AM
pls help!!
Report Abuse
cowsoncows is online. cowsoncows
Joined: 11 Oct 2013
Total Posts: 2522
11 Feb 2016 10:15 AM
It works with out the wait() ?
Report Abuse
ISKillerZ123 is not online. ISKillerZ123
Joined: 12 Feb 2015
Total Posts: 20
11 Feb 2016 12:36 PM
@cow

Yes, it does. But when i add wait(22) it doesn't.
Report Abuse
ISKillerZ123 is not online. ISKillerZ123
Joined: 12 Feb 2015
Total Posts: 20
11 Feb 2016 12:41 PM
bump
Report Abuse
Vemeric is not online. Vemeric
Joined: 05 Dec 2012
Total Posts: 462
11 Feb 2016 12:42 PM
lol if you want it to wait 22 seconds AFTER the zombies spawn, put the wait at the END. cos with ur script it will take 22 seconds to spawn the zombies.
Report Abuse
ISKillerZ123 is not online. ISKillerZ123
Joined: 12 Feb 2015
Total Posts: 20
11 Feb 2016 12:48 PM
@Ve

I want it to wait 22 seconds to teleport the zombies, not after.
Report Abuse
ISKillerZ123 is not online. ISKillerZ123
Joined: 12 Feb 2015
Total Posts: 20
11 Feb 2016 12:49 PM
Sorry about the typo in the post, it should've said before not after.
Report Abuse
Vemeric is not online. Vemeric
Joined: 05 Dec 2012
Total Posts: 462
11 Feb 2016 12:51 PM
okay whats the output
Report Abuse
ISKillerZ123 is not online. ISKillerZ123
Joined: 12 Feb 2015
Total Posts: 20
11 Feb 2016 12:53 PM
HTTP 403 (HTTP/1.1 403 Forbidden): - path: user/multi-following-exists,
json: {"otherUserIds":[48609885],"userId":48609885}
ServerSocialScript Loaded
19:53:35.094 - Torso is not a valid member of Model
19:53:35.095 - Script 'Workspace.Zombie2.Follow', Line 29
19:53:35.095 - Stack End
19:53:35.112 - Torso is not a valid member of Model
19:53:35.112 - Script 'Workspace.Zombie2.Script', Line 39
19:53:35.113 - Stack End
19:53:35.113 - Torso is not a valid member of Model
19:53:35.114 - Script 'Workspace.Zombie.Follow', Line 29
19:53:35.115 - Stack End
19:53:35.130 - Torso is not a valid member of Model
19:53:35.131 - Script 'Workspace.Zombie.Script', Line 39
19:53:35.131 - Stack End
19:53:35.147 - Torso is not a valid member of Model
19:53:35.149 - Script 'Workspace.Zombie1.Follow', Line 29
19:53:35.150 - Stack End
19:53:35.150 - Torso is not a valid member of Model
19:53:35.151 - Script 'Workspace.Zombie1.Script', Line 39
19:53:35.151 - Stack End
Report Abuse
ISKillerZ123 is not online. ISKillerZ123
Joined: 12 Feb 2015
Total Posts: 20
11 Feb 2016 01:34 PM
bump
Report Abuse
cowsoncows is online. cowsoncows
Joined: 11 Oct 2013
Total Posts: 2522
11 Feb 2016 03:06 PM
Try startin with wait(1) to see if it's the actual wait function that's messing the script up or if it is the interval. Idk I'm just throwing anything out to try and help :P
Report Abuse
ISKillerZ123 is not online. ISKillerZ123
Joined: 12 Feb 2015
Total Posts: 20
12 Feb 2016 07:28 AM
@cow

With wait(1) all of the zombies teleport to their position, but when 22 they don't.
Report Abuse
ISKillerZ123 is not online. ISKillerZ123
Joined: 12 Feb 2015
Total Posts: 20
12 Feb 2016 07:30 AM
I guess the interval isn't working. But i really need it to be 22 seconds after the message is displaying the text "Look out! Zombies!". I'll try to lower it down a little bit.
Report Abuse
ISKillerZ123 is not online. ISKillerZ123
Joined: 12 Feb 2015
Total Posts: 20
12 Feb 2016 07:38 AM
The zombies only teleport if i put wait(1) and wait(2) but if i increase the number is doesn't. I don't know how to fix this. Any help?
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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