Advertisement
samuelrichter66

old roblox FE

Apr 14th, 2019
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.23 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.  
  153.  
  154.  
  155.  
  156. samuelrichter66 = game.Players.samuelrichter66
  157. char = samuelrichter66.Character
  158.  
  159. wait(1)
  160. local player = game.Players.samuelrichter66
  161.  
  162.  
  163. local chara = workspace:WaitForChild(player.Name)
  164. local human = chara.Humanoid
  165. local rhandclone = game.Players.samuelrichter66.Character.Torso["Right Shoulder"]:Clone()
  166. local rhandweld = Instance.new("Weld", game.Players.samuelrichter66.Character.Torso)
  167. rhandweld.Part0 = game.Players.samuelrichter66.Character.Torso
  168. rhandweld.Part1 = game.Players.samuelrichter66.Character["Right Arm"]
  169. rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  170. local lhandclone = game.Players.samuelrichter66.Character.Torso["Left Shoulder"]:Clone()
  171. local lhandweld = Instance.new("Weld", game.Players.samuelrichter66.Character.Torso)
  172. lhandweld.Part0 = game.Players.samuelrichter66.Character.Torso
  173. lhandweld.Part1 = game.Players.samuelrichter66.Character["Left Arm"]
  174. lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  175. local llegweld = Instance.new("Weld", game.Players.samuelrichter66.Character.Torso)
  176. llegweld.Part0 = game.Players.samuelrichter66.Character.Torso
  177. llegweld.Part1 = game.Players.samuelrichter66.Character["Left Leg"]
  178. llegweld.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) * CFrame.new(0,-1,0)
  179. local rlegclone = game.Players.samuelrichter66.Character.Torso["Right Hip"]:Clone()
  180. game.Players.samuelrichter66.Character.Torso["Right Hip"]:Remove()
  181. local rlegweld = Instance.new("Weld", game.Players.samuelrichter66.Character.Torso)
  182. rlegweld.Part0 = game.Players.samuelrichter66.Character.Torso
  183. rlegweld.Part1 = game.Players.samuelrichter66.Character["Right Leg"]
  184. rlegweld.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) * CFrame.new(0,-1,0)
  185. local gui = Instance.new("ScreenGui",samuelrichter66.PlayerGui)
  186. local image = Instance.new("ImageButton",gui)
  187. image.Image = "rbxasset://Textures/Bomb.png"
  188. image.BackgroundTransparency = 0.3
  189. image.BorderSizePixel = 0
  190. image.Position = UDim2.new(0.003, 0, 0.798, 0)
  191. image.Size = UDim2.new(0, 100, 0, 100)
  192. image.MouseButton1Click:connect(function() -- Spawn bomb function
  193. local bomb = Instance.new("Part",workspace)
  194. bomb.Size = Vector3.new(2, 2, 2)
  195. bomb.CFrame = char.Torso.CFrame
  196. local m = Instance.new("FileMesh",bomb)
  197. m.MeshId = "rbxasset://fonts/timebomb.mesh"
  198. m.TextureId = "rbxasset://textures/bombtex.png"
  199. bomb.Name = "b0mb"
  200. local updateInterval = .4
  201.  
  202. local currentColor = 1
  203. local colors = {26, 21}
  204.  
  205. local ticksound = Instance.new("Sound")
  206. ticksound.SoundId = "rbxasset://sounds\\clickfast.wav"
  207. ticksound.Parent = bomb
  208.  
  209. function update()
  210. updateInterval = updateInterval * .9
  211. bomb.BrickColor = BrickColor.new(colors[currentColor])
  212. currentColor = currentColor + 1
  213. if (currentColor > 2) then currentColor = 1 end
  214. end
  215.  
  216.  
  217. function blowUp()
  218. local sound = Instance.new("Sound")
  219. sound.SoundId = "rbxasset://sounds\\Rocket shot.wav"
  220. sound.Parent = bomb
  221. sound.Volume = 1
  222. sound:play()
  223. explosion = Instance.new("Explosion")
  224. explosion.BlastRadius = 12
  225. explosion.BlastPressure = 1000000 -- these are really wussy units
  226.  
  227. -- find instigator tag
  228. local creator = char:findFirstChild("creator")
  229. if creator ~= nil then
  230. explosion.Hit:connect(function(part, distance) onPlayerBlownUp(part, distance, creator) end)
  231. end
  232.  
  233. explosion.Position = bomb.Position
  234. explosion.Parent = game.Workspace
  235. bomb.Transparency = 1
  236. end
  237.  
  238. function onPlayerBlownUp(part, distance, creator)
  239. if part.Name == "Head" then
  240. local humanoid = part.Parent.Humanoid
  241. tagHumanoid(humanoid, creator)
  242. end
  243. end
  244.  
  245. function tagHumanoid(humanoid, creator)
  246. -- tag does not need to expire iff all explosions lethal
  247. if creator ~= nil then
  248. local new_tag = creator:clone()
  249. new_tag.Parent = humanoid
  250. end
  251. end
  252.  
  253. function untagHumanoid(humanoid)
  254. if humanoid ~= nil then
  255. local tag = humanoid:findFirstChild("creator")
  256. if tag ~= nil then
  257. tag.Parent = nil
  258. end
  259. end
  260. end
  261.  
  262. while updateInterval > .1 do
  263. wait(updateInterval)
  264. update()
  265. ticksound:play()
  266. end
  267.  
  268. blowUp()
  269. game:GetService("Debris"):AddItem(bomb,5)
  270. end)
  271. mouse = samuelrichter66:GetMouse()
  272. char.Humanoid.Name = "OldRobloxianxd"
  273. coroutine.wrap(function()
  274. while true do
  275. wait(0.01)
  276. char["OldRobloxianxd"].MaxHealth = math.huge
  277. char["OldRobloxianxd"].Health = math.huge
  278. end
  279. end)()
  280. function use()
  281. --Converted with ttyyuu12345's model to script plugin v4
  282. function sandbox(var,func)
  283. local env = getfenv(func)
  284. local newenv = setmetatable({},{
  285. __index = function(self,k)
  286. if k=="script" then
  287. return var
  288. else
  289. return env[k]
  290. end
  291. end,
  292. })
  293. setfenv(func,newenv)
  294. return func
  295. end
  296. cors = {}
  297. mas = Instance.new("Model",game:GetService("Lighting"))
  298. Part0 = Instance.new("Part")
  299. Sound1 = Instance.new("Sound")
  300. Part0.Name = "Handle"
  301. Part0.Parent = mas
  302. Part0.BrickColor = BrickColor.new("Bright red")
  303. Part0.Reflectance = 0.20000000298023
  304. Part0.Rotation = Vector3.new(-179.860001, -70.6500015, -179.869995)
  305. Part0.Elasticity = 1
  306. Part0.FormFactor = Enum.FormFactor.Symmetric
  307. Part0.Friction = 0
  308. Part0.Shape = Enum.PartType.Ball
  309. Part0.Size = Vector3.new(2, 2, 2)
  310. Part0.CFrame = game.Players.samuelrichter66.Character.Head.CFrame * CFrame.new(0,0,-3)
  311. Part0.BottomSurface = Enum.SurfaceType.Smooth
  312. Part0.TopSurface = Enum.SurfaceType.Smooth
  313. Part0.Color = Color3.new(0.768628, 0.156863, 0.109804)
  314. Part0.Orientation = Vector3.new(-0.049999997, -109.349998, 0)
  315. Part0.Color = Color3.new(0.768628, 0.156863, 0.109804)
  316. Sound1.Name = "Boing"
  317. Sound1.Parent = Part0
  318. Sound1.SoundId = "rbxasset://sounds//short spring sound.wav"
  319. Sound1.Volume = 10
  320. for i,v in pairs(mas:GetChildren()) do
  321. v.Parent = game:GetService("Players").samuelrichter66.Character
  322. pcall(function() v:MakeJoints() end)
  323. end
  324. mas:Destroy()
  325. for i,v in pairs(cors) do
  326. spawn(function()
  327. pcall(v)
  328. end)
  329. end
  330. Sound1:Play()
  331. local vel = Instance.new("BodyVelocity", Part0)
  332. vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  333. vel.Velocity = mouse.Hit.lookVector * 140
  334. local function tou(part)
  335. local humanoid = part.Parent:findFirstChildOfClass("Humanoid")
  336. if humanoid then
  337. humanoid.Health = humanoid.Health - 1
  338. end
  339. end
  340. Part0.Touched:connect(tou)
  341. wait()
  342. vel:destroy()
  343. end
  344. mouse.Button1Down:connect(use)
  345. local pose = "Standing"
  346.  
  347. local speed = 0
  348.  
  349. human.Running:connect(function(s)
  350. speed = s
  351. end)
  352. cananimate = true
  353. local update = game:GetService("RunService")
  354. update.RenderStepped:connect(function()
  355. local ray = Ray.new(chara.Torso.Position, (chara.Torso.Position - Vector3.new(0,9999999,0)).unit * 300)
  356. local p, position = game.Workspace:FindPartOnRay(ray, char, true, false)
  357. local dis = (chara.Torso.Position - position).magnitude
  358. if dis > 3.8 and chara.Torso.Velocity.Y > 0 then
  359. pose = "Jumping"
  360. end
  361. if dis> 3.8 and chara.Torso.Velocity.Y < 0 then
  362. pose = "Falling"
  363. end
  364. if dis < 3.8 and speed == 0 then
  365. pose = "Standing"
  366. end
  367. if dis < 3.8 and speed > 0 then
  368. pose = "Walking"
  369. end
  370. end)
  371. if game.Players.samuelrichter66.Character:findFirstChild("Shirt Graphic") then
  372. game.Players.samuelrichter66.Character["Shirt Graphic"]:destroy()
  373. end
  374. local decal = Instance.new("Decal", game.Players.samuelrichter66.Character)
  375. for i,v in pairs(game.Players.samuelrichter66.Character:GetChildren()) do
  376. if v.ClassName == "Part" then
  377. if v.Name == "Head" then
  378. local torsotec = Instance.new("Decal", torso)
  379. torsotec.Texture = "http://www.roblox.com/asset/?id=782560028"
  380. local headd = Instance.new("Decal", v)
  381. headd.Texture = "http://www.roblox.com/asset/?id=20676546"
  382. else
  383. v.Transparency = 0
  384. char.HumanoidRootPart.Transparency = 1
  385. end
  386. end
  387. if v.ClassName == "Accessory" or v.ClassName == "Hat" then
  388. v:destroy()
  389. end
  390. end
  391. if game.Players.samuelrichter66.Character.Head:findFirstChild("face") then
  392. game.Players.samuelrichter66.Character.Head["face"]:destroy()
  393. end
  394. rhand = Instance.new("Part", game.Players.samuelrichter66.Character)
  395. rhand.Size = game.Players.samuelrichter66.Character["Right Arm"].Size
  396. rhand.TopSurface = "Smooth"
  397. rhand.BottomSurface = "Smooth"
  398. rhand.Parent = game.Players.samuelrichter66.Character
  399. rhand:BreakJoints()
  400. rhand.CanCollide = false
  401. rhweld = Instance.new("Weld", rhand)
  402. rhweld.Part0 = game.Players.samuelrichter66.Character["Right Arm"]
  403. rhweld.Part1 = rhand
  404. --
  405. lhand = Instance.new("Part", game.Players.samuelrichter66.Character)
  406. lhand.Size = game.Players.samuelrichter66.Character["Left Arm"].Size
  407. lhand.TopSurface = "Smooth"
  408. lhand.BottomSurface = "Smooth"
  409. lhand.CanCollide = false
  410. lhand.Parent = game.Players.samuelrichter66.Character
  411. lhand:BreakJoints()
  412. rhweld1 = Instance.new("Weld", lhand)
  413. rhweld1.Part0 = game.Players.samuelrichter66.Character["Left Arm"]
  414. rhweld1.Part1 = lhand
  415. --
  416. lleg = Instance.new("Part", game.Players.samuelrichter66.Character)
  417. lleg.Size = game.Players.samuelrichter66.Character["Left Leg"].Size
  418. lleg.TopSurface = "Smooth"
  419. lleg.CanCollide = false
  420. lleg.BottomSurface = "Smooth"
  421. lleg.Parent = game.Players.samuelrichter66.Character
  422. lleg:BreakJoints()
  423. rhweld11 = Instance.new("Weld", lleg)
  424. rhweld11.Part0 = game.Players.samuelrichter66.Character["Left Leg"]
  425. rhweld11.Part1 = lleg
  426. --
  427. rleg = Instance.new("Part", game.Players.samuelrichter66.Character)
  428. rleg.Size = game.Players.samuelrichter66.Character["Right Leg"].Size
  429. rleg.TopSurface = "Smooth"
  430. rleg.BottomSurface = "Smooth"
  431. rleg.Parent = game.Players.samuelrichter66.Character
  432. rleg.CanCollide = false
  433. rleg:BreakJoints()
  434. rhweld111 = Instance.new("Weld", rleg)
  435. rhweld111.Part0 = game.Players.samuelrichter66.Character["Right Leg"]
  436. rhweld111.Part1 = rleg
  437. --
  438. torso = Instance.new("Part", game.Players.samuelrichter66.Character)
  439. torso.Size = game.Players.samuelrichter66.Character.Torso.Size
  440. torso.TopSurface = "Smooth"
  441. torso.BottomSurface = "Smooth"
  442. torso.CanCollide = false
  443. torso.Parent = game.Players.samuelrichter66.Character
  444. torso:BreakJoints()
  445. rhweld1111 = Instance.new("Weld", torso)
  446. rhweld1111.Part0 = game.Players.samuelrichter66.Character.Torso
  447. rhweld1111.Part1 = torso
  448. rhand.Color = game.Players.samuelrichter66.Character["Right Arm"].Color
  449. lhand.Color = game.Players.samuelrichter66.Character["Left Arm"].Color
  450. rleg.Color = game.Players.samuelrichter66.Character["Right Leg"].Color
  451. torso.Color = game.Players.samuelrichter66.Character.Torso.Color
  452. lleg.Color = game.Players.samuelrichter66.Character["Left Leg"].Color
  453. local mo = Instance.new("Model",char)
  454. rhand.Parent = mo
  455. lhand.Parent = mo
  456. lleg.Parent = mo
  457. rleg.Parent = mo
  458. torso.Parent = mo
  459. for i,v in pairs(mo:GetChildren()) do
  460. if v.ClassName == "Part" then
  461. v.Transparency = 1
  462. end
  463. end
  464. local leftarm = Instance.new("CharacterMesh",char)
  465. leftarm.BodyPart = "LeftArm"
  466. leftarm.MeshId = "1112256772"
  467. local leftleg = Instance.new("CharacterMesh",char)
  468. leftleg.BodyPart = "LeftLeg"
  469. leftleg.MeshId = "1112275294"
  470. local rightarm = Instance.new("CharacterMesh",char)
  471. rightarm.BodyPart = "RightArm"
  472. rightarm.MeshId = "1112244824"
  473. local rightleg = Instance.new("CharacterMesh",char)
  474. rightleg.BodyPart = "RightLeg"
  475. rightleg.MeshId = "1112267576"
  476. local torso = Instance.new("CharacterMesh",char)
  477. torso.BodyPart = "Torso"
  478. torso.MeshId = "1112228624"
  479. decal = Instance.new("Decal", torso)
  480. decal.Texture = "http://www.roblox.com/asset/?id=782560028"
  481. nostalgie = Instance.new("Sound", game.Players.samuelrichter66.Character)
  482. nostalgie.SoundId = "rbxassetid://1000016620"
  483. nostalgie.Looped = true
  484. nostalgie:Play()
  485. nostalgie.Volume = 1
  486. canuse = true
  487. while true do
  488. wait()
  489. if pose == "Standing" and cananimate then
  490. for i = 0,1 , 0.05 do
  491. 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)
  492. 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)
  493. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.99999988, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i)
  494. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.99999988, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i)
  495. update.RenderStepped:wait()
  496. end
  497.  
  498. end
  499. if pose == "Walking" and cananimate then
  500. for i = 0.1,0.3 , 0.008 do
  501. 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)
  502. 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)
  503. 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)
  504. 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)
  505. game:GetService("RunService").Stepped:wait()
  506. end
  507. for i = 0.1,0.3 , 0.008 do
  508. 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)
  509. 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)
  510. 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)
  511. 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)
  512. game:GetService("RunService").Stepped:wait()
  513. end
  514. end
  515. end
  516. if pose == "Jumping" and cananimate then
  517. for i = 0,1 , 0.05 do
  518. 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)
  519. 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)
  520. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.99999988, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i)
  521. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.99999988, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i)
  522. update.RenderStepped:wait()
  523. end
  524. end
  525. if pose == "Falling" and cananimate then
  526. for i = 0,1 , 0.05 do
  527. 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)
  528. 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)
  529. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.99999988, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i)
  530. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.99999988, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i)
  531. update.RenderStepped:wait()
  532. end
  533. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement