Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fireuzi = false
- mouse = game.Players.LocalPlayer:GetMouse()
- mouse.KeyDown:Connect(function(key)
- if key == "f" then
- for _,v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
- if (v:IsA("Tool")and v.Name == "Uzi") then
- v.Parent = game.Players.LocalPlayer.Character
- end
- end
- fireuzi = true
- end
- end)
- mouse.KeyUp:Connect(function(key)
- if key == "f" then
- fireuzi = false
- for _,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if (v:IsA("Tool")and v.Name == "Uzi") then
- v:Deactivate()
- v.Parent = game.Players.LocalPlayer.Backpack
- end
- end
- end
- end)
- debounce = false
- game:GetService('RunService').Stepped:connect(function()
- if fireuzi == true and debounce == false then
- debounce = true
- game.Players.LocalPlayer.Character.Uzi.Fire:FireServer(mouse.Hit)
- wait()
- for _,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if (v:IsA("Tool")) then
- v.Parent = game.Players.LocalPlayer.Backpack
- v.Parent = game.Players.LocalPlayer
- v.Parent = game.Players.LocalPlayer.Backpack
- v.Parent = game.Players.LocalPlayer.Character
- end
- end
- debounce = false
- end
- end)
- -- Made by Vortexturize | aidez moi#4192 | Aidez
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement