Advertisement
Guest User

SAD GUEST 666

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