TheUnknownDiscord

NOQBHJWJNEMUQJHMNY YHUGHYRE THE BREADUHIJQJAHUS

Dec 28th, 2021 (edited)
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.67 KB | None | 0 0
  1. local part = Instance.new("Part",script)
  2. part.Size = Vector3.new(0.8, 0.140625, 0.91265625)
  3. part.Anchored = true
  4. local death = Instance.new("Sound", part)
  5. death.SoundId = "rbxassetid://4908056253"
  6. death.Volume = 2
  7. local Mesh = Instance.new("SpecialMesh")
  8. Mesh.Parent = part
  9. Mesh.MeshId = "http://www.roblox.com/asset/?id=4946463257"
  10. Mesh.TextureId = "http://www.roblox.com/asset/?id=4946463441"
  11. Mesh.Scale = Vector3.new(1.5,1.5,1.5)
  12. local donthit = {}
  13. for i,v in pairs(owner.Character:GetDescendants()) do
  14. pcall(function()
  15. table.insert(donthit,v)
  16. end)
  17. end
  18. local params = RaycastParams.new()
  19. params.FilterDescendantsInstances = {donthit}
  20. params.FilterType = Enum.RaycastFilterType.Blacklist
  21. local result = workspace:Raycast(owner.Character.HumanoidRootPart.Position + owner.Character.HumanoidRootPart.CFrame.lookVector * 2,owner.Character.HumanoidRootPart.CFrame.upVector * -1000 + owner.Character.HumanoidRootPart.CFrame.lookVector * 2,params)
  22. if result then
  23. part.CFrame = owner.Character.HumanoidRootPart.CFrame * CFrame.Angles(0,math.rad(180),0)
  24. part.Position = result.Position
  25. part.CFrame = part.CFrame * CFrame.new(0,0.0703125,0.456328125)
  26. task.wait()
  27. local TweenService = game:GetService("TweenService")
  28. local goal = {}
  29. goal.CFrame = part.CFrame
  30. local tweenInfo = TweenInfo.new(.5,Enum.EasingStyle.Exponential,Enum.EasingDirection.In,0,false,0)
  31. local tween = TweenService:Create(part, tweenInfo, goal)
  32. task.wait()
  33. part.CFrame = part.CFrame * CFrame.new(0,-0.0703125,-0.456328125) * CFrame.new(0,0.456328125,0)
  34. part.CFrame = part.CFrame * CFrame.Angles(math.rad(-89),0,0)
  35. death.TimePosition = 79
  36. death:Play()
  37. wait(6.5)
  38. tween:Play()
  39. wait(10)
  40. death:Stop()
  41. end
Add Comment
Please, Sign In to add comment