Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --By Rufus14
- for i,v in pairs(game.ReplicatedStorage:GetChildren()) do
- if v.Name == "DeagleShoot" or v.Name == "DeagleStart" or v.Name == "DeagleLook" or v.Name == "DeagleSuicide" then
- v:destroy()
- end
- end
- local RunTheServersided = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- --Properties:
- RunTheServersided.Name = "RunTheServersided"
- RunTheServersided.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- Frame.Parent = RunTheServersided
- Frame.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame.BackgroundTransparency = 0.64999997615814
- Frame.Size = UDim2.new(1, 0, 1, 0)
- TextLabel.Parent = Frame
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.Position = UDim2.new(0.427, 0, 0.427, 0)
- TextLabel.Size = UDim2.new(0, 464, 0, 117)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.Text = "Run the serversided script now."
- TextLabel.TextColor3 = Color3.new(1, 1, 1)
- TextLabel.TextSize = 39
- mouse = game.Players.LocalPlayer:GetMouse()
- local deagleshoot = game.ReplicatedStorage:WaitForChild("DeagleShoot")
- local start = game.ReplicatedStorage:WaitForChild("DeagleStart")
- local look = game.ReplicatedStorage:WaitForChild("DeagleLook")
- local deaglekys = game.ReplicatedStorage:WaitForChild("DeagleSuicide")
- RunTheServersided:destroy()
- start:FireServer(game.Players.LocalPlayer)
- function shoot()
- deagleshoot:FireServer(mouse.Hit.p)
- end
- mouse.Button1Down:connect(shoot)
- function die()
- script:Remove()
- end
- game.Players.LocalPlayer.Character.Humanoid.Died:connect(die)
- function lookat()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position,Vector3.new(mouse.Hit.p.x,game.Players.LocalPlayer.Character.HumanoidRootPart.Position.y,mouse.Hit.p.z))
- end
- game:GetService("RunService").RenderStepped:connect(lookat)
- function kys(key)
- key = key:lower()
- if key == "q" then
- deaglekys:FireServer()
- end
- end
- mouse.KeyDown:connect(kys)
- while wait() do
- look:FireServer(mouse.Hit.p, mouse.Origin.p)
- if game.Players.LocalPlayer.Character.Parent == nil then
- script:Remove()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement