This is under the button in a local script:
local plr = game.Players.LocalPlayer
repeat wait() until plr.Character
local char = plr.Character
script.Parent.MouseButton1Down:Connect(function(reset)
char:FindFirstChild(“Humanoid”).Health = 0
end)
–This should work.
and is there any board of donation for mobile too?
idk since i dont use free models i made my own donation board for my difficulty chart obby
Edit: its not that super cool just buttons on board which works for mobile
does it work on mobile too? if it works can u send the model i will be so gratefull of u
That script support all devices.
This post is already solved my given script works for all devices too have a good day
it wont bcuz irs mouseebutton not activated
I don’t see you marked as solution tho. Nevermind
what do you mean
Yeah, I saw the marked solution right now sorry