All pastes #619553 Raw Edit

Anonymous

public lua v1 · immutable
·published 2007-07-14 20:52 UTC
rendered paste body
--- SonOfSevenlessprint("Teleport Spell Loaded")enabled = truetool = script.Parentfunction teleportPlayer(pos)	local player = game.Players.LocalPlayer	if player == nil or player.Character == nil then return end	local char = player.Character.Torso	sound = Instance.new("Sound")	sound.SoundId = "rbxasset://sounds\\HalloweenLightning.wav"	sound.Parent = char	sound.PlayOnRemove = true	sound:remove()	char.CFrame = CFrame.new(Vector3.new(pos.x, pos.y + 7, pos.z))	sound = Instance.new("Sound")	sound.SoundId = "rbxasset://sounds\\HalloweenThunder.wav"	sound.Parent = char	sound.PlayOnRemove = true	sound:remove()endfunction onButton1Down(mouse)	if not enabled then		return	end	local player = game.Players.LocalPlayer	if player == nil then return end		enabled = false	mouse.Icon = "rbxasset://textures\\ArrowFarCursor.png"	-- find the best cf	local cf = mouse.Hit	local v = cf.lookVector	teleportPlayer(cf.p)	wait (1)	mouse.Icon = "rbxasset://textures\\ArrowCursor.png"	enabled = trueendfunction onSelected(mouse)	mouse.Icon = "rbxasset://textures\\ArrowCursor.png"	mouse.Button1Down:connect(function() onButton1Down(mouse) end)endtool.Equpped:connect(onSelected)