ServerScript
playerchar.PlayerRootPart.Movement.Velocity = Vector3.new(game.ReplicatedStorage.Database.Characters.Ace.MoveRate.Value,0,0) -- MoveRate is not a valid member of Folder
http://prntscr.com/9kpphb ...Um, yes it is.
halp
ServerScript
playerchar.PlayerRootPart.Movement.Velocity = Vector3.new(game.ReplicatedStorage.Database.Characters.Ace.MoveRate.Value,0,0) -- MoveRate is not a valid member of Folder
http://prntscr.com/9kpphb ...Um, yes it is.
halp
Maybe this will work?
local Rate = game.ReplicatedStorage.Database.Characters.Ace:WaitForChild("MoveRate")
(Rate.Value,0,0)
Says Rate is nil.
Maybe... just maybe...
playerchar:WaitForChild("PlayerRootPart").Movement.Velocity = Vector3.new(game.ReplicatedStorage:WaitForChild("Database"):WaitForChild("Characters"):WaitForChild("Ace"):WaitForChild("MoveRate").Value,0,0)
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
Have you tried using WaitForChild?
Yes. I've confirmed it's not because it's executing before MoveRate is loaded.