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

Trying To teleport a player inside a ball, but didn't work?

Asked by 3 years ago
Edited 3 years ago

I tried to teleport a plr/player but it didn't work and it just rolled around but the player wasn't inside it, here's the code:

while true do
    game.Players.PlayerAdded:Connect(function(plr)

        local plrCharacter = game.Workspace[plr.name]

        local SpikeBall = plrCharacter.SpikeBall

        for i, v in pairs() do
        plrCharacter.HumanoidRootPart.Position = SpikeBall.Position
        end     
    end)
    wait(0.3)
end

Also I'm a little bit lazy to really show you all the code and stuff I did, and plus it's night time when I post this. So pls help :P .

0
Does the ball have space inside of it? Like enough space for a player to be in? rabbi99 714 — 3y
0
Also remove line 8 and 10. They have no use. rabbi99 714 — 3y
0
the ball is hollow but the ball has a thin perimeter and you can easily glitch into it... yea. huntergamind 2 — 3y

Answer this question