|
| 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
|
  |
| 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
|
  |
| 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
|
  |
| 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 |
|
|
| |
|
| |
|
|
| 11 Feb 2016 10:15 AM |
| It works with out the wait() ? |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2016 12:36 PM |
@cow
Yes, it does. But when i add wait(22) it doesn't. |
|
|
| Report Abuse |
|
|
| |
|
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 |
|
|
|
| 11 Feb 2016 12:48 PM |
@Ve
I want it to wait 22 seconds to teleport the zombies, not after. |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2016 12:49 PM |
| Sorry about the typo in the post, it should've said before not after. |
|
|
| Report Abuse |
|
|
Vemeric
|
  |
| Joined: 05 Dec 2012 |
| Total Posts: 462 |
|
| |
|
|
| 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 |
|
|
| |
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|