Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = game:GetService("Players").LocalPlayer
- function setStat(selected,stat,val)
- local gun = player.Backpack:FindFirstChild(selected)
- local sM = require(gun:FindFirstChild("GunStates"))
- sM[stat] = val
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement