Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
3

Can someone help?

Asked by 10 years ago
while wait() do
wait(1)
script.Parent.Cframe = Cframe.new(math.random(),math.random(),math.Random())
end

thanks if u help

1
I think it would be CFrame=CFrame.new()   Capitolize the F. It also may be =Vector3.new() Tempestatem 884 — 10y
1
thanks but i got a answer Olaf1998 40 — 10y

1 answer

Log in to vote
3
Answered by 10 years ago

Hmm I am expecting you want it to return to a random Position? Well then..

while wait() do
wait(1)
script.Parent.CFrame = CFrame.new(math.random(1,2500),math.random(1,2500),math.random(1,2500))
end

Have fun scripting!

0
thanks so much u r awesome!! Olaf1998 40 — 10y
0
You're welcome. fireboltofdeath 635 — 10y
Ad

Answer this question