generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: No longer working.

Previous Thread :: Next Thread 
AlternativeDays is not online. AlternativeDays
Joined: 13 Dec 2015
Total Posts: 150
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 is not online. 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
AlternativeDays is not online. AlternativeDays
Joined: 13 Dec 2015
Total Posts: 150
22 Apr 2016 04:19 PM
I Really need help i don't understand why this prevents the player from moving...
Report Abuse
AlternativeDays is not online. AlternativeDays
Joined: 13 Dec 2015
Total Posts: 150
22 Apr 2016 04:24 PM
BMP
Report Abuse
AlternativeDays is not online. AlternativeDays
Joined: 13 Dec 2015
Total Posts: 150
22 Apr 2016 04:55 PM
BUMP
Report Abuse
AlternativeDays is not online. AlternativeDays
Joined: 13 Dec 2015
Total Posts: 150
23 Apr 2016 02:34 AM
BUMP
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image