#Teleporting Player

15 messages · Page 1 of 1 (latest)

lusty scarab
#

make an invisible square anchored and cancollide false on top of the blue neon

#

that can touch the character

fallow fractal
#

good idea

#

also how would i only anchor linear movement and not angular movement?

fallow fractal
lusty scarab
#

if (parameter of the touch event).Parent:FindFirstChild("Humanoid") then

fallow fractal
#

so this?

local sensor = script.Parent

sensor.Touched:Connect(function(hit)
    if hit.Parent:FindFirstChild("Humanoid") then
        print(hit)
    end
end)
lusty scarab
#

yes

fallow fractal
#

wait does it have 2 be local script

fallow fractal
#

nvm got it workin

#
local sensor = script.Parent

sensor.Touched:Connect(function(hit)
    if hit.Name == "HumanoidRootPart" then
        print(hit)
    end
end)
#

but how would i set position of the humanoidRoot

#

tried this

hit.Position = Vector3.new(88.099, 22.05, -69.5)