Yes, I do have a script that adds money once clicked on a brick.
The script I gave works. I just tested it.
Question, what is the script you used for the local script? This is very helpful.
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)
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!
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.