Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ME = game:GetService("Players").LocalPlayer
- ME.Character["Local Ragdoll"].Disabled = true
- local Push = Instance.new("Tool", ME.Backpack)
- Push.Name = "Push"
- Push.RequiresHandle = false
- Push.TextureId = "rbxassetid://2356300816"
- Push.ToolTip = "Push"
- Push.Activated:Connect(function()
- spawn(function()
- if ME.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
- local pushAnim = Instance.new("Animation")
- pushAnim.AnimationId = "rbxassetid://204062532"
- local pushTrack = ME.Character:FindFirstChildOfClass("Humanoid"):LoadAnimation(pushAnim)
- pushTrack:Play(.1, 1, 2.5)
- else
- local pushAnim = Instance.new("Animation")
- pushAnim.AnimationId = "rbxassetid://1984283994"
- local pushTrack = ME.Character:FindFirstChildOfClass("Humanoid"):LoadAnimation(pushAnim)
- pushTrack:Play(.1, 1, 2.5)
- end
- end)
- for _, v in pairs(game:GetService("Players"):GetDescendants()) do
- if v.Name == "PushEvent" and v:IsA("RemoteEvent") then
- return v:FireServer()
- end
- end
- end)
Add Comment
Please, Sign In to add comment