Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plr = game:GetService('Players').LocalPlayer
- local team = game:GetService("ReplicatedStorage").Events.JoinTeam
- local data = game:GetService("Workspace").Status
- local v_u = game:GetService('VirtualUser')
- local function win_check()
- if data.TWins.Value > data.CTWins.Value and plr.Team ~= 'Terrorists' then
- team:FireServer('T')
- elseif plr.Team ~= 'Counter-Terrorists' then
- team:FireServer('CT')
- end
- end
- plr.Idled:Connect(function()
- v_u:CaptureController()
- v_u:ClickButton2(Vector2.new())
- end)
- game:GetService('RunService'):BindToRenderStep('win_check',190,win_check)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement