Advertisement
DaOMEGAa32

fe classic robloxain

May 18th, 2019
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.97 KB | None | 0 0
  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
  6. print("FE Compatibility code V2 by Mokiros")
  7. local RealPlayer = RealPlayer
  8. script.Parent = RealPlayer.Character
  9.  
  10. --Fake event to make stuff like Mouse.KeyDown work
  11. local Disconnect_Function = function(this)
  12. this[1].Functions[this[2]] = nil
  13. end
  14. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  15. local FakeEvent_Metatable = {__index={
  16. Connect = function(this,f)
  17. local i = tostring(math.random(0,10000))
  18. while this.Functions[i] do
  19. i = tostring(math.random(0,10000))
  20. end
  21. this.Functions[i] = f
  22. return setmetatable({this,i},Disconnect_Metatable)
  23. end
  24. }}
  25. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  26. local function fakeEvent()
  27. return setmetatable({Functions={}},FakeEvent_Metatable)
  28. end
  29.  
  30. --Creating fake input objects with fake variables
  31. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  32. FakeMouse.keyUp = FakeMouse.KeyUp
  33. FakeMouse.keyDown = FakeMouse.KeyDown
  34. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  35. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  36. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  37. end}
  38. --Merged 2 functions into one by checking amount of arguments
  39. CAS.UnbindAction = CAS.BindAction
  40.  
  41. --This function will trigger the events that have been :Connect()'ed
  42. local function TriggerEvent(self,ev,...)
  43. for _,f in pairs(self[ev].Functions) do
  44. f(...)
  45. end
  46. end
  47. FakeMouse.TriggerEvent = TriggerEvent
  48. UIS.TriggerEvent = TriggerEvent
  49.  
  50. --Client communication
  51. local Event = Instance.new("RemoteEvent")
  52. Event.Name = "UserInput_Event"
  53. Event.OnServerEvent:Connect(function(plr,io)
  54. if plr~=RealPlayer then return end
  55. FakeMouse.Target = io.Target
  56. FakeMouse.Hit = io.Hit
  57. if not io.isMouse then
  58. local b = io.UserInputState == Enum.UserInputState.Begin
  59. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  60. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  61. end
  62. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  63. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  64. end
  65. for _,t in pairs(CAS.Actions) do
  66. for _,k in pairs(t.Keys) do
  67. if k==io.KeyCode then
  68. t.Function(t.Name,io.UserInputState,io)
  69. end
  70. end
  71. end
  72. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  73. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  74. end
  75. end)
  76. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  77. local Mouse = owner:GetMouse()
  78. local UIS = game:GetService("UserInputService")
  79. local input = function(io,RobloxHandled)
  80. if RobloxHandled then return end
  81. --Since InputObject is a client-side instance, we create and pass table instead
  82. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  83. end
  84. UIS.InputBegan:Connect(input)
  85. UIS.InputEnded:Connect(input)
  86.  
  87. local h,t
  88. --Give the server mouse data every second frame, but only if the values changed
  89. --If player is not moving their mouse, client won't fire events
  90. local HB = game:GetService("RunService").Heartbeat
  91. while true do
  92. if h~=Mouse.Hit or t~=Mouse.Target then
  93. h,t=Mouse.Hit,Mouse.Target
  94. Event:FireServer({isMouse=true,Target=t,Hit=h})
  95. end
  96. --Wait 2 frames
  97. for i=1,2 do
  98. HB:Wait()
  99. end
  100. end]==],script)
  101.  
  102. ----Sandboxed game object that allows the usage of client-side methods and services
  103. --Real game object
  104. local RealGame = game
  105.  
  106. --Metatable for fake service
  107. local FakeService_Metatable = {
  108. __index = function(self,k)
  109. local s = rawget(self,"_RealService")
  110. if s then
  111. return typeof(s[k])=="function"
  112. and function(_,...)return s[k](s,...)end or s[k]
  113. end
  114. end,
  115. __newindex = function(self,k,v)
  116. local s = rawget(self,"_RealService")
  117. if s then s[k]=v end
  118. end
  119. }
  120. local function FakeService(t,RealService)
  121. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  122. return setmetatable(t,FakeService_Metatable)
  123. end
  124.  
  125. --Fake game object
  126. local FakeGame = {
  127. GetService = function(self,s)
  128. return rawget(self,s) or RealGame:GetService(s)
  129. end,
  130. Players = FakeService({
  131. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  132. },"Players"),
  133. UserInputService = FakeService(UIS,"UserInputService"),
  134. ContextActionService = FakeService(CAS,"ContextActionService"),
  135. RunService = FakeService({
  136. _btrs = {},
  137. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  138. BindToRenderStep = function(self,name,_,fun)
  139. self._btrs[name] = self.Heartbeat:Connect(fun)
  140. end,
  141. UnbindFromRenderStep = function(self,name)
  142. self._btrs[name]:Disconnect()
  143. end,
  144. },"RunService")
  145. }
  146. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  147. FakeGame.service = FakeGame.GetService
  148. FakeService(FakeGame,game)
  149. --Changing owner to fake player object to support owner:GetMouse()
  150. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  151. end
  152. plr = game.Players.LocalPlayer
  153. char = plr.Character
  154.  
  155. wait(1)
  156. local player = game.Players.LocalPlayer
  157.  
  158.  
  159. local chara = workspace:WaitForChild(player.Name)
  160. local human = chara.Humanoid
  161. local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone()
  162. local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  163. rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  164. rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
  165. rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  166. local lhandclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone()
  167. local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  168. lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  169. lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"]
  170. lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  171. local llegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  172. llegweld.Part0 = game.Players.LocalPlayer.Character.Torso
  173. llegweld.Part1 = game.Players.LocalPlayer.Character["Left Leg"]
  174. llegweld.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) * CFrame.new(0,-1,0)
  175. local rlegclone = game.Players.LocalPlayer.Character.Torso["Right Hip"]:Clone()
  176. game.Players.LocalPlayer.Character.Torso["Right Hip"]:Remove()
  177. local rlegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  178. rlegweld.Part0 = game.Players.LocalPlayer.Character.Torso
  179. rlegweld.Part1 = game.Players.LocalPlayer.Character["Right Leg"]
  180. rlegweld.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) * CFrame.new(0,-1,0)
  181. local gui = Instance.new("ScreenGui",plr.PlayerGui)
  182. local image = Instance.new("ImageButton",gui)
  183. image.Image = "rbxasset://Textures/Bomb.png"
  184. image.BackgroundTransparency = 0.3
  185. image.BorderSizePixel = 0
  186. image.Position = UDim2.new(0.003, 0, 0.798, 0)
  187. image.Size = UDim2.new(0, 100, 0, 100)
  188. image.MouseButton1Click:connect(function() -- Spawn bomb function
  189. local bomb = Instance.new("Part",workspace)
  190. bomb.Size = Vector3.new(2, 2, 2)
  191. bomb.CFrame = char.Torso.CFrame
  192. local m = Instance.new("FileMesh",bomb)
  193. m.MeshId = "rbxasset://fonts/timebomb.mesh"
  194. m.TextureId = "rbxasset://textures/bombtex.png"
  195. bomb.Name = "b0mb"
  196. local updateInterval = .4
  197.  
  198. local currentColor = 1
  199. local colors = {26, 21}
  200.  
  201. local ticksound = Instance.new("Sound")
  202. ticksound.SoundId = "rbxasset://sounds\\clickfast.wav"
  203. ticksound.Parent = bomb
  204.  
  205. function update()
  206. updateInterval = updateInterval * .9
  207. bomb.BrickColor = BrickColor.new(colors[currentColor])
  208. currentColor = currentColor + 1
  209. if (currentColor > 2) then currentColor = 1 end
  210. end
  211.  
  212.  
  213. function blowUp()
  214. local sound = Instance.new("Sound")
  215. sound.SoundId = "rbxasset://sounds\\Rocket shot.wav"
  216. sound.Parent = bomb
  217. sound.Volume = 1
  218. sound:play()
  219. explosion = Instance.new("Explosion")
  220. explosion.BlastRadius = 12
  221. explosion.BlastPressure = 1000000 -- these are really wussy units
  222.  
  223. -- find instigator tag
  224. local creator = char:findFirstChild("creator")
  225. if creator ~= nil then
  226. explosion.Hit:connect(function(part, distance) onPlayerBlownUp(part, distance, creator) end)
  227. end
  228.  
  229. explosion.Position = bomb.Position
  230. explosion.Parent = game.Workspace
  231. bomb.Transparency = 1
  232. end
  233.  
  234. function onPlayerBlownUp(part, distance, creator)
  235. if part.Name == "Head" then
  236. local humanoid = part.Parent.Humanoid
  237. tagHumanoid(humanoid, creator)
  238. end
  239. end
  240.  
  241. function tagHumanoid(humanoid, creator)
  242. -- tag does not need to expire iff all explosions lethal
  243. if creator ~= nil then
  244. local new_tag = creator:clone()
  245. new_tag.Parent = humanoid
  246. end
  247. end
  248.  
  249. function untagHumanoid(humanoid)
  250. if humanoid ~= nil then
  251. local tag = humanoid:findFirstChild("creator")
  252. if tag ~= nil then
  253. tag.Parent = nil
  254. end
  255. end
  256. end
  257.  
  258. while updateInterval > .1 do
  259. wait(updateInterval)
  260. update()
  261. ticksound:play()
  262. end
  263.  
  264. blowUp()
  265. game:GetService("Debris"):AddItem(bomb,5)
  266. end)
  267. mouse = plr:GetMouse()
  268. char.Humanoid.Name = "OldRobloxianxd"
  269. coroutine.wrap(function()
  270. while true do
  271. wait(0.01)
  272. char["OldRobloxianxd"].MaxHealth = math.huge
  273. char["OldRobloxianxd"].Health = math.huge
  274. end
  275. end)()
  276. function use()
  277. --Converted with ttyyuu12345's model to script plugin v4
  278. function sandbox(var,func)
  279. local env = getfenv(func)
  280. local newenv = setmetatable({},{
  281. __index = function(self,k)
  282. if k=="script" then
  283. return var
  284. else
  285. return env[k]
  286. end
  287. end,
  288. })
  289. setfenv(func,newenv)
  290. return func
  291. end
  292. cors = {}
  293. mas = Instance.new("Model",game:GetService("Lighting"))
  294. Part0 = Instance.new("Part")
  295. Sound1 = Instance.new("Sound")
  296. Part0.Name = "Handle"
  297. Part0.Parent = mas
  298. Part0.BrickColor = BrickColor.new("Bright red")
  299. Part0.Reflectance = 0.20000000298023
  300. Part0.Rotation = Vector3.new(-179.860001, -70.6500015, -179.869995)
  301. Part0.Elasticity = 1
  302. Part0.FormFactor = Enum.FormFactor.Symmetric
  303. Part0.Friction = 0
  304. Part0.Shape = Enum.PartType.Ball
  305. Part0.Size = Vector3.new(2, 2, 2)
  306. Part0.CFrame = game.Players.LocalPlayer.Character.Head.CFrame * CFrame.new(0,0,-3)
  307. Part0.BottomSurface = Enum.SurfaceType.Smooth
  308. Part0.TopSurface = Enum.SurfaceType.Smooth
  309. Part0.Color = Color3.new(0.768628, 0.156863, 0.109804)
  310. Part0.Orientation = Vector3.new(-0.049999997, -109.349998, 0)
  311. Part0.Color = Color3.new(0.768628, 0.156863, 0.109804)
  312. Sound1.Name = "Boing"
  313. Sound1.Parent = Part0
  314. Sound1.SoundId = "rbxasset://sounds//short spring sound.wav"
  315. Sound1.Volume = 10
  316. for i,v in pairs(mas:GetChildren()) do
  317. v.Parent = game:GetService("Players").LocalPlayer.Character
  318. pcall(function() v:MakeJoints() end)
  319. end
  320. mas:Destroy()
  321. for i,v in pairs(cors) do
  322. spawn(function()
  323. pcall(v)
  324. end)
  325. end
  326. Sound1:Play()
  327. local vel = Instance.new("BodyVelocity", Part0)
  328. vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  329. vel.Velocity = mouse.Hit.lookVector * 140
  330. local function tou(part)
  331. local humanoid = part.Parent:findFirstChildOfClass("Humanoid")
  332. if humanoid then
  333. humanoid.Health = humanoid.Health - 1
  334. end
  335. end
  336. Part0.Touched:connect(tou)
  337. wait()
  338. vel:destroy()
  339. end
  340. mouse.Button1Down:connect(use)
  341. local pose = "Standing"
  342.  
  343. local speed = 0
  344.  
  345. human.Running:connect(function(s)
  346. speed = s
  347. end)
  348. cananimate = true
  349. local update = game:GetService("RunService")
  350. update.RenderStepped:connect(function()
  351. local ray = Ray.new(chara.Torso.Position, (chara.Torso.Position - Vector3.new(0,9999999,0)).unit * 300)
  352. local p, position = game.Workspace:FindPartOnRay(ray, char, true, false)
  353. local dis = (chara.Torso.Position - position).magnitude
  354. if dis > 3.8 and chara.Torso.Velocity.Y > 0 then
  355. pose = "Jumping"
  356. end
  357. if dis> 3.8 and chara.Torso.Velocity.Y < 0 then
  358. pose = "Falling"
  359. end
  360. if dis < 3.8 and speed == 0 then
  361. pose = "Standing"
  362. end
  363. if dis < 3.8 and speed > 0 then
  364. pose = "Walking"
  365. end
  366. end)
  367. if game.Players.LocalPlayer.Character:findFirstChild("Shirt Graphic") then
  368. game.Players.LocalPlayer.Character["Shirt Graphic"]:destroy()
  369. end
  370. local decal = Instance.new("Decal", game.Players.LocalPlayer.Character)
  371. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  372. if v.ClassName == "Part" then
  373. if v.Name == "Head" then
  374. local torsotec = Instance.new("Decal", torso)
  375. torsotec.Texture = "http://www.roblox.com/asset/?id=782560028"
  376. local headd = Instance.new("Decal", v)
  377. headd.Texture = "http://www.roblox.com/asset/?id=20676546"
  378. else
  379. v.Transparency = 0
  380. char.HumanoidRootPart.Transparency = 1
  381. end
  382. end
  383. if v.ClassName == "Accessory" or v.ClassName == "Hat" then
  384. v:destroy()
  385. end
  386. end
  387. if game.Players.LocalPlayer.Character.Head:findFirstChild("face") then
  388. game.Players.LocalPlayer.Character.Head["face"]:destroy()
  389. end
  390. rhand = Instance.new("Part", game.Players.LocalPlayer.Character)
  391. rhand.Size = game.Players.LocalPlayer.Character["Right Arm"].Size
  392. rhand.TopSurface = "Smooth"
  393. rhand.BottomSurface = "Smooth"
  394. rhand.Parent = game.Players.LocalPlayer.Character
  395. rhand:BreakJoints()
  396. rhand.CanCollide = false
  397. rhweld = Instance.new("Weld", rhand)
  398. rhweld.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
  399. rhweld.Part1 = rhand
  400. --
  401. lhand = Instance.new("Part", game.Players.LocalPlayer.Character)
  402. lhand.Size = game.Players.LocalPlayer.Character["Left Arm"].Size
  403. lhand.TopSurface = "Smooth"
  404. lhand.BottomSurface = "Smooth"
  405. lhand.CanCollide = false
  406. lhand.Parent = game.Players.LocalPlayer.Character
  407. lhand:BreakJoints()
  408. rhweld1 = Instance.new("Weld", lhand)
  409. rhweld1.Part0 = game.Players.LocalPlayer.Character["Left Arm"]
  410. rhweld1.Part1 = lhand
  411. --
  412. lleg = Instance.new("Part", game.Players.LocalPlayer.Character)
  413. lleg.Size = game.Players.LocalPlayer.Character["Left Leg"].Size
  414. lleg.TopSurface = "Smooth"
  415. lleg.CanCollide = false
  416. lleg.BottomSurface = "Smooth"
  417. lleg.Parent = game.Players.LocalPlayer.Character
  418. lleg:BreakJoints()
  419. rhweld11 = Instance.new("Weld", lleg)
  420. rhweld11.Part0 = game.Players.LocalPlayer.Character["Left Leg"]
  421. rhweld11.Part1 = lleg
  422. --
  423. rleg = Instance.new("Part", game.Players.LocalPlayer.Character)
  424. rleg.Size = game.Players.LocalPlayer.Character["Right Leg"].Size
  425. rleg.TopSurface = "Smooth"
  426. rleg.BottomSurface = "Smooth"
  427. rleg.Parent = game.Players.LocalPlayer.Character
  428. rleg.CanCollide = false
  429. rleg:BreakJoints()
  430. rhweld111 = Instance.new("Weld", rleg)
  431. rhweld111.Part0 = game.Players.LocalPlayer.Character["Right Leg"]
  432. rhweld111.Part1 = rleg
  433. --
  434. torso = Instance.new("Part", game.Players.LocalPlayer.Character)
  435. torso.Size = game.Players.LocalPlayer.Character.Torso.Size
  436. torso.TopSurface = "Smooth"
  437. torso.BottomSurface = "Smooth"
  438. torso.CanCollide = false
  439. torso.Parent = game.Players.LocalPlayer.Character
  440. torso:BreakJoints()
  441. rhweld1111 = Instance.new("Weld", torso)
  442. rhweld1111.Part0 = game.Players.LocalPlayer.Character.Torso
  443. rhweld1111.Part1 = torso
  444. rhand.Color = game.Players.LocalPlayer.Character["Right Arm"].Color
  445. lhand.Color = game.Players.LocalPlayer.Character["Left Arm"].Color
  446. rleg.Color = game.Players.LocalPlayer.Character["Right Leg"].Color
  447. torso.Color = game.Players.LocalPlayer.Character.Torso.Color
  448. lleg.Color = game.Players.LocalPlayer.Character["Left Leg"].Color
  449. local mo = Instance.new("Model",char)
  450. rhand.Parent = mo
  451. lhand.Parent = mo
  452. lleg.Parent = mo
  453. rleg.Parent = mo
  454. torso.Parent = mo
  455. for i,v in pairs(mo:GetChildren()) do
  456. if v.ClassName == "Part" then
  457. v.Transparency = 1
  458. end
  459. end
  460. local leftarm = Instance.new("CharacterMesh",char)
  461. leftarm.BodyPart = "LeftArm"
  462. leftarm.MeshId = "1112256772"
  463. local leftleg = Instance.new("CharacterMesh",char)
  464. leftleg.BodyPart = "LeftLeg"
  465. leftleg.MeshId = "1112275294"
  466. local rightarm = Instance.new("CharacterMesh",char)
  467. rightarm.BodyPart = "RightArm"
  468. rightarm.MeshId = "1112244824"
  469. local rightleg = Instance.new("CharacterMesh",char)
  470. rightleg.BodyPart = "RightLeg"
  471. rightleg.MeshId = "1112267576"
  472. local torso = Instance.new("CharacterMesh",char)
  473. torso.BodyPart = "Torso"
  474. torso.MeshId = "1112228624"
  475. decal = Instance.new("Decal", torso)
  476. decal.Texture = "http://www.roblox.com/asset/?id=782560028"
  477. nostalgie = Instance.new("Sound", game.Players.LocalPlayer.Character)
  478. nostalgie.SoundId = "rbxassetid://1000016620"
  479. nostalgie.Looped = true
  480. nostalgie:Play()
  481. nostalgie.Volume = 1
  482. canuse = true
  483. while true do
  484. wait()
  485. if pose == "Standing" and cananimate then
  486. for i = 0,1 , 0.05 do
  487. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1),i)
  488. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1),i)
  489. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.99999988, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i)
  490. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.99999988, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i)
  491. update.RenderStepped:wait()
  492. end
  493.  
  494. end
  495. if pose == "Walking" and cananimate then
  496. for i = 0.1,0.3 , 0.008 do
  497. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0.168842316, -0.374614239, 1, 0, 0, 0, 0.662306964, -0.74923259, 0, 0.74923259, 0.662307084),i)
  498. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0.12597847, 0.331827164, 1, 0, 0, 0, 0.748035073, 0.663659215, 0, -0.663659275, 0.748035014),i)
  499. rlegweld.C0 = rlegweld.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)
  500. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.67705727, 0.735931396, 1, 0, 0, 0, 0.677056909, 0.735930681, 0, -0.735930741, 0.677056968),i)
  501. game:GetService("RunService").Stepped:wait()
  502. end
  503. for i = 0.1,0.3 , 0.008 do
  504. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.69855976, 0.715551376, 1, 0, 0, 0, 0.698559642, 0.715551734, 0, -0.715551794, 0.698559701),i)
  505. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.80723953, -0.590223312, 1, 0, 0, 0, 0.807239354, -0.590224087, 0, 0.590224147, 0.807239413),i)
  506. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0.216003418, 0.411518574, 1, 0, 0, 0, 0.567983389, 0.823040009, 0, -0.823040009, 0.567983389),i)
  507. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0.215018272, -0.41083622, 1, 0, 0, 0, 0.569954693, -0.821676135, 0, 0.821676135, 0.569954753),i)
  508. game:GetService("RunService").Stepped:wait()
  509. end
  510. end
  511. end
  512. if pose == "Jumping" and cananimate then
  513. for i = 0,1 , 0.05 do
  514. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(11.5, 0.999999285, 0.000862598419, 1, 0, 0, 0, -0.99999845, 0.00172528333, 0, -0.00172528345, -0.99999851),i)
  515. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0.999960184, -0.00631046295, 1, 0, 0, 0, -0.999920309, -0.0126213925, 0, 0.0126213934, -0.999920368),i)
  516. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.99999988, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i)
  517. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.99999988, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i)
  518. update.RenderStepped:wait()
  519. end
  520. end
  521. if pose == "Falling" and cananimate then
  522. for i = 0,1 , 0.05 do
  523. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(11.5, 0.999999285, 0.000862598419, 1, 0, 0, 0, -0.99999845, 0.00172528333, 0, -0.00172528345, -0.99999851),i)
  524. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0.999960184, -0.00631046295, 1, 0, 0, 0, -0.999920309, -0.0126213925, 0, 0.0126213934, -0.999920368),i)
  525. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.99999988, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i)
  526. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.99999988, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i)
  527. update.RenderStepped:wait()
  528. end
  529. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement