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

Im new to scripting and I want to make a magic game can you help me?

Asked by 3 years ago

i dont know how to script telekinesis for my game could you help me?

1
no, i will not help u Xyternal 247 — 3y
0
stage guy, ur supposed to turn z.leaderstats.Points.Value into the path to your leaderboard... Xyternal 247 — 3y

1 answer

Log in to vote
0
Answered by
Xyternal 247 Moderation Voter
3 years ago
Edited 3 years ago
function hit(hit)
local z = hit.Parent:FindFirstChild("Humanoid") 
local b = z.leaderstats.Points.Value
    if b = 500 then


 if z~=nil then
 z:MoveTo(script.Parent.Parent.Tele2.Position) 
script.Parent.Parent.Tele2.Script.Disabled = true 
wait(5)

else

print("level up dude")

end

end
0
It didn't work TheStageGuyYT 19 — 3y
0
wait WHATTTTTTTTTTTTTTT Xyternal 247 — 3y
Ad

Answer this question