Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- SETTINGS
- local reload = 9
- local name = "Fanaf freddy"
- local remainings = {} -- like the youtuber
- -- SCRIPT
- -- nothing special happens yet
- local debounce = true
- function Use(plr, device, CS, CWS)
- if debounce then
- debounce = false
- local target = nil
- if CS("GetStat", "NewAim") == 1 then
- target = plr:GetMouse().hit.lookVector * 15
- else
- target = plr.Character.Torso.CFrame.lookVector * 15
- end
- -- now something special happens
- local fetched = plr.Character.CountUnboost.Value
- if not remainings[fetched] then
- remainings[fetched] = 6
- end
- if remainings[fetched] > 0 then
- CWS("RunWeapon", name, target, remainings[fetched])
- -- CWS("RunWeapon", name, target)
- -- in case it doesnt need the extra param
- remainings[fetched] -= 1
- end
- -- back to regular stuff now
- task.wait(0.5)
- debounce = true
- end
- end
- return {Use, reload}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement