Advertisement
lafur

Untitled

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