|
| 22 Apr 2016 04:14 PM |
My script which makes a player move forward using vector 3 used to still allow the player to move side to side (A & D) but now doesn't, Any ideas on how to fix it.
- Script :
wait(0.3) -- Configurable Variables
local TypeOfForce = "BodyVelocity" local force = -30
local Player = game.Players.LocalPlayer local Character = Player.Character or Player.CharacterAdded:wait() local Torso = Character:WaitForChild("Torso")
local Force = Instance.new(TypeOfForce,Torso) Force.maxForce = Vector3.new(math.huge,0,math.huge) Force.velocity = -Torso.CFrame.lookVector * force |
|
|
| Report Abuse |
|
|
Smeers
|
  |
| Joined: 14 Feb 2013 |
| Total Posts: 797 |
|
|
| 22 Apr 2016 04:15 PM |
It looks like there's no input code at all to detect when the player presses a key to move around,
so I'm pretty sure I can't help as this is just player, char, and a force. |
|
|
| Report Abuse |
|
|
|
| 22 Apr 2016 04:19 PM |
| I Really need help i don't understand why this prevents the player from moving... |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|