Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Inf Health UI? Thanks

Asked by 3 years ago

Hey, can anyone help make me a INF health GUI Button so when the play clicks on it the players obtains inf health.

Heres what I used already.

game.Workspace.Players.LocalPlayers.Humanoid.Health = 999999
0
send a remote to server to make health 999999999999999999999999 sayer80 457 — 3y
0
I don't want to add remote servers, and I just want to make it at that certain health. Akorede09broth 9 — 3y
0
but. is it working right? Natano2018 -5 — 3y
0
You need to use RemoteEvents or use a ServerScript, otherwise it will not work. OhManXDXD 445 — 3y
View all comments (6 more)
0
no it isn't, when i press it doesn't work Akorede09broth 9 — 3y
0
You need the Server to set the Humanoid's Health, otherwise it won't replicate (register). You'll have to set up a RemoteEvent in ReplicatedStorage, this will allow both the Server and Client to access this Instance. Ziffixture 6913 — 3y
0
Fire the RemoteEvent on your 'MouseButton1Click' signal of your GUIButton Object. Have the Server then use the provided Client-fired's Player Object parameter to reach its respective Humanoid, and proceed from there. Ziffixture 6913 — 3y
0
The 'Players' Service is apart of the data-model 'game', not of WorldRoot. Ziffixture 6913 — 3y
0
The 'LocalPlayer' pointer was referenced incorrectly, same goes for the Humanoid. Ziffixture 6913 — 3y
0
thanks. Akorede09broth 9 — 3y

Answer this question