Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait()
- local repStorage = game:GetService("ReplicatedStorage")
- local Player = game:GetService("Players").LocalPlayer
- local Mouse = Player:GetMouse()
- local UIS = game:GetService("UserInputService")
- local Main = repStorage:WaitForChild("Main")
- UIS.InputBegan:Connect(function(Input, GUIProcessed)
- if not GUIProcessed and Input.UserInputType == Enum.UserInputType.MouseButton1 then
- Main:FireServer("shoot", Mouse.Target)
- end
- if not GUIProcessed and Input.KeyCode == Enum.KeyCode.E then
- Main:FireServer("respawn")
- end
- if not GUIProcessed and Input.KeyCode == Enum.KeyCode.Q then
- Main:FireServer("mad")
- end
- if not GUIProcessed and Input.KeyCode == Enum.KeyCode.G then
- Main:FireServer("sans")
- end
- if not GUIProcessed and Input.KeyCode == Enum.KeyCode.F then
- print("Firing F")
- Main:FireServer("bone")
- end
- end)
- UIS.InputEnded:Connect(function(Input, GUIProcessed)
- if not GUIProcessed and Input.KeyCode == Enum.KeyCode.F then
- print("Firing un F")
- Main:FireServer("unbone")
- end
- end)
- while wait() do
- local char = workspace:WaitForChild("SouljaBoy")
- if char:FindFirstChild("Head") == nil then
- else
- workspace.CurrentCamera.CameraSubject = char.Head
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement