The code is here v

local Character = game.Players.LocalPlayer.Character--Variable


function leftClick()--Click Function
	print("Teleport!")
	Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(0, 0, 335))--Teleports the player!
--I need my sword giver right here!
	
end

script.Parent.MouseButton1Click:Connect(leftClick)--Click function



3 comments

0

nondescriptive

0

also don't use local scripts

0

ok