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

Help , this script doesnt kill the player?

Asked by 5 years ago
Edited 5 years ago
local Admission = script.Parent
local Player = game.Players.LocalPlayer
local humanoid = Player.Character:WaitForChild("Humanoid")
local Players = game.Players
Admission.MouseButton1Click:Connect(function()
if Player:GetRankInGroup(5019998) >= 150 then
  Player.Team = game.Teams.Admission
  humanoid.Health = 0
else
  print("no")
end

end)

help , i put it in a localscript btw

1
Bruh, PUT IT IN NORMAL SCRIPT adwagdagydywadwada FixRobloxz 61 — 5y
1
It does not kill the player as you are using a local script and it is not replicating to the server. Prestory 1395 — 5y
0
adwagdagydywadwada! Fad99 286 — 5y

2 answers

Log in to vote
0
Answered by 5 years ago

Use a server script!

0
Vague but yea. SoftlockedUnderZero 668 — 5y
0
thanks Hi_ImNoob1 53 — 5y
Ad
Log in to vote
0
Answered by 5 years ago

If this was still not answered, I´d use humanoid:BreakJoints()

0
That was meant to be a comment. Sk3pticalR0BL0X 33 — 5y

Answer this question