Advertisement
Somedud

Ultimate SANES (Ultimate Guest v2)

Apr 28th, 2018
356
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.72 KB | None | 0 0
  1. --[[
  2. Created by Theamazingnater
  3. Finally! I learned how to switch between animations depending on what bool is activated!
  4. Hope you enjoy the new Ultimate Guest script.
  5. --]]
  6. char = game.Players.LocalPlayer.Character
  7. cananimate = true
  8. wait(1)
  9. for i,v in pairs(char:GetChildren()) do
  10. if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "CharacterMesh" then
  11. v:Destroy()
  12. end
  13. end
  14. print([[
  15. Thanks for using my Ultimate Guest script.
  16. This is a newer verison, and I have been waiting to make this.
  17. AND I FINALLY LEARNED HOW TO SWITCH BETWEEN ANIMATIONS!
  18. :D
  19. - Theamazingnater
  20. Edit by ExplosiveDaniel
  21. User is: ]] .. char.Name)
  22. kills = 0
  23. local Shirt = Instance.new("Shirt",char)
  24. Shirt.ShirtTemplate = "rbxassetid://1065446848"
  25. local Pants = Instance.new("Pants",char)
  26. Pants.PantsTemplate = "rbxassetid://1111439935"
  27. -- Bodycolors!
  28. local bdycolors = char:findFirstChild("Body Colors")
  29. bdycolors.TorsoColor3 = Color3.new(1,1,1)
  30. bdycolors.LeftArmColor3 = Color3.new(1,1,1)
  31. bdycolors.RightArmColor3 = Color3.new(1,1,1)
  32. bdycolors.HeadColor3 = Color3.new(1,1,1)
  33. bdycolors.LeftLegColor3 = Color3.new(1,1,1)
  34. bdycolors.RightLegColor3 = Color3.new(1,1,1)
  35. -- Sounds
  36. local music = Instance.new("Sound",char)
  37. music.SoundId = "rbxassetid://155772047"
  38. music.Volume = 4
  39. music.Looped = true
  40. music:Play()
  41. -- Hats
  42. for i,v in pairs(char:GetChildren()) do
  43. if v.ClassName == "Accessory" or v.ClassName == "Hat" then
  44. v:Destroy()
  45. end
  46. end
  47. local Classicred = Instance.new("Part",char.Head)
  48. Classicred.Name = "Robloxclassicred"
  49. local Classicredmesh = Instance.new("FileMesh",Classicred)
  50. Classicredmesh.MeshId = "http://www.roblox.com/asset/?id=0"
  51. Classicredmesh.TextureId = "http://www.roblox.com/asset/?id=0"
  52. Classicredmesh.Scale = Vector3.new(1.05, 1.05, 1.05)
  53. local Classicredweld = Instance.new("Weld",Classicred)
  54. Classicredweld.Part0 = Classicred
  55. Classicredweld.Part1 = char.Head
  56. Classicredweld.C0 = CFrame.new(0.00257301331, -0.508233547, 0.112071037, 0.998388648, 0, -0.0567459799, 0, 1, 0, 0.0567459799, 0, 0.998388648)
  57. Classicred.CanCollide = false
  58. local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone()
  59. game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Remove()
  60. local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  61. rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  62. rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
  63. rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  64. local lhandclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone()
  65. game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Remove()
  66. local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  67. lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  68. lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"]
  69. lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  70. local llegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  71. llegweld.Part0 = game.Players.LocalPlayer.Character.Torso
  72. llegweld.Part1 = game.Players.LocalPlayer.Character["Left Leg"]
  73. llegweld.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) * CFrame.new(0,-1,0)
  74. local rlegclone = game.Players.LocalPlayer.Character.Torso["Right Hip"]:Clone()
  75. game.Players.LocalPlayer.Character.Torso["Right Hip"]:Remove()
  76. local rlegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  77. rlegweld.Part0 = game.Players.LocalPlayer.Character.Torso
  78. rlegweld.Part1 = game.Players.LocalPlayer.Character["Right Leg"]
  79. rlegweld.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) * CFrame.new(0,-1,0)
  80. local rootjointclone = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Clone()
  81. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Remove()
  82. local humanoidrootpart = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  83. humanoidrootpart.Part0 = game.Players.LocalPlayer.Character.HumanoidRootPart
  84. humanoidrootpart.Part1 = game.Players.LocalPlayer.Character.Torso
  85. local heed = game.Players.LocalPlayer.Character.Torso["Neck"]:Clone()
  86. local headweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  87. headweld.Part0 = game.Players.LocalPlayer.Character.Torso
  88. headweld.Part1 = game.Players.LocalPlayer.Character.Head
  89. headweld.C0 = headweld.C0 * CFrame.new(0,1.5,0)
  90. wait()
  91. function swait(num)
  92. if num == 0 or num == nil then
  93. game:service("RunService").Stepped:wait(0)
  94. else
  95. for i = 0, num do
  96. game:service("RunService").Stepped:wait(0)
  97. end
  98. end
  99. end
  100. function swait(num)
  101. if num==0 or num==nil then
  102. game:service'RunService'.Stepped:wait(0)
  103. else
  104. for i=0,num do
  105. game:service'RunService'.Stepped:wait(0)
  106. end
  107. end
  108. end
  109.  
  110. function chatfunc(text)
  111. local chat = coroutine.wrap(function()
  112. if char:FindFirstChild("TalkingBillBoard")~= nil then
  113. char:FindFirstChild("TalkingBillBoard"):destroy()
  114. end
  115. local naeeym2 = Instance.new("BillboardGui",char)
  116. naeeym2.Size = UDim2.new(0,100,0,40)
  117. naeeym2.StudsOffset = Vector3.new(0,3,0)
  118. naeeym2.Adornee = char.Head
  119. naeeym2.Name = "TalkingBillBoard"
  120. local tecks2 = Instance.new("TextLabel",naeeym2)
  121. tecks2.BackgroundTransparency = 1
  122. tecks2.BorderSizePixel = 0
  123. tecks2.Text = ""
  124. tecks2.Font = "Fantasy"
  125. tecks2.TextSize = 30
  126. tecks2.TextStrokeTransparency = 0
  127. tecks2.TextColor3 = Color3.new(.6,0,0)
  128. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  129. tecks2.Size = UDim2.new(1,0,0.5,0)
  130. local tecks3 = Instance.new("TextLabel",naeeym2)
  131. tecks3.BackgroundTransparency = 1
  132. tecks3.BorderSizePixel = 0
  133. tecks3.Text = ""
  134. tecks3.Font = "Fantasy"
  135. tecks3.TextSize = 30
  136. tecks3.TextStrokeTransparency = 0
  137. tecks3.TextColor3 = Color3.new(1,1,1)
  138. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  139. tecks3.Size = UDim2.new(1,0,0.5,0)
  140. for i = 1,string.len(text),1 do
  141. tecks2.Text = string.sub(text,1,i)
  142. tecks3.Text = string.sub(text,1,i)
  143. wait(0.01)
  144. end
  145. wait(2)
  146. for i = 1, 50 do
  147. swait()
  148. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  149. tecks2.Rotation = tecks2.Rotation - .8
  150. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  151. tecks2.TextTransparency = tecks2.TextTransparency + .04
  152. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  153. tecks3.Rotation = tecks2.Rotation + .8
  154. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  155. tecks3.TextTransparency = tecks2.TextTransparency + .04
  156. end
  157. naeeym2:Destroy()
  158. end)
  159. chat()
  160. end
  161. function onChatted(msg)
  162. chatfunc(msg)
  163. end
  164. local txtfag = Instance.new("BillboardGui", game.Players.LocalPlayer.Character.Head)
  165. txtfag.Adornee = suckadick
  166. txtfag.Name = "kys nigga"
  167. txtfag.Size = UDim2.new(2, 0, 1.2, 0)
  168. txtfag.StudsOffset = Vector3.new(-5, 3, 0)
  169. local textfag = Instance.new("TextLabel", txtfag)
  170. textfag.Size = UDim2.new(6, 0, 1, 0)
  171. textfag.FontSize = "Size8"
  172. textfag.TextScaled = true
  173. textfag.TextTransparency = 0
  174. textfag.BackgroundTransparency = 1
  175. textfag.TextTransparency = 0
  176. textfag.TextStrokeTransparency = 0
  177. textfag.Font = "SourceSans"
  178. textfag.TextStrokeColor3 = Color3.new(0, 1, 0)
  179. v = Instance.new("Part")
  180. v.Name = "ColorBrick"
  181. v.Parent = part
  182. v.FormFactor = "Symmetric"
  183. v.Anchored = true
  184. v.CanCollide = false
  185. v.BottomSurface = "Smooth"
  186. v.TopSurface = "Smooth"
  187. v.Size = Vector3.new(10, 5, 3)
  188. v.Transparency = 0.7
  189. v.BrickColor = game.Players.LocalPlayer.Character.Torso.BrickColor
  190. v.Transparency = 1
  191. textfag.TextColor3 = BrickColor.new("Institutional white").Color
  192. textfag.TextStrokeColor3 = BrickColor.new("Institutional white").Color
  193. v.Shape = "Block"
  194. textfag.Text = "Sad Sans"
  195. coroutine.resume(coroutine.create(function()
  196. while textfag ~= nil do
  197. swait()
  198. textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))
  199. textfag.Rotation = math.random(-3,3)
  200. end
  201. end))
  202. human = humanoidrootpart
  203. neck = headweld
  204. lhand = lhandweld
  205. rhand = rhandweld
  206. rleg = rlegweld
  207. lleg = llegweld
  208. char.Head.face.Texture = "http://www.roblox.com/asset/?id=773027221"
  209. transformation = false
  210. local kills2 = Instance.new("ScreenGui",game.Players.LocalPlayer.PlayerGui) -- This will make a ScreenGui, which shows how much kills ya got.
  211. local text = Instance.new("TextLabel",kills2)
  212. text.Text = "Kills: " .. kills -- Changes the text to "Kills: 0" since the value is 0.
  213. text.Position = UDim2.new(0.728, 0,0.793, 0) -- This position failed, don't know why.
  214. text.Size = UDim2.new(0.271, 0,0.207, 0)
  215. text.TextColor3 = textfag.TextColor3
  216. text.TextScaled = true
  217. text.BackgroundTransparency = 1
  218. local number = Instance.new("NumberValue",char) -- Creates a NumberValue, which is the Kills value.
  219. number.Name = "Kills"
  220. number.Value = kills -- Changes the value to 0.
  221. coroutine.wrap(function() -- Changes value.
  222. while true do
  223. wait(0.01)
  224. number.Value = kills
  225. text.Text = "Kills: " .. number.Value -- Allows text to change.
  226. end
  227. end)()
  228. function Transform(key)
  229. if key == "e" and not transformation then
  230. transformation = true
  231. cananimate = false
  232. for i = 0,1 , 0.03 do
  233. lhand.C0 = lhand.C0:lerp(CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1),i)
  234. lleg.C0 = lleg.C0:lerp(CFrame.new(-0.5, -1.9999913, 0, 1, 0, 0, 0, 0.999995589, 0, 0, 0, 1),i)
  235. rhand.C0 = rhand.C0:lerp(CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1),i)
  236. rleg.C0 = rleg.C0:lerp(CFrame.new(0.5, -1.9999913, 0, 1, 0, 0, 0, 0.999995589, 0, 0, 0, 1),i)
  237. neck.C0 = neck.C0:lerp(CFrame.new(0, 1.4999938, 0, 1, 0, 0, 0, 0.999995708, 0, 0, 0, 1),i)
  238. human.C0 = human.C0:lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.999995708, 0, 0, 0, 1),i)
  239. game:GetService("RunService").RenderStepped:wait()
  240. end
  241. wait(1)
  242. char.Humanoid.WalkSpeed = 0
  243. chatfunc("...")
  244. wait(2)
  245. chatfunc("Chara should die.")
  246. wait(2)
  247.  
  248. local Part = Instance.new("Part", char)
  249. Part.Anchored = true
  250. Part.CanCollide = false
  251. Part.Position = char.Torso.Position
  252. Part.Size = Vector3.new(1,1,1)
  253. Part.Material = "Neon"
  254. local Mesh = Instance.new("SpecialMesh", Part)
  255. Mesh.MeshType = "Sphere"
  256.  
  257. for i = 1,10 do
  258. game:GetService("RunService").RenderStepped:wait()
  259. for i = 1,30 do
  260. game:GetService("RunService").RenderStepped:wait(0.00000001)
  261. Part.Size = Part.Size + Vector3.new(2, 2, 2)
  262. Part.Color = Part.Color:lerp(Color3.fromRGB(255, 255, 255), 0.1)
  263. end
  264.  
  265. for i = 1,30 do
  266. game:GetService("RunService").RenderStepped:wait(0.00000001)
  267. Part.Size = Part.Size - Vector3.new(2, 2, 2)
  268. Part.Color = Part.Color:lerp(Color3.fromRGB(0, 0, 0), 0.1)
  269. end
  270. end
  271. Mesh.MeshType = "Cylinder"
  272. Part.Position = char.Torso.Position
  273. Part.Orientation = Vector3.new(0,0,90)
  274. music.SoundId = "http://www.roblox.com/asset/?id=400786493"
  275. music:Play()
  276. for i = 1,200 do
  277. game:GetService("RunService").RenderStepped:wait(0.00000001)
  278. Mesh.Scale = Mesh.Scale + Vector3.new(10, 0.1, 0.1)
  279. Part.Transparency = Part.Transparency + 0.005
  280. Part.Color = Part.Color:lerp(Color3.fromRGB(255, 255, 0), 0.1)
  281. end
  282. Part:Destroy()
  283. textfag.Text = "Ultimate SANES"
  284. cananimate = true
  285. char.Humanoid.WalkSpeed = 16
  286. chatfunc("Get READY CHARA!")
  287. char.Head.face.Texture = "http://www.roblox.com/asset/?id=897323189"
  288. function onTouched(brick)
  289. local humn = brick.Parent:FindFirstChildOfClass("Humanoid")
  290. if humn then
  291. kills = kills + 1
  292. for i,v in pairs(humn.Parent:GetChildren()) do
  293. if v.ClassName == "Part" then
  294. v.Anchored = true
  295. v.Transparency = 0.5
  296. v.Color = BrickColor.new("Really black").Color
  297. v.CanCollide = false
  298. humn:Destroy()
  299. end
  300. end
  301. end
  302. end
  303. char.Torso.Touched:connect(onTouched)
  304. end
  305. end
  306.  
  307. game.Players.LocalPlayer:GetMouse().KeyDown:connect(Transform)
  308. while true do
  309. wait(0.01)
  310. for i,v in pairs(char:GetChildren()) do
  311. if v.ClassName == "Accessory" or v.ClassName == "Hat" then
  312. v:Destroy()
  313. end
  314. end
  315. if cananimate and not transformation then
  316. --Walking animation
  317. if game.Players.LocalPlayer.Character.Torso.Velocity.x < -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.x > 0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z < -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z > 0.5 and cananimate then
  318. for i = 0.1,0.3 , 0.008 do
  319. if cananimate and not transformation and game.Players.LocalPlayer.Character.Torso.Velocity.x < -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.x > 0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z < -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z > 0.5 and cananimate and not transformation then
  320. human.C0 = human.C0:lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),i)
  321. neck.C0 = neck.C0:lerp(CFrame.new(0, 1.44722462, -0.175569534, 1, 0, 0, 0, 0.957668662, 0.28787294, 0, -0.28787291, 0.957668662),i)
  322. lhand.C0 = lhand.C0:lerp(CFrame.new(-1.5, 0.168842316, -0.374614239, 1, 0, 0, 0, 0.662306964, -0.74923259, 0, 0.74923259, 0.662307084),i)
  323. rhand.C0 = rhand.C0:lerp(CFrame.new(1.5, 0.12597847, 0.331827164, 1, 0, 0, 0, 0.748035073, 0.663659215, 0, -0.663659275, 0.748035014),i)
  324. rleg.C0 = rleg.C0:lerp(CFrame.new(0.5, -1.67391682, -0.738807678, 0.99999994, 0, 0, 0, 0.673916757, -0.738807261, 0, 0.738807321, 0.673916817),i)
  325. lleg.C0 = lleg.C0:lerp(CFrame.new(-0.5, -1.67705727, 0.735931396, 1, 0, 0, 0, 0.677056909, 0.735930681, 0, -0.735930741, 0.677056968),i)
  326. game:GetService("RunService").Stepped:wait()
  327. end
  328. end
  329. for i = 0.1,0.3 , 0.008 do
  330. if cananimate and not transformation and game.Players.LocalPlayer.Character.Torso.Velocity.x < -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.x > 0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z < -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z > 0.5 and cananimate and not transformation then
  331. human.C0 = human.C0:lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),i)
  332. neck.C0 = neck.C0:lerp(CFrame.new(0, 1.44722462, -0.175569534, 1, 0, 0, 0, 0.957668662, 0.28787294, 0, -0.28787291, 0.957668662),i)
  333. rleg.C0 = rleg.C0:lerp(CFrame.new(0.5, -1.69855976, 0.715551376, 1, 0, 0, 0, 0.698559642, 0.715551734, 0, -0.715551794, 0.698559701),i)
  334. lleg.C0 = lleg.C0:lerp(CFrame.new(-0.5, -1.80723953, -0.590223312, 1, 0, 0, 0, 0.807239354, -0.590224087, 0, 0.590224147, 0.807239413),i)
  335. lhand.C0 = lhand.C0:lerp(CFrame.new(-1.5, 0.216003418, 0.411518574, 1, 0, 0, 0, 0.567983389, 0.823040009, 0, -0.823040009, 0.567983389),i)
  336. rhand.C0 = rhand.C0:lerp(CFrame.new(1.5, 0.215018272, -0.41083622, 1, 0, 0, 0, 0.569954693, -0.821676135, 0, 0.821676135, 0.569954753),i)
  337. game:GetService("RunService").Stepped:wait()
  338. end
  339. end
  340. -- Idle animation
  341. elseif game.Players.LocalPlayer.Character.Torso.Velocity.x > -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.x < 0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z > -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z < 0.5 then
  342. for i = 0,1 , 0.03 do
  343. if cananimate and not transformation and game.Players.LocalPlayer.Character.Torso.Velocity.x > -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.x < 0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z > -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z < 0.5 and cananimate and not transformation then
  344. neck.C0 = neck.C0:lerp(CFrame.new(0, 1.44722462, -0.175569534, 1, 0, 0, 0, 0.957668662, 0.28787294, 0, -0.28787291, 0.957668662),i)
  345. lhand.C0 = lhand.C0:lerp(CFrame.new(-0.999992371, 0.403417587, -0.400690079, 0.978886008, -0.198669523, -0.0480909608, -0.0489091128, 0.000789985002, -0.99880302, 0.198469713, 0.98006618, -0.00894344598),i)
  346. rhand.C0 = rhand.C0:lerp(CFrame.new(0.999992371, 0.401778936, -0.300704002, 0.995004237, 0.0998337567, 2.21675634e-07, -8.0173304e-05, 0.000801276532, -0.999999762, -0.0998337343, 0.995003879, 0.000805277436),i)
  347. lleg.C0 = lleg.C0:lerp(CFrame.new(-0.500003815, -0.302405119, -1.00209045, 0.998795688, 1.07394217e-05, 0.0490646139, 0.0144870952, 0.955350697, -0.295119137, -0.0468770824, 0.295474499, 0.954199851),i)
  348. rleg.C0 = rleg.C0:lerp(CFrame.new(0.499988556, -0.299546719, -1.00121117, 0.999991715, 1.10380352e-05, -3.05008143e-06, -1.13286078e-05, 0.955351293, -0.295472056, -2.51282472e-07, 0.295474589, 0.955343246),i)
  349. human.C0 = human.C0:lerp(CFrame.new(0, 1.98613644, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1):inverse(),i)
  350. game:GetService("RunService").RenderStepped:wait()
  351. end
  352. end
  353. end
  354. end
  355. wait()
  356. if cananimate and transformation then
  357. --Walking animation
  358. if game.Players.LocalPlayer.Character.Torso.Velocity.x < -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.x > 0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z < -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z > 0.5 and cananimate and transformation then
  359. for i = 0.1,0.3 , 0.008 do
  360. if cananimate and transformation and game.Players.LocalPlayer.Character.Torso.Velocity.x < -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.x > 0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z < -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z > 0.5 and cananimate and transformation then
  361. neck.C0 = neck.C0:lerp(CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),i)
  362. human.C0 = human.C0:lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),i)
  363. lhand.C0 = lhand.C0:lerp(CFrame.new(-1.5, 0.168842316, -0.374614239, 1, 0, 0, 0, 0.662306964, -0.74923259, 0, 0.74923259, 0.662307084),i)
  364. rhand.C0 = rhand.C0:lerp(CFrame.new(1.5, 0.12597847, 0.331827164, 1, 0, 0, 0, 0.748035073, 0.663659215, 0, -0.663659275, 0.748035014),i)
  365. rleg.C0 = rleg.C0:lerp(CFrame.new(0.5, -1.67391682, -0.738807678, 0.99999994, 0, 0, 0, 0.673916757, -0.738807261, 0, 0.738807321, 0.673916817),i)
  366. lleg.C0 = lleg.C0:lerp(CFrame.new(-0.5, -1.67705727, 0.735931396, 1, 0, 0, 0, 0.677056909, 0.735930681, 0, -0.735930741, 0.677056968),i)
  367. game:GetService("RunService").Stepped:wait()
  368. end
  369. end
  370. for i = 0.1,0.3 , 0.008 do
  371. if cananimate and transformation and game.Players.LocalPlayer.Character.Torso.Velocity.x < -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.x > 0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z < -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z > 0.5 and cananimate and transformation then
  372. neck.C0 = neck.C0:lerp(CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),i)
  373. human.C0 = human.C0:lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),i)
  374. rleg.C0 = rleg.C0:lerp(CFrame.new(0.5, -1.69855976, 0.715551376, 1, 0, 0, 0, 0.698559642, 0.715551734, 0, -0.715551794, 0.698559701),i)
  375. lleg.C0 = lleg.C0:lerp(CFrame.new(-0.5, -1.80723953, -0.590223312, 1, 0, 0, 0, 0.807239354, -0.590224087, 0, 0.590224147, 0.807239413),i)
  376. lhand.C0 = lhand.C0:lerp(CFrame.new(-1.5, 0.216003418, 0.411518574, 1, 0, 0, 0, 0.567983389, 0.823040009, 0, -0.823040009, 0.567983389),i)
  377. rhand.C0 = rhand.C0:lerp(CFrame.new(1.5, 0.215018272, -0.41083622, 1, 0, 0, 0, 0.569954693, -0.821676135, 0, 0.821676135, 0.569954753),i)
  378. game:GetService("RunService").Stepped:wait()
  379. end
  380. end
  381. -- Idle animation
  382. elseif game.Players.LocalPlayer.Character.Torso.Velocity.x > -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.x < 0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z > -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z < 0.5 then
  383. for i = 0,1 , 0.03 do
  384. if cananimate and transformation and game.Players.LocalPlayer.Character.Torso.Velocity.x > -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.x < 0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z > -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z < 0.5 and cananimate and transformation then
  385. headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.49999976, 0, 0.939692736, 2.65673535e-22, -0.342019886, -1.42512683e-22, 1, 3.85227261e-22, 0.342019916, -3.13253081e-22, 0.939692736),i)
  386. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.866025388, -3.86706633e-22, -0.500000238, 2.65673535e-22, 1, -3.13253081e-22, 0.500000238, 1.38448295e-22, 0.866025388):inverse(),i)
  387. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -2, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1),i)
  388. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.790345192, -1.96068549, 0, 0.984807849, 0.173647985, -5.23747954e-22, -0.173647985, 0.984807849, 3.13253081e-22, 5.70186845e-22, -2.1754633e-22, 1),i)
  389. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.65210819, 0.0268206596, 0, 0.984807849, 0.173647985, -5.23747954e-22, -0.173647985, 0.984807849, 3.13253081e-22, 5.70186845e-22, -2.1754633e-22, 1),i)
  390. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.59805298, 0.00370526314, -0.166603565, 0.984807849, -0.173648134, -3.13053391e-07, 0.171009988, 0.969846368, -0.173648238, 0.0301539954, 0.171010062, 0.984807789),i)
  391. game:GetService("RunService").RenderStepped:wait()
  392. end
  393. end
  394. end
  395. end
  396. wait()
  397. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement