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 4 years ago
Edited 4 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 — 4y
1
It does not kill the player as you are using a local script and it is not replicating to the server. Prestory 1395 — 4y
0
adwagdagydywadwada! Fad99 286 — 4y

2 answers

Log in to vote
0
Answered by 4 years ago

Use a server script!

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

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

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

Answer this question