Advertisement
Ubicast

R6 NaZi - Swastika Form Script | ROBLOX

Nov 21st, 2020
7,885
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.85 KB | None | 0 0
  1. local Player = game.Players.LocalPlayer
  2. local RenderStepped = game.RunService.RenderStepped
  3. local HumanoidRootPart = Player.Character:WaitForChild("HumanoidRootPart", 5)
  4.  
  5. function CharacterPosition(p, a, b, c, x, y, z)
  6.     local BodyForce = Instance.new("BodyForce")
  7.     BodyForce.Force = Vector3.new(0, 196.2, 0) * p:GetMass()
  8.     BodyForce.Parent = p
  9.    
  10.     RenderStepped:Connect(function()
  11.         p.CFrame = HumanoidRootPart.CFrame * CFrame.new(a, b, c) * CFrame.Angles(x, y, z)
  12.     end)
  13.    
  14.     p:BreakJoints()
  15. end
  16.  
  17. CharacterPosition(Player.Character["Left Arm"], -1, 1.5, 0, 0, 0, math.rad(-90))
  18. CharacterPosition(Player.Character["Right Arm"], 1.5, 1, 0, 0, 0, math.rad(180))
  19. CharacterPosition(Player.Character["Left Leg"], -1.5, -1, 0, 0, 0, math.rad(0))
  20. CharacterPosition(Player.Character["Right Leg"], 1, -1.5, 0, 0, 0, math.rad(90))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement