All pastes #747426 Raw Edit

Stuff

public lua v1 · immutable
·published 2007-10-24 00:48 UTC
rendered paste body
--<Tags>bin = script.Parentbeach = game.Workspace:findFirstChild("Lv1")one = bin.Warp1two = bin.Warp2--</Tags>--<Clones>bb = beach:clone()--</Clones>--<Removal>--beach.Parent = nil--</Removal>--<BringBackMap>function reset(place,clone)	c = game.Workspace:FindfirstChild(place)	if (c==nil) then		copy = clone:clone()		copy.Parent = game.Workspace		copy:MakeJoints()	endend--</BringBackMap>--<Warp>function warp(part,a,b)part.Parent.Torso.CFrame = CFrame.new(Vector3.new(b.Position.x, b.Position.y + 5, b.Position.z))wait(3)db = falseend--</Warp>--<GoTo>gdb = falsefunction goto(poke)	local h = poke.Parent:findFirstChild("Humanoid")	if h~=nil and gdb == false then		gdb = true		local c = script.Parent.Warp1		local d = script.Parent.Warp2		reset(beach,bb)		warp(poke, c, d)		wait(2)		gdb = false	endend--</GoTo>--<ComeBack>function come(poke)	local h = poke.Parent:findFirstChild("Humanoid")	if h~=nil and gdb == false then		gdb = true		local c = script.Parent.Warp1		local d = script.Parent.Warp2		warp(poke, d, c)		wait(2)		gdb = false	endend--</ComeBack>--<Connectors>one.Touched:connect(goto)two.Touched:connect(come)--</Connectors>