|
| 22 Apr 2014 03:57 PM |
Code:
arge = game.Players.LocalPlayer.Character:Clone()
arge.Parent = game.Workspace
game.Workspace.CurrentCamera.CameraSubject = arge.Humanoid
arge.Humanoid.MaxHealth = math.huge
arge.Humanoid.Health = math.huge
Instance.new ('Forcefield',arge.Torso)
ChatService = game:GetService'Chat'
function NilMovement() Mouse.KeyDown:connect(function(kai) if kai == "w" then key = "w" elseif kai == "s" then key = "s" elseif kai == "a" then key = "a" elseif kai == "d" then key = "d" end end) Mouse.KeyUp:connect(function(kai) if kai == "w" then key = nil elseif kai == "s" then key = nil elseif kai == "a" then key = nil elseif kai == "d" then key = nil end end) coroutine.wrap(function() while wait() do if arge == nil then break end if key == "w" then if arge == nil then break end arge.Torso.CFrame = arge.Torso.CFrame * CFrame.new(0,0,-0.5) elseif key == "s" then if arge == nil then break end arge.Torso.CFrame = arge.Torso.CFrame * CFrame.new(0,0,0.5) elseif key == "a" then if arge == nil then break end arge.Torso.CFrame = arge.Torso.CFrame * CFrame.new(-0.5,0,0) arge.Torso.CFrame = arge.Torso.CFrame * CFrame.Angles(0,0.5,0) elseif key == "d" then if arge == nil then break end arge.Torso.CFrame = arge.Torso.CFrame * CFrame.new(0.5,0,0) arge.Torso.CFrame = arge.Torso.CFrame * CFrame.Angles(0,-0.5,0) end end end)() end ChatService:connect(function(msg) --> I'm not sure exactly what i do, but i want red chat, rather than blue or green. end) |
|
|
| Report Abuse |
|
|
|
| 22 Apr 2014 03:57 PM |
Oh wait, sorry, that was a typo,
arge = game.Players.LocalPlayer.Character:Clone()
arge.Parent = game.Workspace
game.Workspace.CurrentCamera.CameraSubject = arge.Humanoid
arge.Humanoid.MaxHealth = math.huge
arge.Humanoid.Health = math.huge
Instance.new ('Forcefield',arge.Torso)
ChatService = game:GetService'Chat'
function NilMovement() Mouse.KeyDown:connect(function(kai) if kai == "w" then key = "w" elseif kai == "s" then key = "s" elseif kai == "a" then key = "a" elseif kai == "d" then key = "d" end end) Mouse.KeyUp:connect(function(kai) if kai == "w" then key = nil elseif kai == "s" then key = nil elseif kai == "a" then key = nil elseif kai == "d" then key = nil end end) coroutine.wrap(function() while wait() do if arge == nil then break end if key == "w" then if arge == nil then break end arge.Torso.CFrame = arge.Torso.CFrame * CFrame.new(0,0,-0.5) elseif key == "s" then if arge == nil then break end arge.Torso.CFrame = arge.Torso.CFrame * CFrame.new(0,0,0.5) elseif key == "a" then if arge == nil then break end arge.Torso.CFrame = arge.Torso.CFrame * CFrame.new(-0.5,0,0) arge.Torso.CFrame = arge.Torso.CFrame * CFrame.Angles(0,0.5,0) elseif key == "d" then if arge == nil then break end arge.Torso.CFrame = arge.Torso.CFrame * CFrame.new(0.5,0,0) arge.Torso.CFrame = arge.Torso.CFrame * CFrame.Angles(0,-0.5,0) end end end)() end ChatService:connect(function(msg) --> I'm not sure exactly what i do, but i want red chat, rather than blue or green. end) game.Players.LocalPlayer.Parent = nil |
|
|
| Report Abuse |
|
|
| |
|
|
| 22 Apr 2014 04:12 PM |
| tl;dr plus dont bump so soon |
|
|
| Report Abuse |
|
|
|
| 22 Apr 2014 04:13 PM |
| so SOON? you help others in 2 min! |
|
|
| Report Abuse |
|
|
|
| 22 Apr 2014 04:15 PM |
| yes, but at least wait for your thread to be on the bottom |
|
|
| Report Abuse |
|
|
| |
|