Advertisement
Animescapetower

Seizure dance of madness

Mar 24th, 2018
303
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 40.09 KB | None | 0 0
  1. --Original idea based on my edit
  2. --[[
  3. [Head/Waist Follow Mouse/Camera Script.]
  4. [Works with both R6 and R15, lets you turn your character's head and waist towards your mouse/camera.]
  5. [Scripted by (Unknown), upgraded by OhHeyItsCory.]
  6. [I'm not sure who made the original script and the person I found it from definitely didn't make it.]
  7. [If you find the original creator, please let me know so I can properly credit them <3]
  8. [Anyways, here's a list of what I've added.]
  9. [Waist rotation. (Previously, only the head turned.)]
  10. [Tweening. (Basically, animating the rotation instead of instantly turning.)]
  11. [Full body rotation. (If set to true, rotates the entire body towards the mouse.)]
  12. [Specific rotation limits. (The original script used one variable to set the limits of both horizontal and vertical rotation, now there's variables for both limits!)]
  13. --]]
  14.  
  15. wait()
  16.  
  17. --[Pre-Funcs]:
  18.  
  19. local Ang = CFrame.Angles --[Storing these as variables so I dont have to type them out.]
  20. local aSin = math.asin
  21. local aTan = math.atan
  22.  
  23. --[Constants]:
  24.  
  25. local Cam = game.Workspace.CurrentCamera
  26.  
  27. local Plr = game.Players.LocalPlayer
  28. local Mouse = Plr:GetMouse()
  29. local Body = Plr.Character or Plr.CharacterAdded:wait()
  30. local Head = Body:WaitForChild("Head")
  31. local Hum = Body:WaitForChild("Humanoid")
  32. local Core = Body:WaitForChild("HumanoidRootPart")
  33. local IsR6 = (Hum.RigType.Value==0) --[Checking if the player is using R15 or R6.]
  34. local Trso = (IsR6 and Body:WaitForChild("Torso")) or Body:WaitForChild("UpperTorso")
  35. local Neck = (IsR6 and Trso:WaitForChild("Neck")) or Head:WaitForChild("Neck") --[Once we know the Rig, we know what to find.]
  36. local Waist = (not IsR6 and Trso:WaitForChild("Waist")) --[R6 doesn't have a waist joint, unfortunately.]
  37.  
  38. --[[
  39. [Whether rotation follows the camera or the mouse.]
  40. [Useful with tools if true, but camera tracking runs smoother.]
  41. --]]
  42. local MseGuide = false
  43. --[[
  44. [Whether the whole character turns to face the mouse.]
  45. [If set to true, MseGuide will be set to true and both HeadHorFactor and BodyHorFactor will be set to 0]
  46. --]]
  47. local TurnCharacterToMouse = false
  48. --[[
  49. [Horizontal and Vertical limits for head and body tracking.]
  50. [Setting to 0 negates tracking, setting to 1 is normal tracking, and setting to anything higher than 1 goes past real life head/body rotation capabilities.]
  51. --]]
  52. local HeadHorFactor = 1
  53. local HeadVertFactor = 0.6
  54. local BodyHorFactor = 0.5
  55. local BodyVertFactor = 0.4
  56.  
  57. --[[
  58. [How fast the body rotates.]
  59. [Setting to 0 negates tracking, and setting to 1 is instant rotation. 0.5 is a nice in-between that works with MseGuide on or off.]
  60. [Setting this any higher than 1 causes weird glitchy shaking occasionally.]
  61. --]]
  62. local UpdateSpeed = 0.5
  63.  
  64. local NeckOrgnC0 = Neck.C0 --[Get the base C0 to manipulate off of.]
  65. local WaistOrgnC0 = (not IsR6 and Waist.C0) --[Get the base C0 to manipulate off of.]
  66.  
  67. --[Setup]:
  68.  
  69. Neck.MaxVelocity = 1/3
  70.  
  71. -- Activation]:
  72. if TurnCharacterToMouse == true then
  73. MseGuide = true
  74. HeadHorFactor = 0
  75. BodyHorFactor = 0
  76. end
  77.  
  78. game:GetService("RunService").RenderStepped:Connect(function()
  79. local CamCF = Cam.CoordinateFrame
  80. if ((IsR6 and Body["Torso"]) or Body["UpperTorso"])~=nil and Body["Head"]~=nil then --[Check for the Torso and Head...]
  81. local TrsoLV = Trso.CFrame.lookVector
  82. local HdPos = Head.CFrame.p
  83. if IsR6 and Neck or Neck and Waist then --[Make sure the Neck still exists.]
  84. if Cam.CameraSubject:IsDescendantOf(Body) or Cam.CameraSubject:IsDescendantOf(Plr) then
  85. local Dist = nil;
  86. local Diff = nil;
  87. if not MseGuide then --[If not tracking the Mouse then get the Camera.]
  88. Dist = (Head.CFrame.p-CamCF.p).magnitude
  89. Diff = Head.CFrame.Y-CamCF.Y
  90. if not IsR6 then --[R6 and R15 Neck rotation C0s are different; R15: X axis inverted and Z is now the Y.]
  91. Neck.C0 = Neck.C0:lerp(NeckOrgnC0*Ang((aSin(Diff/Dist)*HeadVertFactor), -(((HdPos-CamCF.p).Unit):Cross(TrsoLV)).Y*HeadHorFactor, 0), UpdateSpeed/2)
  92. Waist.C0 = Waist.C0:lerp(WaistOrgnC0*Ang((aSin(Diff/Dist)*BodyVertFactor), -(((HdPos-CamCF.p).Unit):Cross(TrsoLV)).Y*BodyHorFactor, 0), UpdateSpeed/2)
  93. else --[R15s actually have the properly oriented Neck CFrame.]
  94. Neck.C0 = Neck.C0:lerp(NeckOrgnC0*Ang(-(aSin(Diff/Dist)*HeadVertFactor), 0, -(((HdPos-CamCF.p).Unit):Cross(TrsoLV)).Y*HeadHorFactor),UpdateSpeed/2)
  95. end
  96. else
  97. local Point = Mouse.Hit.p
  98. Dist = (Head.CFrame.p-Point).magnitude
  99. Diff = Head.CFrame.Y-Point.Y
  100. if not IsR6 then
  101. Neck.C0 = Neck.C0:lerp(NeckOrgnC0*Ang(-(aTan(Diff/Dist)*HeadVertFactor), (((HdPos-Point).Unit):Cross(TrsoLV)).Y*HeadHorFactor, 0), UpdateSpeed/2)
  102. Waist.C0 = Waist.C0:lerp(WaistOrgnC0*Ang(-(aTan(Diff/Dist)*BodyVertFactor), (((HdPos-Point).Unit):Cross(TrsoLV)).Y*BodyHorFactor, 0), UpdateSpeed/2)
  103. else
  104. Neck.C0 = Neck.C0:lerp(NeckOrgnC0*Ang((aTan(Diff/Dist)*HeadVertFactor), 0, (((HdPos-Point).Unit):Cross(TrsoLV)).Y*HeadHorFactor), UpdateSpeed/2)
  105. end
  106. end
  107. end
  108. end
  109. end
  110. if TurnCharacterToMouse == true then
  111. Hum.AutoRotate = false
  112. Core.CFrame = Core.CFrame:lerp(CFrame.new(Core.Position, Vector3.new(Mouse.Hit.p.x, Core.Position.Y, Mouse.Hit.p.z)), UpdateSpeed / 2)
  113. else
  114. Hum.AutoRotate = true
  115. end
  116. end)
  117.  
  118.  
  119. print("help me please")
  120. wait(1)
  121. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  122. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  123. game.Players.LocalPlayer.Character.Humanoid.PlatformStand = false
  124. Tors = game.Players.LocalPlayer.Character.Torso
  125. local SEIZURETIME = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
  126.  
  127. SEIZURETIME.Looped = true
  128.  
  129. SEIZURETIME.Volume = 50
  130. game.Chat:Chat(game.Players.LocalPlayer.Character.Head,"SEIZURE TIME!!!","Red")
  131. local velocity = Instance.new("BodyVelocity", game.Players.LocalPlayer.Character.Torso)
  132. velocity.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  133. velocity.Velocity = Vector3.new(game.Players.LocalPlayer.Character.Torso.CFrame.lookVector,game.Players.LocalPlayer.Character.Torso.CFrame.lookVector ,game.Players.LocalPlayer.Character.Torso.CFrame.lookVector)
  134. velocity:destroy()
  135. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.Angles(-90, 0, 0)
  136. print(game.Players.LocalPlayer.Character.Head.Parent.Name)
  137. wait(2)
  138.  
  139. SEIZURETIME.SoundId = "rbxassetid://1041837096"
  140. SEIZURETIME:Play()
  141.  
  142. local RUUN = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
  143. RUUN.SoundId = "rbxassetid://138167455"
  144. RUUN.Volume = "1".. math.random(1,2)
  145. RUUN.Looped = false
  146. RUUN:Play()
  147.  
  148. --Fernan, there you got, create the animation,
  149. --import it to roblox website, then remplace the ID (After ?id=) then set the key for it.
  150.  
  151. local player = game.Players.LocalPlayer
  152. local mouse = player:GetMouse()
  153.  
  154.  
  155.  
  156. mouse.KeyDown:connect(function(key)
  157. if key == "z" then--OKAY
  158. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  159. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  160.  
  161. end
  162. end)
  163.  
  164. --[[ do not delete, you can delete it, it will ruin the anims
  165.  
  166. Tors.Neck.C0 = Tors.Neck.C0 * CFrame.Angles(math.random(-5,5),0,5)
  167. Tors["Left Hip"].C0 = Tors["Left Hip"].C0 * CFrame.Angles(0,5,math.random(-1,32))
  168. Tors["Right Hip"].C0 = Tors["Right Hip"].C0 * CFrame.Angles(0,3,math.random(-1,2))
  169. Tors["Left Shoulder"].C0 = Tors["Left Shoulder"].C0 * CFrame.Angles(5,0,math.random(-1,5))
  170. Tors["Right Shoulder"].C0 = Tors["Right Shoulder"].C0 * CFrame.Angles(0,5,math.random(-1,5))
  171.  
  172.  
  173. ]]
  174. mouse.KeyDown:connect(function(key)
  175. if key == "f" then--Seizure time bois
  176.  
  177.  
  178. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  179. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  180. Tors.Neck.C0 = Tors.Neck.C0 * CFrame.Angles(math.random(-5,5),0,5)
  181. Tors["Left Hip"].C0 = Tors["Left Hip"].C0 * CFrame.Angles(0,5,math.random(-1,32))
  182. Tors["Right Hip"].C0 = Tors["Right Hip"].C0 * CFrame.Angles(0,3,math.random(-1,2))
  183. Tors["Left Shoulder"].C0 = Tors["Left Shoulder"].C0 * CFrame.Angles(5,0,math.random(-1,5))
  184. Tors["Right Shoulder"].C0 = Tors["Right Shoulder"].C0 * CFrame.Angles(0,5,math.random(-1,5))
  185.  
  186. wait(0.2)
  187. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  188. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  189. Tors.Neck.C0 = Tors.Neck.C0 * CFrame.Angles(math.random(-5,5),0,5)
  190. Tors["Left Hip"].C0 = Tors["Left Hip"].C0 * CFrame.Angles(0,5,math.random(-1,32))
  191. Tors["Right Hip"].C0 = Tors["Right Hip"].C0 * CFrame.Angles(0,3,math.random(-1,2))
  192. Tors["Left Shoulder"].C0 = Tors["Left Shoulder"].C0 * CFrame.Angles(5,0,math.random(-1,5))
  193. Tors["Right Shoulder"].C0 = Tors["Right Shoulder"].C0 * CFrame.Angles(0,5,math.random(-1,5))
  194.  
  195. wait(0.2)
  196. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  197. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  198. Tors.Neck.C0 = Tors.Neck.C0 * CFrame.Angles(math.random(-5,5),0,5)
  199. Tors["Left Hip"].C0 = Tors["Left Hip"].C0 * CFrame.Angles(0,5,math.random(-1,32))
  200. Tors["Right Hip"].C0 = Tors["Right Hip"].C0 * CFrame.Angles(0,3,math.random(-1,2))
  201. Tors["Left Shoulder"].C0 = Tors["Left Shoulder"].C0 * CFrame.Angles(5,0,math.random(-1,5))
  202. Tors["Right Shoulder"].C0 = Tors["Right Shoulder"].C0 * CFrame.Angles(0,5,math.random(-1,5))
  203.  
  204. wait(0.2)
  205. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  206. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  207. Tors.Neck.C0 = Tors.Neck.C0 * CFrame.Angles(math.random(-5,5),0,5)
  208. Tors["Left Hip"].C0 = Tors["Left Hip"].C0 * CFrame.Angles(0,5,math.random(-1,32))
  209. Tors["Right Hip"].C0 = Tors["Right Hip"].C0 * CFrame.Angles(0,3,math.random(-1,2))
  210. Tors["Left Shoulder"].C0 = Tors["Left Shoulder"].C0 * CFrame.Angles(5,0,math.random(-1,5))
  211. Tors["Right Shoulder"].C0 = Tors["Right Shoulder"].C0 * CFrame.Angles(0,5,math.random(-1,5))
  212.  
  213. wait(0.2)
  214. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  215. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  216. Tors.Neck.C0 = Tors.Neck.C0 * CFrame.Angles(math.random(-5,5),0,5)
  217. Tors["Left Hip"].C0 = Tors["Left Hip"].C0 * CFrame.Angles(0,5,math.random(-1,32))
  218. Tors["Right Hip"].C0 = Tors["Right Hip"].C0 * CFrame.Angles(0,3,math.random(-1,2))
  219. Tors["Left Shoulder"].C0 = Tors["Left Shoulder"].C0 * CFrame.Angles(5,0,math.random(-1,5))
  220. Tors["Right Shoulder"].C0 = Tors["Right Shoulder"].C0 * CFrame.Angles(0,5,math.random(-1,5))
  221.  
  222. wait(0.2)
  223. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  224. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  225. Tors.Neck.C0 = Tors.Neck.C0 * CFrame.Angles(math.random(-5,5),0,5)
  226. Tors["Left Hip"].C0 = Tors["Left Hip"].C0 * CFrame.Angles(0,5,math.random(-1,32))
  227. Tors["Right Hip"].C0 = Tors["Right Hip"].C0 * CFrame.Angles(0,3,math.random(-1,2))
  228. Tors["Left Shoulder"].C0 = Tors["Left Shoulder"].C0 * CFrame.Angles(5,0,math.random(-1,5))
  229. Tors["Right Shoulder"].C0 = Tors["Right Shoulder"].C0 * CFrame.Angles(0,5,math.random(-1,5))
  230.  
  231. wait(0.2)
  232. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  233. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  234. Tors.Neck.C0 = Tors.Neck.C0 * CFrame.Angles(math.random(-5,5),0,5)
  235. Tors["Left Hip"].C0 = Tors["Left Hip"].C0 * CFrame.Angles(0,5,math.random(-1,32))
  236. Tors["Right Hip"].C0 = Tors["Right Hip"].C0 * CFrame.Angles(0,3,math.random(-1,2))
  237. Tors["Left Shoulder"].C0 = Tors["Left Shoulder"].C0 * CFrame.Angles(5,0,math.random(-1,5))
  238. Tors["Right Shoulder"].C0 = Tors["Right Shoulder"].C0 * CFrame.Angles(0,5,math.random(-1,5))
  239.  
  240. wait(0.2)
  241. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  242. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  243. Tors.Neck.C0 = Tors.Neck.C0 * CFrame.Angles(math.random(-5,5),0,5)
  244. Tors["Left Hip"].C0 = Tors["Left Hip"].C0 * CFrame.Angles(0,5,math.random(-1,32))
  245. Tors["Right Hip"].C0 = Tors["Right Hip"].C0 * CFrame.Angles(0,3,math.random(-1,2))
  246. Tors["Left Shoulder"].C0 = Tors["Left Shoulder"].C0 * CFrame.Angles(5,0,math.random(-1,5))
  247. Tors["Right Shoulder"].C0 = Tors["Right Shoulder"].C0 * CFrame.Angles(0,5,math.random(-1,5))
  248.  
  249. wait(0.2)
  250. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  251. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  252. Tors.Neck.C0 = Tors.Neck.C0 * CFrame.Angles(math.random(-5,5),0,5)
  253. Tors["Left Hip"].C0 = Tors["Left Hip"].C0 * CFrame.Angles(0,5,math.random(-1,32))
  254. Tors["Right Hip"].C0 = Tors["Right Hip"].C0 * CFrame.Angles(0,3,math.random(-1,2))
  255. Tors["Left Shoulder"].C0 = Tors["Left Shoulder"].C0 * CFrame.Angles(5,0,math.random(-1,5))
  256. Tors["Right Shoulder"].C0 = Tors["Right Shoulder"].C0 * CFrame.Angles(0,5,math.random(-1,5))
  257.  
  258. wait(0.2)
  259. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  260. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  261. Tors.Neck.C0 = Tors.Neck.C0 * CFrame.Angles(math.random(-5,5),0,5)
  262. Tors["Left Hip"].C0 = Tors["Left Hip"].C0 * CFrame.Angles(0,5,math.random(-1,32))
  263. Tors["Right Hip"].C0 = Tors["Right Hip"].C0 * CFrame.Angles(0,3,math.random(-1,2))
  264. Tors["Left Shoulder"].C0 = Tors["Left Shoulder"].C0 * CFrame.Angles(5,0,math.random(-1,5))
  265. Tors["Right Shoulder"].C0 = Tors["Right Shoulder"].C0 * CFrame.Angles(0,5,math.random(-1,5))
  266.  
  267. wait(0.2)
  268. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  269. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  270. Tors.Neck.C0 = Tors.Neck.C0 * CFrame.Angles(math.random(-5,5),0,5)
  271. Tors["Left Hip"].C0 = Tors["Left Hip"].C0 * CFrame.Angles(0,5,math.random(-1,32))
  272. Tors["Right Hip"].C0 = Tors["Right Hip"].C0 * CFrame.Angles(0,3,math.random(-1,2))
  273. Tors["Left Shoulder"].C0 = Tors["Left Shoulder"].C0 * CFrame.Angles(5,0,math.random(-1,5))
  274. Tors["Right Shoulder"].C0 = Tors["Right Shoulder"].C0 * CFrame.Angles(0,5,math.random(-1,5))
  275.  
  276. wait(0.2)
  277.  
  278.  
  279. end
  280. end)
  281.  
  282. --[[
  283. [Head/Waist Follow Mouse/Camera Script.]
  284. [Works with both R6 and R15, lets you turn your character's head and waist towards your mouse/camera.]
  285. [Scripted by (Unknown), upgraded by OhHeyItsCory.]
  286. [I'm not sure who made the original script and the person I found it from definitely didn't make it.]
  287. [If you find the original creator, please let me know so I can properly credit them <3]
  288. [Anyways, here's a list of what I've added.]
  289. [Waist rotation. (Previously, only the head turned.)]
  290. [Tweening. (Basically, animating the rotation instead of instantly turning.)]
  291. [Full body rotation. (If set to true, rotates the entire body towards the mouse.)]
  292. [Specific rotation limits. (The original script used one variable to set the limits of both horizontal and vertical rotation, now there's variables for both limits!)]
  293. --]]
  294.  
  295. wait()
  296.  
  297. --[Pre-Funcs]:
  298.  
  299. local Ang = CFrame.Angles --[Storing these as variables so I dont have to type them out.]
  300. local aSin = math.asin
  301. local aTan = math.atan
  302.  
  303. --[Constants]:
  304.  
  305. local Cam = game.Workspace.CurrentCamera
  306.  
  307. local Plr = game.Players.LocalPlayer
  308. local Mouse = Plr:GetMouse()
  309. local Body = Plr.Character or Plr.CharacterAdded:wait()
  310. local Head = Body:WaitForChild("Head")
  311. local Hum = Body:WaitForChild("Humanoid")
  312. local Core = Body:WaitForChild("HumanoidRootPart")
  313. local IsR6 = (Hum.RigType.Value==0) --[Checking if the player is using R15 or R6.]
  314. local Trso = (IsR6 and Body:WaitForChild("Torso")) or Body:WaitForChild("UpperTorso")
  315. local Neck = (IsR6 and Trso:WaitForChild("Neck")) or Head:WaitForChild("Neck") --[Once we know the Rig, we know what to find.]
  316. local Waist = (not IsR6 and Trso:WaitForChild("Waist")) --[R6 doesn't have a waist joint, unfortunately.]
  317.  
  318. --[[
  319. [Whether rotation follows the camera or the mouse.]
  320. [Useful with tools if true, but camera tracking runs smoother.]
  321. --]]
  322. local MseGuide = false
  323. --[[
  324. [Whether the whole character turns to face the mouse.]
  325. [If set to true, MseGuide will be set to true and both HeadHorFactor and BodyHorFactor will be set to 0]
  326. --]]
  327. local TurnCharacterToMouse = false
  328. --[[
  329. [Horizontal and Vertical limits for head and body tracking.]
  330. [Setting to 0 negates tracking, setting to 1 is normal tracking, and setting to anything higher than 1 goes past real life head/body rotation capabilities.]
  331. --]]
  332. local HeadHorFactor = 1
  333. local HeadVertFactor = 0.6
  334. local BodyHorFactor = 0.5
  335. local BodyVertFactor = 0.4
  336.  
  337. --[[
  338. [How fast the body rotates.]
  339. [Setting to 0 negates tracking, and setting to 1 is instant rotation. 0.5 is a nice in-between that works with MseGuide on or off.]
  340. [Setting this any higher than 1 causes weird glitchy shaking occasionally.]
  341. --]]
  342. local UpdateSpeed = 0.5
  343.  
  344. local NeckOrgnC0 = Neck.C0 --[Get the base C0 to manipulate off of.]
  345. local WaistOrgnC0 = (not IsR6 and Waist.C0) --[Get the base C0 to manipulate off of.]
  346.  
  347. --[Setup]:
  348.  
  349. Neck.MaxVelocity = 1/3
  350.  
  351. -- Activation]:
  352. if TurnCharacterToMouse == true then
  353. MseGuide = true
  354. HeadHorFactor = 0
  355. BodyHorFactor = 0
  356. end
  357.  
  358. game:GetService("RunService").RenderStepped:Connect(function()
  359. local CamCF = Cam.CoordinateFrame
  360. if ((IsR6 and Body["Torso"]) or Body["UpperTorso"])~=nil and Body["Head"]~=nil then --[Check for the Torso and Head...]
  361. local TrsoLV = Trso.CFrame.lookVector
  362. local HdPos = Head.CFrame.p
  363. if IsR6 and Neck or Neck and Waist then --[Make sure the Neck still exists.]
  364. if Cam.CameraSubject:IsDescendantOf(Body) or Cam.CameraSubject:IsDescendantOf(Plr) then
  365. local Dist = nil;
  366. local Diff = nil;
  367. if not MseGuide then --[If not tracking the Mouse then get the Camera.]
  368. Dist = (Head.CFrame.p-CamCF.p).magnitude
  369. Diff = Head.CFrame.Y-CamCF.Y
  370. if not IsR6 then --[R6 and R15 Neck rotation C0s are different; R15: X axis inverted and Z is now the Y.]
  371. Neck.C0 = Neck.C0:lerp(NeckOrgnC0*Ang((aSin(Diff/Dist)*HeadVertFactor), -(((HdPos-CamCF.p).Unit):Cross(TrsoLV)).Y*HeadHorFactor, 0), UpdateSpeed/2)
  372. Waist.C0 = Waist.C0:lerp(WaistOrgnC0*Ang((aSin(Diff/Dist)*BodyVertFactor), -(((HdPos-CamCF.p).Unit):Cross(TrsoLV)).Y*BodyHorFactor, 0), UpdateSpeed/2)
  373. else --[R15s actually have the properly oriented Neck CFrame.]
  374. Neck.C0 = Neck.C0:lerp(NeckOrgnC0*Ang(-(aSin(Diff/Dist)*HeadVertFactor), 0, -(((HdPos-CamCF.p).Unit):Cross(TrsoLV)).Y*HeadHorFactor),UpdateSpeed/2)
  375. end
  376. else
  377. local Point = Mouse.Hit.p
  378. Dist = (Head.CFrame.p-Point).magnitude
  379. Diff = Head.CFrame.Y-Point.Y
  380. if not IsR6 then
  381. Neck.C0 = Neck.C0:lerp(NeckOrgnC0*Ang(-(aTan(Diff/Dist)*HeadVertFactor), (((HdPos-Point).Unit):Cross(TrsoLV)).Y*HeadHorFactor, 0), UpdateSpeed/2)
  382. Waist.C0 = Waist.C0:lerp(WaistOrgnC0*Ang(-(aTan(Diff/Dist)*BodyVertFactor), (((HdPos-Point).Unit):Cross(TrsoLV)).Y*BodyHorFactor, 0), UpdateSpeed/2)
  383. else
  384. Neck.C0 = Neck.C0:lerp(NeckOrgnC0*Ang((aTan(Diff/Dist)*HeadVertFactor), 0, (((HdPos-Point).Unit):Cross(TrsoLV)).Y*HeadHorFactor), UpdateSpeed/2)
  385. end
  386. end
  387. end
  388. end
  389. end
  390. if TurnCharacterToMouse == true then
  391. Hum.AutoRotate = false
  392. Core.CFrame = Core.CFrame:lerp(CFrame.new(Core.Position, Vector3.new(Mouse.Hit.p.x, Core.Position.Y, Mouse.Hit.p.z)), UpdateSpeed / 2)
  393. else
  394. Hum.AutoRotate = true
  395. end
  396. end)
  397.  
  398. mouse.KeyDown:connect(function(key)
  399. if key == "t" then--Breaks back
  400. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  401. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  402. Tors.Neck.C0 = Tors.Neck.C0 * CFrame.Angles(math.random(-5,5),0,5)
  403. Tors["Left Hip"].C0 = Tors["Left Hip"].C0 * CFrame.Angles(0,5,math.random(-1,32))
  404. Tors["Right Hip"].C0 = Tors["Right Hip"].C0 * CFrame.Angles(0,3,math.random(-1,2))
  405. Tors["Left Shoulder"].C0 = Tors["Left Shoulder"].C0 * CFrame.Angles(5,0,math.random(-1,5))
  406. Tors["Right Shoulder"].C0 = Tors["Right Shoulder"].C0 * CFrame.Angles(0,5,math.random(-1,5))
  407.  
  408. end
  409. end)
  410.  
  411.  
  412. while true do
  413. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  414. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  415. wait(0.1)
  416. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  417. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  418. wait(0.1)
  419. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  420. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  421. wait(0.1)
  422. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  423. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  424. wait(0.1)
  425. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  426. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  427. wait(0.1)
  428. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  429. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  430. wait(0.1)
  431. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  432. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  433. wait(0.1)
  434. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  435. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  436. wait(0.1)
  437. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  438. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  439. wait(0.1)
  440. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  441. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  442. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  443. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  444. wait(0.1)
  445. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  446. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  447. wait(0.1)
  448. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  449. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  450. wait(0.1)
  451. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  452. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  453. wait(0.1)
  454. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  455. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  456. wait(0.1)
  457. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  458. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  459. wait(0.1)
  460. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  461. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  462. wait(0.1)
  463. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  464. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  465. wait(0.1)
  466. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  467. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  468. wait(0.1)
  469. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  470. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  471. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  472. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  473. wait(0.1)
  474. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  475. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  476. wait(0.1)
  477. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  478. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  479. wait(0.1)
  480. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  481. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  482. wait(0.1)
  483. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  484. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  485. wait(0.1)
  486. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  487. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  488. wait(0.1)
  489. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  490. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  491. wait(0.1)
  492. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  493. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  494. wait(0.1)
  495. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  496. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  497. wait(0.1)
  498. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  499. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  500. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  501. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  502. wait(0.1)
  503. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  504. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  505. wait(0.1)
  506. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  507. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  508. wait(0.1)
  509. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  510. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  511. wait(0.1)
  512. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  513. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  514. wait(0.1)
  515. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  516. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  517. wait(0.1)
  518. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  519. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  520. wait(0.1)
  521. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  522. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  523. wait(0.1)
  524. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  525. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  526. wait(0.1)
  527. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  528. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  529. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  530. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  531. wait(0.1)
  532. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  533. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  534. wait(0.1)
  535. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  536. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  537. wait(0.1)
  538. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  539. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  540. wait(0.1)
  541. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  542. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  543. wait(0.1)
  544. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  545. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  546. wait(0.1)
  547. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  548. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  549. wait(0.1)
  550. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  551. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  552. wait(0.1)
  553. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  554. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  555. wait(0.1)
  556. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,4))
  557. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  558.  
  559. end
  560. --/Superstheme\--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement