Filipono120

[ROBLOX][R6] Autotune Roach Dance V1

Nov 16th, 2020 (edited)
541
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.62 KB | None | 0 0
  1. --// Autotune Roach Dance V1
  2. --// Made by filipono120 studios
  3.  
  4. if _G.Conectted ~= true then
  5.     _G.Conectted = true
  6.     coroutine.wrap(function()
  7.         settings().Physics.PhysicsEnvironmentalThrottle = Enum.EnviromentalPhysicsThrottle.Disabled
  8.         settings().Physics.AllowSleep = false
  9.         game:GetService("RunService").RenderStepped:Connect(function()
  10.             game:FindFirstChildOfClass("Players").LocalPlayer.MaximumSimulationRadius=math.pow(math.huge,math.huge)
  11.             sethiddenproperty(game:FindFirstChildOfClass("Players").LocalPlayer,"SimulationRadius",math.huge*math.huge)
  12.         end)
  13.     end)()
  14. end
  15.  
  16. local HumanoidDied = false
  17. local Player = game:GetService("Players").LocalPlayer
  18. local Character = Player.Character
  19. local Sound = Instance.new("Sound", Character.Head)
  20. Sound.Name = "Cockroach"
  21. Sound.SoundId = "rbxassetid://4050095124"
  22. Sound.Volume = 10
  23. Sound.Looped = true
  24. Sound:Play()
  25.  
  26. RS = Character.Torso["Right Shoulder"];
  27. LS = Character.Torso["Left Shoulder"];
  28. RH = Character.Torso["Right Hip"];
  29. LH = Character.Torso["Left Hip"];
  30. RJ = Character.HumanoidRootPart["RootJoint"];
  31.  
  32. RS.C0 = RS.C0 * CFrame.Angles(50, 0, 120)
  33. LS.C0 = LS.C0 * CFrame.Angles(50, 0, -120)
  34.  
  35. Character.Humanoid.Died:Connect(function()
  36.     HumanoidDied = true
  37. end)
  38.  
  39. while wait( ) do
  40.     if HumanoidDied == false then
  41.         for i = 1, 5 do
  42.             RJ.C0 = RJ.C0 * CFrame.Angles(0, 0, 0.4)
  43.             RJ.C0 = RJ.C0 * CFrame.new(0, 0, 0.8)
  44.             wait()
  45.         end
  46.         for i = 1, 5 do
  47.             RJ.C0 = RJ.C0 * CFrame.Angles(0, 0, 0.4)
  48.             RJ.C0 = RJ.C0 * CFrame.new(0, 0, -0.8)
  49.             wait()
  50.         end
  51.     elseif HumanoidDied == true then
  52.         Character.Humanoid:Destroy()
  53.         Sound:Destroy()
  54.         break
  55.     end
  56. end
Add Comment
Please, Sign In to add comment