I might be mistaken but I don’t see how this would work.
Then, what do you suggest I do?
I don’t know anything about scripting, or have the time for it. I’m just a UI/clothing designer.
try this
local players = game.Players.LocalPlayer
local label = script.Parent.Parent.Textlabel
script.Parent.MouseButton1Click(function()
players.Humanoid.WalkSpeed = character.Humanoid.WalkSpeed + 1
label.Text = players.Character.Humanoid.Walkspeed
end)
Your using the client script that is why the speed is not working .
there are too many “end)”. only one is needed
What do you mean “client script”?
I’m confused, could you type out the script and I’ll see if that works?
You have two things named TextLabel you should change the name to something else, that could be the issue.
he means you are using this in a local script. try using remote events that are triggered when you click the button and when the remote event is triggered it changes the player speed by a certain amount
So in the local script try this
local players = game.Players.LocalPlayer
local label = script.Parent.Parent.SpeedNumber
script.Parent.MouseButton1Click(function()
players.Humanoid.WalkSpeed = character.Humanoid.WalkSpeed + 1
label.Text = players.Character.Humanoid.Walkspeed
end)
What text label do you want to use the first one or the second one?
I changed the 2nd one to SpeedNumber, the 1st one is just a title.
By the way, character on line 5 has a line under it.
so you are using the first one or the second one??
Uhh… I’m using “SpeedNumber”.
ok then try this
local players = game.Players.LocalPlayer
local label = script.Parent.Parent.SpeedNumber
script.Parent.MouseButton1Click(function()
players.Humanoid.WalkSpeed = character.Humanoid.WalkSpeed + 1
label.Text = players.Character.Humanoid.Walkspeed
end)
sorry, try this
local players = game.Players.LocalPlayer
local label = script.Parent.Parent.SpeedNumber
script.Parent.MouseButton1Click(function()
players.Humanoid.WalkSpeed = players.Humanoid.WalkSpeed + 1
label.Text = players.Character.Humanoid.Walkspeed
end)
Nope… I’m using a localscript should I change it to serverscript instead?
here is a place i made where you can lower or increase speed (this works so u can’t complain it doesn’t x3) hereugobuddyy.rbxl (31.5 KB)
I’m serious… It’s actually not working…
Can I invite you to the game, for you to help me out?