Advertisement
Tinybang_Studio

Untitled

Oct 30th, 2019
344
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. local player = game:GetService("Players").LocalPlayer
  2. function setStat(selected,stat,val)
  3. local gun = player.Backpack:FindFirstChild(selected)
  4. local sM = require(gun:FindFirstChild("GunStates"))
  5. sM[stat] = val
  6. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement