kaualima12

animation1

Sep 8th, 2019
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.01 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
  2. do
  3. script.Parent = owner.Character
  4. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  5. local function NewFakeEvent()
  6. local Bind = Instance.new("BindableEvent")
  7. local Fake;Fake = {Connections = {},
  8. fakeEvent=true;
  9. Connect=function(self,Func)
  10. Bind.Event:connect(Func)
  11. self.Connections[Bind] = true
  12. return setmetatable({Connected = true},{
  13. __index = function (self,Index)
  14. if Index:lower() == "disconnect" then
  15. return function() Fake.Connections[Bind] = false;self.Connected = false end
  16. end
  17. return Fake[Index]
  18. end;
  19. __tostring = function() return "Connection" end;
  20. })
  21. end}
  22. Fake.connect = Fake.Connect;return Fake;
  23. end
  24. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  25. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  26. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  27. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  28. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  29. local function TriggerEvent(self,Event,...)
  30. local Trigger = Mouse[Event]
  31. if Trigger and Trigger.fakeEvent and Trigger.Connections then
  32. for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  33. end
  34. end
  35. Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  36. Event.OnServerEvent:Connect(function(FiredBy,Input)
  37. if FiredBy.Name ~= owner.Name then return end
  38. if Input.MouseEvent then
  39. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  40. else
  41. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  42. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  43. for _,Action in pairs(ContextActionService.Actions) do
  44. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  45. end
  46. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  47. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  48. end
  49. end)
  50. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  51. Event.Parent = NLS([[
  52. local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  53. local Input = function(Input,gameProcessedEvent)
  54. if gameProcessedEvent then return end
  55. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  56. end
  57. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  58. local Hit,Target
  59. while wait(1/30) do
  60. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  61. Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  62. end
  63. end
  64. ]],owner.Character)
  65. end
  66. RealGame = game;game = setmetatable({},{
  67. __index = function (self,Index)
  68. local Sandbox = function (Thing)
  69. if Thing:IsA("Player") then
  70. local RealPlayer = Thing
  71. return setmetatable({},{
  72. __index = function (self,Index)
  73. local Type = type(RealPlayer[Index])
  74. if Type == "function" then
  75. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  76. return function (self)return InternalData["Mouse"] end
  77. end
  78. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  79. end
  80. return RealPlayer[Index]
  81. end;
  82. __tostring = function(self) return RealPlayer.Name end
  83. })
  84. end
  85. end
  86. if RealGame[Index] then
  87. local Type = type(RealGame[Index])
  88. if Type == "function" then
  89. if Index:lower() == "getservice" or Index:lower() == "service" then
  90. return function (self,Service)
  91. local FakeServices = {
  92. ["players"] = function()
  93. return setmetatable({},{
  94. __index = function (self2,Index2)
  95. local RealService = RealGame:GetService(Service)
  96. local Type2 = type(Index2)
  97. if Type2 == "function" then
  98. return function (self,...) return RealService[Index2](RealService,...)end
  99. else
  100. if Index2:lower() == "localplayer" then return Sandbox(owner) end
  101. return RealService[Index2]
  102. end
  103. end;
  104. __tostring = function(self) return RealGame:GetService(Service).Name end
  105. })
  106. end;
  107. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  108. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  109. ["runservice"] = function()
  110. return setmetatable({},{
  111. __index = function(self2,Index2)
  112. local RealService = RealGame:GetService(Service)
  113. local Type2 = type(Index2)
  114. if Type2 == "function" then
  115. return function (self,...) return RealService[Index2](RealService,...) end
  116. else
  117. local RunServices = {
  118. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  119. ["renderstepped"] = function() return RealService["Stepped"] end
  120. }
  121. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  122. return RealService[Index2]
  123. end
  124. end
  125. })
  126. end
  127. }
  128. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  129. return RealGame:GetService(Service)
  130. end
  131. end
  132. return function (self,...) return RealGame[Index](RealGame,...) end
  133. else
  134. if game:GetService(Index) then return game:GetService(Index) end
  135. return RealGame[Index]
  136. end
  137. end
  138. return nil
  139. end
  140. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
  141. local oldtick = tick()
  142. warn("Animation rig - By Mewy23")
  143. local plr = game:GetService("Players").LocalPlayer
  144. local char, mouse = plr.Character, plr:GetMouse()
  145. local hitTab = {}
  146. local fadeTab = {}
  147. local spd = 0.2 * char:FindFirstChild("Humanoid").WalkSpeed / 16
  148. local sound1 = Instance.new("Sound", char.HumanoidRootPart)
  149. local sound2 = Instance.new("Sound", char.HumanoidRootPart)
  150. local sound3 = Instance.new("Sound")
  151. sound1.SoundId = "rbxassetid://130767866"
  152. sound1.Volume = 10
  153. sound2.SoundId = "rbxassetid://142684400"
  154. sound2.Volume = 10
  155. sound3.SoundId = "rbxassetid://985132972"
  156. sound3.Volume = 10
  157. local particle = Instance.new("ParticleEmitter")
  158. particle.LightEmission = 0.2
  159. particle.Texture = "rbxassetid://50263573"
  160. particle.Size = NumberSequence.new({
  161. NumberSequenceKeypoint.new(0, 0),
  162. NumberSequenceKeypoint.new(0.5, 1),
  163. NumberSequenceKeypoint.new(1, 0)
  164. })
  165. particle.Acceleration = Vector3.new(0, 0, 0)
  166. particle.Lifetime = NumberRange.new(0.15, 0.3)
  167. particle.Rate = 50
  168. particle.Rotation = NumberRange.new(0, 360)
  169. particle.RotSpeed = NumberRange.new(0, 0)
  170. particle.Speed = NumberRange.new(0, 0)
  171. local dfj = {}
  172. char:WaitForChild("Animate"):Destroy()
  173. char:WaitForChild("Humanoid"):WaitForChild("Animator"):Destroy()
  174. for i, v in pairs(char:FindFirstChild("Torso"):GetChildren()) do
  175. if v:IsA("Motor6D") and v.Name ~= "Neck" then
  176. table.insert(dfj, v:Clone())
  177. v:Destroy()
  178. end
  179. end
  180. local state = "idle"
  181. local rootpart = char:FindFirstChild("HumanoidRootPart")
  182. local rootjoint = rootpart:FindFirstChild("RootJoint")
  183. rootjoint.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(180))
  184. local rarm = Instance.new("Weld", char:FindFirstChild("Right Arm") or nil)
  185. rarm.Part0 = char:FindFirstChild("Torso") or nil
  186. rarm.Part1 = char:FindFirstChild("Right Arm") or nil
  187. rarm.C0 = CFrame.new(1, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  188. rarm.C1 = CFrame.new(-0.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  189. local larm = Instance.new("Weld", char:FindFirstChild("Left Arm") or nil)
  190. larm.Part0 = char:FindFirstChild("Torso") or nil
  191. larm.Part1 = char:FindFirstChild("Left Arm") or nil
  192. larm.C0 = CFrame.new(-1, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  193. larm.C1 = CFrame.new(0.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  194. local rleg = Instance.new("Weld", char:FindFirstChild("Right Leg") or nil)
  195. rleg.Part0 = char:FindFirstChild("Torso") or nil
  196. rleg.Part1 = char:FindFirstChild("Right Leg") or nil
  197. rleg.C0 = CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  198. rleg.C1 = CFrame.new(0.5, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  199. local lleg = Instance.new("Weld", char:FindFirstChild("Left Leg") or nil)
  200. lleg.Part0 = char:FindFirstChild("Torso") or nil
  201. lleg.Part1 = char:FindFirstChild("Left Leg") or nil
  202. lleg.C0 = CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  203. lleg.C1 = CFrame.new(-0.5, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  204. local neck = char:FindFirstChild("Torso"):FindFirstChild("Neck") or nil
  205. neck.Part0 = char:FindFirstChild("Torso") or nil
  206. neck.Part1 = char:FindFirstChild("Head") or nil
  207. neck.C0 = CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  208. neck.C1 = CFrame.new(0, -0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  209. function hitSphere()
  210. local function recSearch(par)
  211. local tab = {}
  212. local function rec(parent)
  213. if parent:IsA("Humanoid") and parent ~= char:FindFirstChildOfClass("Humanoid") then
  214. table.insert(tab, parent)
  215. end
  216. for i, v in pairs(parent:GetChildren()) do
  217. rec(v)
  218. end
  219. end
  220. rec(par)
  221. return tab
  222. end
  223. local humsFound = {}
  224. for i, v in pairs(recSearch(workspace)) do
  225. table.insert(humsFound, v)
  226. end
  227. return humsFound
  228. end
  229. mouse.Button1Down:connect(function()
  230. if state ~= "busy" then
  231. state = "busy"
  232. do
  233. local foundHums = {}
  234. local prtcls = {}
  235. local sounds = {}
  236. local parts = {}
  237. sound1:Play()
  238. local hit = false
  239. local toggle = false
  240. local frmcon
  241. local frame = 0
  242. frmcon = game:service("RunService").RenderStepped:connect(function()
  243. frame = frame + 1
  244. if frame / 4 == math.floor(frame / 4) then
  245. if toggle == false then
  246. toggle = true
  247. else
  248. toggle = false
  249. end
  250. end
  251. if toggle == true then
  252. rleg.C0 = rleg.C0:lerp(CFrame.new(1, -1 - math.cos(tick()) / 16, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), spd)
  253. lleg.C0 = lleg.C0:lerp(CFrame.new(-1, -1 - math.cos(tick()) / 16, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), spd)
  254. rarm.C0 = rarm.C0:lerp(CFrame.new(1, 0.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(45)), spd * 1.5)
  255. larm.C0 = larm.C0:lerp(CFrame.new(-1, 0.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90)), spd * 1.5)
  256. rootjoint.C0 = rootjoint.C0:lerp(CFrame.new(0, math.cos(tick()) / 16, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(225)), spd * 1.5)
  257. neck.C0 = neck.C0:lerp(CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(-45), math.rad(0)), spd * 1.5)
  258. else
  259. rleg.C0 = rleg.C0:lerp(CFrame.new(1, -1 - math.cos(tick()) / 16, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), spd)
  260. lleg.C0 = lleg.C0:lerp(CFrame.new(-1, -1 - math.cos(tick()) / 16, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), spd)
  261. rarm.C0 = rarm.C0:lerp(CFrame.new(1, 0.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), spd * 1.5)
  262. larm.C0 = larm.C0:lerp(CFrame.new(-1, 0.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-45)), spd * 1.5)
  263. rootjoint.C0 = rootjoint.C0:lerp(CFrame.new(0, math.cos(tick()) / 16, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(135)), spd * 1.5)
  264. neck.C0 = neck.C0:lerp(CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(0)), spd * 1.5)
  265. end
  266. if frame % 5 == 0 then
  267. for i, v in pairs(hitSphere()) do
  268. for o, b in pairs(v.Parent:GetChildren()) do
  269. if b:IsA("BasePart") and 4 >= (b.Position - rootjoint.Parent.CFrame * CFrame.new(0, 0, -2.25).p).Magnitude then
  270. hit = true
  271. if foundHums[v] then
  272. foundHums[v] = foundHums[v] + 1
  273. else
  274. foundHums[v] = 1
  275. local ns = sound3:Clone()
  276. ns.Parent = b
  277. table.insert(sounds, ns)
  278. end
  279. if not prtcls[b] then
  280. partClone = particle:Clone()
  281. partClone.Enabled = false
  282. partClone.Parent = b
  283. prtcls[b] = partClone
  284. end
  285. local p = Instance.new("Part")
  286. p.Size = Vector3.new(0.2, 0.2, 0.2)
  287. p.Color = Color3.new(1, 1, 1)
  288. p.TopSurface = "Smooth"
  289. p.BottomSurface = "Smooth"
  290. p.Anchored = true
  291. p.CanCollide = false
  292. p.Shape = "Ball"
  293. p.CFrame = CFrame.new(b.CFrame.p + Vector3.new(math.random(-10, 10) / 10, math.random(-10, 10) / 10, math.random(-10, 10) / 10))
  294. p.Parent = workspace
  295. table.insert(fadeTab, p)
  296. parts[b] = b
  297. end
  298. end
  299. end
  300. end
  301. end)
  302. local bucon
  303. bucon = mouse.Button1Up:connect(function()
  304. frmcon:disconnect()
  305. sound1:Stop()
  306. state = "idle"
  307. if hit == true then
  308. sound2:Play()
  309. wait(2.7)
  310. for i, v in pairs(sounds) do
  311. spawn(function()
  312. wait(math.random(0, 100) / 600)
  313. v.TimePosition = 2.5
  314. v:Play()
  315. end)
  316. end
  317. wait(1.2)
  318. for i, v in pairs(prtcls) do
  319. v.Enabled = true
  320. end
  321. wait(1.3)
  322. spawn(function()
  323. local rcon
  324. local frame = 0
  325. rcon = game:service("RunService").RenderStepped:connect(function()
  326. frame = frame + 1
  327. for i, v in pairs(sounds) do
  328. v.Volume = 10 - frame / 5
  329. if v.Volume <= 0 then
  330. v.Volume = 0
  331. v:Destroy()
  332. end
  333. end
  334. if frame >= 200 then
  335. for i, v in pairs(sounds) do
  336. v:Destroy()
  337. end
  338. end
  339. end)
  340. end)
  341. for i, v in pairs(parts) do
  342. v.RotVelocity = Vector3.new(math.random(-100, 100), math.random(-100, 100), math.random(-100, 100))
  343. v.Velocity = v.Velocity + Vector3.new(0, 20, 0)
  344. local bvel = Instance.new("BodyVelocity", v)
  345. bvel.MaxForce = Vector3.new(1000000, 1000000, 1000000)
  346. bvel.Velocity = Vector3.new(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  347. game:service("Debris"):AddItem(bvel, 0.5)
  348. end
  349. for i, v in pairs(foundHums) do
  350. if i.MaxHealth >= math.huge then
  351. i.MaxHealth = 100
  352. end
  353. i.Health = 0
  354. end
  355. wait(0.7)
  356. for i, v in pairs(prtcls) do
  357. v.Enabled = false
  358. end
  359. end
  360. bucon:disconnect()
  361. end)
  362. end
  363. end
  364. end)
  365. game:GetService("RunService").Heartbeat:connect(function()
  366. for i, v in pairs(fadeTab) do
  367. v.Transparency = v.Transparency + 0.1
  368. local savecf = v.CFrame
  369. v.Size = v.Size + Vector3.new(0.3, 0.3, 0.3)
  370. v.CFrame = savecf
  371. end
  372. local isub = 0
  373. for i = 1, #fadeTab do
  374. if fadeTab[i - isub].Transparency >= 1 then
  375. fadeTab[i - isub]:Destroy()
  376. table.remove(fadeTab, i - isub)
  377. isub = isub + 1
  378. end
  379. end
  380. char:FindFirstChild("Humanoid").WalkSpeed = 26
  381. spd = 0.2 * char:FindFirstChild("Humanoid").WalkSpeed / 16
  382. if state ~= "busy" then
  383. local ray = Ray.new(rootpart.Position, Vector3.new(0, -4, 0))
  384. local part, pos, normal = workspace:FindPartOnRayWithIgnoreList(ray, char:GetChildren(), false, true)
  385. if rootpart.Velocity.Magnitude > 0.5 and part ~= nil then
  386. state = "running"
  387. elseif rootpart.Velocity.Magnitude <= 0.5 and part ~= nil then
  388. state = "idle"
  389. elseif 0 < rootpart.Velocity.Y and part == nil then
  390. state = "jumping"
  391. elseif 0 >= rootpart.Velocity.Y and part == nil then
  392. state = "falling"
  393. end
  394. if state == "idle" then
  395. rleg.C0 = rleg.C0:lerp(CFrame.new(1, -1 - math.cos(tick()) / 16, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), spd)
  396. lleg.C0 = lleg.C0:lerp(CFrame.new(-1, -1 - math.cos(tick()) / 16, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), spd)
  397. rarm.C0 = rarm.C0:lerp(CFrame.new(1, 0.5 + math.cos(tick() + 0.5) / 16, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad((math.cos(tick()) + 1) / 16) * 20), spd)
  398. larm.C0 = larm.C0:lerp(CFrame.new(-1, 0.5 + math.cos(tick() + 0.5) / 16, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-(math.cos(tick()) + 1) / 16) * 20), spd)
  399. rootjoint.C0 = rootjoint.C0:lerp(CFrame.new(0, math.cos(tick()) / 16, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(180)), spd)
  400. neck.C0 = neck.C0:lerp(CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), spd)
  401. elseif state == "running" then
  402. rleg.C0 = rleg.C0:lerp(CFrame.new(1, -1 - -math.sin(tick() * 8 + 90) / 8, math.sin(tick() * 8 + 90) / 10) * CFrame.Angles(math.rad(math.sin(tick() * 8) * 60), math.rad(0), math.rad(0)), spd)
  403. lleg.C0 = lleg.C0:lerp(CFrame.new(-1, -1 - math.sin(tick() * 8 + 90) / 8, -math.sin(tick() * 8 + 90) / 10) * CFrame.Angles(-math.rad(math.sin(tick() * 8) * 60), math.rad(0), math.rad(0)), spd)
  404. rarm.C0 = rarm.C0:lerp(CFrame.new(1, 0.5, 0) * CFrame.Angles(math.rad(math.sin(tick() * 8) * 80), math.rad(0), math.rad(0)), spd)
  405. larm.C0 = larm.C0:lerp(CFrame.new(-1, 0.5, 0) * CFrame.Angles(-math.rad(math.sin(tick() * 8) * 80), math.rad(0), math.rad(0)), spd)
  406. rootjoint.C0 = rootjoint.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-110), math.rad(0), math.rad(180)), spd)
  407. neck.C0 = neck.C0:lerp(CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), spd)
  408. elseif state == "jumping" then
  409. rleg.C0 = rleg.C0:lerp(CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), spd)
  410. lleg.C0 = lleg.C0:lerp(CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), spd)
  411. rarm.C0 = rarm.C0:lerp(CFrame.new(1, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), spd)
  412. larm.C0 = larm.C0:lerp(CFrame.new(-1, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), spd)
  413. rootjoint.C0 = rootjoint.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(180)), spd)
  414. neck.C0 = neck.C0:lerp(CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), spd)
  415. elseif state == "falling" then
  416. rleg.C0 = rleg.C0:lerp(CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), spd)
  417. lleg.C0 = lleg.C0:lerp(CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), spd)
  418. rarm.C0 = rarm.C0:lerp(CFrame.new(1, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), spd)
  419. larm.C0 = larm.C0:lerp(CFrame.new(-1, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), spd)
  420. rootjoint.C0 = rootjoint.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(180)), spd)
  421. neck.C0 = neck.C0:lerp(CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), spd)
  422. end
  423. end
  424. end)
  425. warn("Loaded! Time elapsed: " .. tick() - oldtick)
Advertisement
Add Comment
Please, Sign In to add comment