Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Functions
- function AP(Char, M6Name, o1, o2, o3, p1, p2, p3)
- local o = CFrame.fromOrientation(tonumber(o1), tonumber(o2), tonumber(o3))
- local p = Vector3.new(tonumber(p1), tonumber(p2), tonumber(p3))
- if Char:FindFirstChild("Torso") then
- if Char.Torso:FindFirstChild(M6Name) then
- Char.Torso:FindFirstChild(M6Name).C1 = o + p
- end
- end
- end
- -- Run
- game.Workspace:FindFirstChild(owner.Name).Humanoid.PlatformStand = true
- game.Workspace:FindFirstChild(owner.Name).Humanoid.Animator:Destroy()
- game.Workspace:FindFirstChild(owner.Name).Humanoid.PlatformStand = false
- game.Workspace:FindFirstChild(owner.Name).Humanoid.WalkSpeed = 50
- AP(game.Workspace:FindFirstChild(owner.Name), 'Right Shoulder', -5, -4.7, 0, -0.5, 0.5, 0)
- AP(game.Workspace:FindFirstChild(owner.Name), 'Left Shoulder', -5, 4.7, 0, 0.5, 0.5, 0)
- game.Workspace:FindFirstChild(owner.Name).HumanoidRootPart.Touched:connect(function(Hit)
- if Hit.Parent:FindFirstChild("Humanoid") then
- if Hit.Parent.Name == owner.Name then
- --Skips
- else
- Hit.Parent:FindFirstChild("Humanoid").Health = 0
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement