Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RemoteEvent = game.ReplicatedStorage.Mask
- function newHat(player, args)
- if player.Character then
- local Character = player.Character
- if player:GetRankInGroup(3618717) >=1 and player:GetRankInGroup(3618717) <=4 then
- end
- if Character:FindFirstChild("LRMask") then
- Character.LRMask:destroy()
- else
- Character.Humanoid:AddAccessory(game.ServerStorage.Masks.LRMask:Clone())
- end
- end
- end
- function newHat(player, args)
- if player.Character then
- local Character = player.Character
- if player:GetRankInGroup(3618717) >=5 and player:GetRankInGroup(3618717) <=6 then
- end
- if Character:FindFirstChild("HRMask") then
- Character.HRMask:destroy()
- else
- Character.Humanoid:AddAccessory(game.ServerStorage.Masks.HRMask:Clone())
- end
- end
- end
- function newHat(player, args)
- if player.Character then
- local Character = player.Character
- if player:GetRankInGroup(3618717) >=225 then
- end
- if Character:FindFirstChild("LEDMask") then
- Character.LEDMask:destroy()
- else
- Character.Humanoid:AddAccessory(game.ServerStorage.Masks.LEDMask:Clone())
- end
- end
- end
- RemoteEvent.OnServerEvent:Connect(newHat)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement