Professional Documents
Culture Documents
loadstring(game:HttpGet("https://raw.githubusercontent.com/RegularVynixu/
Utilities/main/Functions.lua"))()
local debrisService = game:GetService("Debris")
local UserInputService = game:GetService("UserInputService")
local runservice = game:GetService("RunService")
local scopeObject
local camera = workspace.CurrentCamera
for _,deivid in ipairs(SCARH:GetDescendants()) do
if deivid.Name == "Reticle" then
scopeObject = deivid -- im so pro -divid
break
end
end
isTweening = false
end
bulletClone.Touched:Connect(function(part)
local Model = part:FindFirstAncestorWhichIsA("Model")
if Model ~= nil and Model:GetAttribute("IsCustomEntity") == true then
Model:Destroy()
end
end)
end
SCARH.Activated:Connect(function()
while UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) do
task.wait(0.09)
spawn(function()
shot:Play()
tween()
shootBullet()
SCARH.Flash.Light.Enabled = true
SCARH.Flash.lite.Enabled = true
task.wait(0.1)
SCARH.Flash.lite.Enabled = false
SCARH.Flash.Light.Enabled = false
end)
end
end)
local rsconnection
local didTween = false
rsconnection = runservice.RenderStepped:Connect(function()
if SCARH ~= nil then
if isPressedRight then
print(didTween)
if didTween == false then
didTween = true
local tween = tweenService:Create(camera,TweenInfo.new(0.5),{
["CFrame"] = scopeObject.CFrame * CFrame.new(0,0,-0.6)
}):Play()
wait(0.5)
else
camera.CFrame = scopeObject.CFrame
end
end
if not isPressedRight then
if didTween == true then
local tween = tweenService:Create(camera,TweenInfo.new(0.5),{
["CFrame"] = Game.Players.LocalPlayer.Character.Head.CFrame
}):Play()
wait(0.5)
didTween = false
end
end
else
rsconnection:Disconnect()
return
end
end)
UserInputService.InputBegan:Connect(function(input)
-- no ballers? :c
if SCARH.Parent == game.Players.LocalPlayer.Character then
if input.KeyCode == Enum.KeyCode.Q then
print("l")
local MagClone = SCARH.Mag:Clone()
MagClone.Parent = workspace
MagClone.CFrame = SCARH.Mag.CFrame
MagClone.ManualWeld:Destroy()
Magclone.CanCollide = true
task.wait(10)
MagClone:Destroy()
end
end
end)