Advertisement
LECARG

Whatever Floats Your Boat SCRIPT /By LECARG

Jan 9th, 2020
9,620
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. spawn(function()
  2.  
  3.  
  4. while true do
  5. wait(1)
  6. local chest = workspace.Chests:getChildren()
  7. for i=1,#chest do
  8. if chest[i]:findFirstChild("ChestBottom") then
  9. if chest[i].ChestBottom:findFirstChild("MetalOutline") then
  10. if chest[i].ChestBottom.MetalOutline:findFirstChild("Trigger") then
  11. if chest[i].ChestBottom.MetalOutline.Trigger:findFirstChild("TriggerRemoteEvent") then
  12. game.Players.LocalPlayer.Character:MoveTo(chest[i].ChestBottom.MetalOutline.Position)
  13. wait()
  14. chest[i].ChestBottom.MetalOutline.Trigger.TriggerRemoteEvent:FireServer()
  15. end
  16. end
  17. end
  18. end
  19. end
  20. end
  21. end)
  22.  
  23. spawn(function()
  24. game.Players.LocalPlayer.Character.ChildAdded:connect(function(sword)
  25. if sword.Name == "Sword" then
  26. while true do
  27. wait()
  28. local cframe = sword.Handle.CFrame
  29. local size = sword.Handle.Size
  30. local player = workspace:GetChildren()
  31. for i=1,#player do
  32. if player[i]:findFirstChild("Head") then
  33. if player[i].Name ~= game.Players.LocalPlayer.Name then
  34. if player[i].HumanoidRootPart:findFirstChild("RootRigAttachment") then
  35. player[i].HumanoidRootPart.RootRigAttachment:remove()
  36. end
  37. player[i].HumanoidRootPart.Transparency = 1
  38. player[i].HumanoidRootPart.CanCollide = false
  39. player[i].HumanoidRootPart.Anchored = true
  40. player[i].HumanoidRootPart.Size = size
  41. player[i].HumanoidRootPart.CFrame = cframe
  42. end
  43. end
  44. end
  45. end
  46. end
  47. end)
  48. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement