Dark_Agent

FE Gigantic plane (R15) (Ragdoll)

Jul 29th, 2025 (edited)
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.22 KB | Gaming | 0 0
  1. -- Credits: Farhat & Pio
  2.  
  3. --[[]
  4. getgenv().offset = 100
  5. getgenv().spinspeed = 1
  6. getgenv().circlespeed = 1
  7. loadstring(game:HttpGet('https://pastebin/raw/3H5vkiVr'))()
  8. --]]
  9.  
  10. getgenv().offset = getgenv().offset or 100
  11. getgenv().spinspeed = getgenv().spinspeed or 1
  12. getgenv().circlespeed = getgenv().circlespeed or 1
  13. local offset = getgenv().offset
  14. local spinspeed = getgenv().spinspeed
  15. local circleSpeed = getgenv().circlespeed
  16. local players = cloneref(game:GetService("Players"))
  17. local RunService = cloneref(game:GetService("RunService"))
  18. local lp = players.LocalPlayer
  19. local char = lp.Character or lp.CharacterAdded:Wait()
  20. local root = char:WaitForChild("HumanoidRootPart")
  21. local head = char:WaitForChild("Head")
  22. local upper = char:WaitForChild("UpperTorso")
  23. local lower = char:WaitForChild("LowerTorso")
  24. local rua, rla, rh = char.RightUpperArm, char.RightLowerArm, char.RightHand
  25. local lua, lla, lh = char.LeftUpperArm, char.LeftLowerArm, char.LeftHand
  26. local rul, rll = char.RightUpperLeg, char.RightLowerLeg
  27. local lul, lll = char.LeftUpperLeg, char.LeftLowerLeg
  28. local origin = root.CFrame.Position
  29.  
  30. RunService.Heartbeat:Connect(function()
  31.  local t = tick()
  32.  local orbitAngle = t * circleSpeed * 2 * math.pi
  33.  local spinAngle = t * spinspeed * 2 * math.pi
  34.  local px = origin.X + math.cos(orbitAngle) * offset
  35.  local py = origin.Y
  36.  local pz = origin.Z + math.sin(orbitAngle) * offset
  37.  local pos = Vector3.new(px, py, pz)
  38.  local tx = -math.sin(orbitAngle)
  39.  local tz = math.cos(orbitAngle)
  40.  local tangent = Vector3.new(tx, 0, tz)
  41.  local baseCFrame = CFrame.new(pos, pos + tangent)
  42.  local cf = baseCFrame * CFrame.Angles(0, 0, spinAngle)
  43.  head.CFrame = cf * CFrame.new(0, -offset / 2, 0)
  44.  upper.CFrame = cf * CFrame.new(0, offset, 0)
  45.  lower.CFrame = head.CFrame
  46.  rua.CFrame = cf * CFrame.new(offset, offset, 0)
  47.  rla.CFrame = cf * CFrame.new(offset, offset * 2, 0)
  48.  rh.CFrame = rla.CFrame
  49.  lua.CFrame = cf * CFrame.new(-offset, offset, 0)
  50.  lla.CFrame = cf * CFrame.new(-offset, offset * 2, 0)
  51.  lh.CFrame = lla.CFrame
  52.  rul.CFrame = cf * CFrame.new(offset, offset, 0)
  53.  rll.CFrame = cf * CFrame.new(offset, offset - 2, 0)
  54.  lul.CFrame = cf * CFrame.new(-offset, offset, 0)
  55.  lll.CFrame = cf * CFrame.new(-offset, offset - 2, 0)
  56. end)
Advertisement
Add Comment
Please, Sign In to add comment