#Teleport script help (idk NOTHING about scripts)

12 messages · Page 1 of 1 (latest)

eternal musk
#
local part1 = script.Parent -- touch part
local part2 = workspace.Spawns.Shop -- Part to teleport

part1.Touched:Connect(function(hit)
    if hit and hit.Parent:FindFirstChild("Humanoid") then
        local char = hit.Parent
        char:PivotTo(part2.CFrame)
    end
end)
eternal musk
#

change this local part2 = workspace.Spawns.Shop to your part2

silent steepleBOT
#

studio** You are now Level 2! **studio

eternal musk
#

show me explorer

#

where is part2

#

it's in workspace?

#

then local part2 = workspace.part2

#

yes

#

prob

#
local part = script.Parent
part.Velocity = part.CFrame.LookVector * 10 -- 10 is speed
#

idk if it works

#

try -10