Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- game.ReplicatedStorage.NVGsToggled.OnServerEvent:Connect(function(plr, equipping)
- local char = plr.Character
- local humanoid = char:WaitForChild("Humanoid")
- if equipping then
- humanoid:AddAccessory(script.NVGs:Clone())
- else
- char.NVGs:Destroy()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement