Advertisement
buildermanwannabe

BEE roblox script

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