of     1   

cyrus1222
#16014423Thursday, October 29, 2009 9:51 PM GMT

the problem parts... n.Chatted:connect(function(msg) if string.sub(msg,1,5) == "down-" then Use = true I.CFrame = I.CFrame - Vector3.new(0,string.sub(msg,6),0) wait(3) Use = false end if string.sub(msg,1,6) == "speed-" then if tonumber(string.sub(msg,6)) then n.Character.Humanoid.WalkSpeed = tonumber(string.sub(msg,6)) end end if string.sub(msg,1,5) == "mode-" then if string.sub(msg,6) == "teleport" then mode = "teleport" elseif string.sub(msg,6) == "kill" then mode = "kill" elseif string.sub(msg,6) == "ban" then mode = "Ban" elseif string.sub(msg,6) == "delete" then mode = "delete" end print(mode) end end) II.Touched:connect(function(h) if mode == "teleport" then if h.Parent:findFirstChild("Humanoid") ~= nil then h.Parent:MoveTo(I.Position) end elseif mode == "kill" then if h.Parent:findFirstChild("Humanoid") ~= nil then h.Parent.Humanoid.Health = 0 end elseif mode == "Ban" then if h.Parent:findFirstChild("Humanoid") ~= nil then h.Parent:remove() end elseif mode == "delete" then if h.Name ~= "Base" then h:remove() end end print(mode) end) FULL SCRIPT: n = game.Players["cyrus1222"] mode = "teleport" Modle = Instance.new("Model") M = Instance.new("CylinderMesh") mode = "teleport" MM = M:clone() I = Instance.new("Part") II = Instance.new("Part") I.Parent = Modle Modle.Parent = Workspace II.Parent = Modle I.BrickColor = BrickColor.new"Bright orange" II.BrickColor = BrickColor.new"Lime green" II.Transparency = .25 Use = false while true do if Use == false then I.Size = Vector3.new(n.Character.Humanoid.WalkSpeed*2,6,n.Character.Humanoid.WalkSpeed*2) II.Size = Vector3.new(n.Character.Humanoid.WalkSpeed*2,1000,n.Character.Humanoid.WalkSpeed*2) I.CFrame = n.Character.Torso.CFrame + Vector3.new(0,-5.9,0) II.CFrame = I.CFrame - Vector3.new(0,500,0) II.CanCollide = false M.Parent = I MM.Parent = II I.Anchored = true II.Anchored = true end wait(.05) end n.Chatted:connect(function(msg) if string.sub(msg,1,5) == "down-" then Use = true I.CFrame = I.CFrame - Vector3.new(0,string.sub(msg,6),0) wait(3) Use = false end if string.sub(msg,1,6) == "speed-" then if tonumber(string.sub(msg,6)) then n.Character.Humanoid.WalkSpeed = tonumber(string.sub(msg,6)) end end if string.sub(msg,1,5) == "mode-" then if string.sub(msg,6) == "teleport" then mode = "teleport" elseif string.sub(msg,6) == "kill" then mode = "kill" elseif string.sub(msg,6) == "ban" then mode = "Ban" elseif string.sub(msg,6) == "delete" then mode = "delete" end print(mode) end end) II.Touched:connect(function(h) if mode == "teleport" then if h.Parent:findFirstChild("Humanoid") ~= nil then h.Parent:MoveTo(I.Position) end elseif mode == "kill" then if h.Parent:findFirstChild("Humanoid") ~= nil then h.Parent.Humanoid.Health = 0 end elseif mode == "Ban" then if h.Parent:findFirstChild("Humanoid") ~= nil then h.Parent:remove() end elseif mode == "delete" then if h.Name ~= "Base" then h:remove() end end print(mode) end) this is meant to happen in game(EX: in a scriptBuilder) so It doesn't need on player entered...
moneypoll9317
#16014575Thursday, October 29, 2009 9:55 PM GMT

needs onPlayerentered
cyrus1222
#16029118Friday, October 30, 2009 2:56 AM GMT

I SAID IT'S MEANT FOR A SCRIPTBUILDER!
moneypoll9317
#16032905Friday, October 30, 2009 11:48 AM GMT

oh lol

    of     1