Advertisement
fiztgibbonjack

BULKED UP SCRIPT

Jun 21st, 2021
32,058
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.79 KB | None | 0 0
  1. function grabandthrow(grab,part)
  2. local player=game.Players.LocalPlayer
  3. local mouse=player:GetMouse()
  4. local position=mouse.Hit.lookVector--player.Character.Head.CFrame
  5. local barrel
  6. print(position)
  7. --player.Character.HumanoidRootPart.CFrame=game.Workspace.NPCs.FinalNPC.HumanoidRootPart.CFrame+Vector3.new(0,2,0)
  8. --game.Workspace.NPCs.FinalNPC.HumanoidRootPart.CFrame=game.Players.LocalPlayer.Character.Head.CFrame+position*2
  9. for i,v in pairs(game.Workspace.Buildings:GetChildren()) do
  10. if v.Name=='Barrels' and v:FindFirstChild("Barrel") then
  11. barrel=v.Barrel
  12. break
  13. end
  14. end
  15. player.Character.HumanoidRootPart.CFrame=barrel.CFrame+Vector3.new(0,2,0)
  16. barrel.CFrame=game.Players.LocalPlayer.Character.Head.CFrame+position*2
  17. grab:Activate()
  18. wait(1)
  19. grab:Activate()
  20. player.Character.HumanoidRootPart.CFrame=part.CFrame
  21. grab:Activate()
  22. player.Character.HumanoidRootPart.Velocity=Vector3.new()
  23. game.ReplicatedStorage.Events.unRagdoll:FireServer(player.Character)
  24. end
  25. local player=game.Players.LocalPlayer
  26. local grab
  27. while wait() do
  28. for i,v in pairs(game.Workspace.Buildings:GetDescendants()) do
  29. if player.Backpack:FindFirstChild("Grab") then
  30. grab=player.Backpack:FindFirstChild("Grab")
  31. grab.Parent=player.Character
  32. end
  33. if v.ClassName=="Part" and v.Anchored==true then
  34. grabandthrow(grab,v)
  35. wait(4)
  36. end
  37. for i,v in pairs(game.Workspace:GetChildren()) do
  38. if v.Name=="Gem" and v.Owner.Value==game.Players.LocalPlayer.Name then
  39. player.Character.HumanoidRootPart.CFrame=v.CFrame
  40. player.Character.HumanoidRootPart.Velocity=Vector3.new()
  41. wait(0.1)
  42. end
  43. end
  44. end
  45. end
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement