of     1   

DJ3KJ
#206467067Thursday, January 05, 2017 10:52 PM GMT

So, I've been trying to make a script that chooses a random math time that uses a vector3 to teleport to the vector3 value. Here is the script so far: while true do wait(2) end wait(math.randomseed(1, 10)) print("IM READY") script.Parent.Position = Vector3.new(0,5,21) wait (1) script.Parent.clone() Then, it only just waits until 10 and moves, or if it finally picks a number, every time I retry it, it just only goes to that number it picks. Please help! -DJ3KJ
DJ3KJ
#206467305Thursday, January 05, 2017 10:56 PM GMT

Can anyone help me?
Untethered
#206471288Thursday, January 05, 2017 11:59 PM GMT

post this on the Scripting forum instead, this one is for technical support
jumpykilldestroy
#206473993Friday, January 06, 2017 12:35 AM GMT

remove the infinite loop or nothing will happen youre using math.randomseed which is for setting the seed of the random number generator if you want to generate a random number then use math.random so that line should be this: wait(math.random(1, 10)) when cloning the scripts parent you should be doing this: script.Parent:Clone() (always use : instead of . when calling a function of an object) also clone is deprecated which is why i replaced it with Clone im assuming you dont want the clone to have no parent either (if you clone an object the clone is automatically parented to nil) so you can do this: copy=script.Parent:Clone() copy.Parent=script.Parent.Parent or do this if you dont want to make a variable for it: script.Parent:Clone().Parent=script.Parent.Parent
DJ3KJ
#206539424Friday, January 06, 2017 10:27 PM GMT

@ WOW
DJ3KJ
#206539489Friday, January 06, 2017 10:28 PM GMT

@Untethered, this is on the scripting forum you retard.
Untethered
#206539590Friday, January 06, 2017 10:29 PM GMT

this is the technical support forum lol
DJ3KJ
#206600134Saturday, January 07, 2017 6:00 PM GMT

Um, no, its not. Please, stop lying to yourself and everyone.
Jadongray
#206604713Saturday, January 07, 2017 7:07 PM GMT

This is the technical support forum lol
cutietoos
#206609665Saturday, January 07, 2017 8:14 PM GMT

This ain't the scripting forum fam
Untethered
#206612899Saturday, January 07, 2017 8:43 PM GMT

okay, now you're just trolling

    of     1