Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- game.Players.LocalPlayer.Character.Humanoid.Name = 1
- local l = game.Players.LocalPlayer.Character["1"]:Clone()
- epic = false
- function onKeyPress(inputObject, gameProcessedEvent)
- if inputObject.KeyCode == Enum.KeyCode.Minus then
- epic = true
- wait(0.1)
- epic = false
- end
- end
- game:GetService("UserInputService").InputBegan:connect(onKeyPress)
- function onKeyPresss(inputObject, gameProcessedEvent)
- if inputObject.KeyCode == Enum.KeyCode.Equals then
- local prt=Instance.new("Model", workspace);
- Instance.new("Part", prt).Name="Torso";
- Instance.new("Part", prt).Name="Head";
- Instance.new("Humanoid", prt).Name="Humanoid";
- game.Players.LocalPlayer.Character=prt
- end
- end
- game:GetService("UserInputService").InputBegan:connect(onKeyPresss)
- l.Parent = game.Players.LocalPlayer.Character
- l.Name = "Humanoid"
- wait(0.1)
- game.Players.LocalPlayer.Character["1"]:Destroy()
- game.Workspace.CurrentCamera.CameraSubject =
- game.Players.LocalPlayer.Character
- game.Players.LocalPlayer.Character.Animate.Disabled = true
- wait(0.1)
- game.Players.LocalPlayer.Character.Animate.Disabled = false
- game.Players.LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
- wait(0,5)
- while wait(0,1) do
- for _,v in pairs(game.Workspace.Mobs:GetDescendants()) do
- if v:IsA("Model") and v:FindFirstChild("HumanoidRootPart") then
- repeat
- wait(0,1)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame * CFrame.new(0,0,3)
- game:GetService("ReplicatedStorage").RemoteEvents.PunchRemote:FireServer()
- until v.Humanoid.Health == 0 or epic == true
- end
- end
- end
Add Comment
Please, Sign In to add comment