Money to Walkspeed script not working!

Yes, I do have a script that adds money once clicked on a brick.

The script I gave works. I just tested it.

Here is the video.

Question, what is the script you used for the local script? This is very helpful.

1 Like

This is what he used

for the local script

-- local script 

local event = game.ReplicatedStorage. <-- remote  event name here

script.Parent.MouseButton1Click:Connect(function()
	event:FireServer()
end)
1 Like

Here is the place file, I keep this place uncopylocked also.
PlaceFor.rbxl (32.6 KB)

1 Like

i think this should work

local Speed = game.StarterPlayer.Humanoid.WalkSpeed

local money = game.ServerScriptService.PlaceHolder.leaderstats.Coins

money.Value:GetPropertyChangedSignal("IntValue"):Connect(function()
       if money.Value >= 100 then
       local multy = math.floor(Money.Value / 100)
       
Speed = multy * 60

      end
end)

I might just use your script you made because this is just getting over complicated.

Whitch scripts are getting over complicated? im just wondering

You are clearly just dipping your toe in scripting. If you would like more help I have a Youtube and discord where I can teach you the basics.

Youtube: Samjay22 - YouTube

Discord: Programmer | Cliffon#2633

Its nice to teach people new things, after all there are people who make a living.

I agree, I started a year ago. I watched alvin blox for months and I still have no clue what i’m doing. I’m glad this forum exist because I would be stuck on literally everything. I’m glad the script works. Thank you for helping me! :smile:

Alvin_blox is really not the best, nor is devking. They are decent but they lack the fundamental principles you learn with real job experience.

If you would like to watch them more power to you, however, I would suggest me, or the other old 2009 scripting channels.

Or you can add me on discord and I can help you there.

I actually watch SteadyOn, so this works out! Thanks for all the help man.

1 Like