Mitko1223tm

creeper

Feb 14th, 2020
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.49 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. local h,t
  87. --Give the server mouse data every second frame, but only if the values changed
  88. --If player is not moving their mouse, client won't fire events
  89. local HB = game:GetService("RunService").Heartbeat
  90. while true do
  91. if h~=Mouse.Hit or t~=Mouse.Target then
  92. h,t=Mouse.Hit,Mouse.Target
  93. Event:FireServer({isMouse=true,Target=t,Hit=h})
  94. end
  95. --Wait 2 frames
  96. for i=1,2 do
  97. HB:Wait()
  98. end
  99. end]==],script)
  100.  
  101. ----Sandboxed game object that allows the usage of client-side methods and services
  102. --Real game object
  103. local RealGame = game
  104.  
  105. --Metatable for fake service
  106. local FakeService_Metatable = {
  107. __index = function(self,k)
  108. local s = rawget(self,"_RealService")
  109. if s then
  110. return typeof(s[k])=="function"
  111. and function(_,...)return s[k](s,...)end or s[k]
  112. end
  113. end,
  114. __newindex = function(self,k,v)
  115. local s = rawget(self,"_RealService")
  116. if s then s[k]=v end
  117. end
  118. }
  119. local function FakeService(t,RealService)
  120. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  121. return setmetatable(t,FakeService_Metatable)
  122. end
  123.  
  124. --Fake game object
  125. local FakeGame = {
  126. GetService = function(self,s)
  127. return rawget(self,s) or RealGame:GetService(s)
  128. end,
  129. Players = FakeService({
  130. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  131. },"Players"),
  132. UserInputService = FakeService(UIS,"UserInputService"),
  133. ContextActionService = FakeService(CAS,"ContextActionService"),
  134. RunService = FakeService({
  135. _btrs = {},
  136. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  137. BindToRenderStep = function(self,name,_,fun)
  138. self._btrs[name] = self.Heartbeat:Connect(fun)
  139. end,
  140. UnbindFromRenderStep = function(self,name)
  141. self._btrs[name]:Disconnect()
  142. end,
  143. },"RunService")
  144. }
  145. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  146. FakeGame.service = FakeGame.GetService
  147. FakeService(FakeGame,game)
  148. --Changing owner to fake player object to support owner:GetMouse()
  149. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  150. end
  151.  
  152. wait(1/64)
  153. print("--[[By Ietahuoy]]--")
  154. print("--[[ Creeper ]]--")
  155. local Plrr = game.Players.LocalPlayer
  156. local Mouse = Plrr:GetMouse()
  157. local Sinn = 0
  158. Plrr.Character.Animate.Parent = nil
  159. Plrr.Character.Humanoid.Animator.Parent = nil
  160. Plrr.Character.Humanoid.MaxHealth = 200
  161. Plrr.Character.Humanoid.Health = 200
  162. local Boom = false
  163. local E = Instance.new("Folder",Plrr.Character)
  164. local ws = 18
  165. function InstanceNW(typp,anth)
  166. local part = Instance.new(typp)
  167. if anth then
  168. for i,v in next, anth do
  169. pcall(function() part[i] = v end)
  170. end
  171. end
  172. return part
  173. end
  174. function Damage(what)
  175. if what.Parent ~= Plrr.Character and what ~= Plrr.Character and what.Parent ~= E then
  176. what:BreakJoints()
  177. local P1 = InstanceNW("Part",{Parent=E,Material=what.Material,Transparency=what.Transparency,BrickColor=what.BrickColor,Size=Vector3.new(what.Size.X,what.Size.Y/2,what.Size.Z),Anchored=false,CanCollide=true,CFrame = what.CFrame*CFrame.new(what.Size.X,what.Size.Y/4,0),RotVelocity=Vector3.new(math.random(-15,15),math.random(-15,15),math.random(-15,15)),Velocity=Vector3.new(math.random(-60,60),math.random(-60,60),math.random(-60,60))})
  178. local P2 = InstanceNW("Part",{Parent=E,Material=what.Material,Transparency=what.Transparency,BrickColor=what.BrickColor,Size=Vector3.new(what.Size.X,what.Size.Y/2,what.Size.Z),Anchored=false,CanCollide=true,CFrame = what.CFrame*CFrame.new(what.Size.X,-what.Size.Y/4,0),RotVelocity=Vector3.new(math.random(-15,15),math.random(-15,15),math.random(-15,15)),Velocity=Vector3.new(math.random(-60,60),math.random(-60,60),math.random(-60,60))})
  179. what:Destroy()
  180. coroutine.resume(coroutine.create(function()
  181. wait(math.random(6,24))
  182. local num = math.random(50,250)
  183. for i = 1, num do
  184. wait()
  185. P1.Transparency = P1.Transparency+1/num
  186. P2.Transparency = P2.Transparency+1/num
  187. end
  188. P1:Destroy() P2:Destroy()
  189. end))
  190. end
  191. end
  192. function Aoe(Where,Range)
  193. for index, a in pairs(workspace:GetDescendants()) do
  194. if a.Parent ~= Plrr.Character and a ~= Plrr.Character and a.Parent ~= E and a.Name ~= "Base" and a.Name ~= "Baseplate" and a.ClassName == "Part" or a.ClassName == "MeshPart" or a.ClassName == "TrussPart" or a.ClassName == "WedgePart" or a.ClassName == "CornerWedgePart" or a.ClassName == "UnionOperation" or a.ClassName == "NegateOperation" or a.ClassName == "Seat" or a.ClassName == "VehicleSeat" or a.ClassName == "SpawnLocation" then
  195. if (a.Position - Where).Magnitude <= Range+(a.Size/2).Magnitude then
  196. Damage(a)
  197. end
  198. end
  199. end
  200. end
  201.  
  202. function Explosion()
  203. Boom = true
  204. local a = Instance.new("Sound",Plrr.Character) a.SoundId="http://www.roblox.com/asset/?id=301924340" a.Volume = 3 a:Play()
  205. ws = 22
  206. for i = 1, 7 do
  207. wait(0.2)
  208. for i,v in pairs(Plrr.Character:children()) do
  209. if v:IsA("BasePart") and v.Parent ~= E then
  210. v.BrickColor = BrickColor.new("Institutional white")
  211. v.Material = "Neon"
  212. end
  213. end
  214. wait(0.2)
  215. for i,v in pairs(Plrr.Character:children()) do
  216. if v:IsA("BasePart") and v.Parent ~= E then
  217. v.BrickColor = BrickColor.new("Shamrock")
  218. v.Material = "Marble"
  219. end
  220. end
  221. end
  222. for i = 1, 15 do
  223. wait()
  224. for i,v in pairs(Plrr.Character:children()) do
  225. if v:IsA("BasePart") and v.Parent ~= E then
  226. v.BrickColor = BrickColor.new("Institutional white")
  227. v.Material = "Neon"
  228. v.Size = v.Size*1.015
  229. end
  230. end
  231. end
  232. for i,v in pairs(Plrr.Character:children()) do
  233. if v:IsA("BasePart") and v.Parent ~= E and v ~= Plrr.Character.HumanoidRootPart then
  234. v.Transparency = 1
  235. end
  236. end
  237. Plrr.Character.Head.face.Transparency = 1
  238. for i = 1, 15 do
  239. for i,v in pairs(Plrr.Character:children()) do
  240. if v:IsA("BasePart") and v.Parent ~= E then
  241. v.BrickColor = BrickColor.new("Shamrock")
  242. v.Material = "Marble"
  243. v.Size = v.Size/1.015
  244. end
  245. end
  246. end
  247. ws = 0
  248. Aoe(Plrr.Character.HumanoidRootPart.Position,14)
  249. ParticleEmitter0 = Instance.new("ParticleEmitter")
  250. ParticleEmitter0.Parent = Plrr.Character.HumanoidRootPart
  251. ParticleEmitter0.Rotation = NumberRange.new(-50, 50)
  252. ParticleEmitter0.Size = NumberSequence.new(0.18750011920929,2.9375,1.1874997615814,0)
  253. ParticleEmitter0.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)})
  254. ParticleEmitter0.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0, 0, 0))
  255. ParticleEmitter0.LightEmission = 0.60000002384186
  256. ParticleEmitter0.Texture = "rbxassetid://941626301"
  257. ParticleEmitter0.Lifetime = NumberRange.new(2, 3)
  258. ParticleEmitter0.Rate = 2000
  259. ParticleEmitter0.RotSpeed = NumberRange.new(-110, 110)
  260. ParticleEmitter0.Speed = NumberRange.new(9, 9)
  261. ParticleEmitter0.VelocitySpread = 360
  262. ParticleEmitter0.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0, 0, 0))
  263. ParticleEmitter0.Drag = 0.75
  264. coroutine.resume(coroutine.create(function()
  265. wait(1)
  266. ParticleEmitter0.Enabled = false
  267. wait(3)
  268. ParticleEmitter0:Destroy()
  269. end))
  270. for i = 1, 5 do
  271. coroutine.resume(coroutine.create(function()
  272. local Cframe = Plrr.Character.HumanoidRootPart.CFrame*CFrame.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))
  273. local effectpart = Instance.new("Part",E)Instance.new("SpecialMesh",effectpart).MeshType = "Sphere"
  274. effectpart.Size = Vector3.new(2,2,2)
  275. effectpart.CFrame = Cframe
  276. effectpart.Anchored = true
  277. effectpart.CanCollide = false
  278. effectpart.Massless = true
  279. effectpart.Material = "Neon"
  280. effectpart.Color = Color3.fromRGB(255/(i/5),255/(i/5),255/(i/5))
  281. for i = 1, 50 do
  282. wait()
  283. effectpart.Size = effectpart.Size*Vector3.new(1.1,1.1,1.1)
  284. effectpart.Transparency = effectpart.Transparency + 1/25
  285. effectpart.CFrame = Cframe
  286. end
  287. effectpart:destroy()
  288. end))
  289. end
  290. coroutine.resume(coroutine.create(function()
  291. local effectpart = Instance.new("Part",E)Instance.new("SpecialMesh",effectpart).MeshType = "Sphere"
  292. effectpart.Size = Vector3.new(4,4,4)
  293. effectpart.CFrame = Plrr.Character.HumanoidRootPart.CFrame
  294. effectpart.Anchored = true
  295. effectpart.CanCollide = false
  296. effectpart.Massless = true
  297. effectpart.Material = "Neon"
  298. effectpart.Color = Color3.fromRGB(255,255,255)
  299. for i = 1, 75 do
  300. wait()
  301. effectpart.Size = effectpart.Size*Vector3.new(1.05,1.05,1.05)
  302. effectpart.Transparency = effectpart.Transparency + 1/50
  303. effectpart.CFrame = Plrr.Character.HumanoidRootPart.CFrame
  304. end
  305. effectpart:destroy()
  306. end))
  307. local fakehead = Instance.new("Part",E) fakehead.Anchored = false fakehead.BrickColor = BrickColor.new("Shamrock") fakehead.Material = "Marble" fakehead.CanCollide = true fakehead.Size = Plrr.Character.Head.Size
  308. fakehead.CFrame = Plrr.Character.Head.CFrame fakehead.Velocity = Vector3.new(math.random(-40,40),math.random(-40,40),math.random(-40,40))
  309. local fakeface = Instance.new("Decal",fakehead) fakeface.Face = "Front" fakeface.Texture = "http://www.roblox.com/asset/?id=2582561835"
  310. local faketorso = Instance.new("Part",E) faketorso.Anchored = false faketorso.BrickColor = BrickColor.new("Shamrock") faketorso.Material = "Marble" faketorso.CanCollide = true faketorso.Size = Plrr.Character.Torso.Size
  311. faketorso.CFrame = Plrr.Character.Torso.CFrame faketorso.Velocity = Vector3.new(math.random(-40,40),math.random(-40,40),math.random(-40,40))
  312. local fakerarm = Instance.new("Part",E) fakerarm.Anchored = false fakerarm.BrickColor = BrickColor.new("Shamrock") fakerarm.Material = "Marble" fakerarm.CanCollide = true fakerarm.Size = Plrr.Character:FindFirstChild("Right Arm").Size
  313. fakerarm.CFrame = Plrr.Character:FindFirstChild("Right Arm").CFrame fakerarm.Velocity = Vector3.new(math.random(-40,40),math.random(-40,40),math.random(-40,40))
  314. local fakelarm = Instance.new("Part",E) fakelarm.Anchored = false fakelarm.BrickColor = BrickColor.new("Shamrock") fakelarm.Material = "Marble" fakelarm.CanCollide = true fakelarm.Size = Plrr.Character:FindFirstChild("Left Arm").Size
  315. fakelarm.CFrame = Plrr.Character:FindFirstChild("Left Arm").CFrame fakelarm.Velocity = Vector3.new(math.random(-40,40),math.random(-40,40),math.random(-40,40))
  316. local fakerleg = Instance.new("Part",E) fakerleg.Anchored = false fakerleg.BrickColor = BrickColor.new("Shamrock") fakerleg.Material = "Marble" fakerleg.CanCollide = true fakerleg.Size = Plrr.Character:FindFirstChild("Right Leg").Size
  317. fakerleg.CFrame = Plrr.Character:FindFirstChild("Right Leg").CFrame fakerleg.Velocity = Vector3.new(math.random(-40,40),math.random(-40,40),math.random(-40,40))
  318. local fakelleg = Instance.new("Part",E) fakelleg.Anchored = false fakelleg.BrickColor = BrickColor.new("Shamrock") fakelleg.Material = "Marble" fakelleg.CanCollide = true fakelleg.Size = Plrr.Character:FindFirstChild("Left Leg").Size
  319. fakelleg.CFrame = Plrr.Character:FindFirstChild("Left Leg").CFrame fakelleg.Velocity = Vector3.new(math.random(-40,40),math.random(-40,40),math.random(-40,40))
  320. wait(4)
  321. fakehead.CanCollide = false fakehead.Anchored = true
  322. faketorso.CanCollide = false faketorso.Anchored = true
  323. fakerarm.CanCollide = false fakerarm.Anchored = true
  324. fakelarm.CanCollide = false fakelarm.Anchored = true
  325. fakerleg.CanCollide = false fakerleg.Anchored = true
  326. fakelleg.CanCollide = false fakelleg.Anchored = true
  327. for i = 1, 50 do
  328. wait()
  329. fakehead.CFrame = fakehead.CFrame:lerp(Plrr.Character.Head.CFrame,0.125)
  330. faketorso.CFrame = faketorso.CFrame:lerp(Plrr.Character.Torso.CFrame,0.125)
  331. fakerarm.CFrame = fakerarm.CFrame:lerp(Plrr.Character:FindFirstChild("Right Arm").CFrame,0.125)
  332. fakelarm.CFrame = fakelarm.CFrame:lerp(Plrr.Character:FindFirstChild("Left Arm").CFrame,0.125)
  333. fakerleg.CFrame = fakerleg.CFrame:lerp(Plrr.Character:FindFirstChild("Right Leg").CFrame,0.125)
  334. fakelleg.CFrame = fakelleg.CFrame:lerp(Plrr.Character:FindFirstChild("Left Leg").CFrame,0.125)
  335. end
  336. fakehead:Destroy() faketorso:Destroy() fakerarm:Destroy() fakelarm:Destroy() fakerleg:Destroy() fakelleg:Destroy()
  337. for i,v in pairs(Plrr.Character:children()) do
  338. if v:IsA("BasePart") and v.Parent ~= E and v ~= Plrr.Character.HumanoidRootPart then
  339. v.Transparency = 0
  340. end
  341. end
  342. Plrr.Character.Head.face.Transparency = 0
  343. ws = 18
  344. Boom = false
  345. end
  346. Mouse.KeyDown:Connect(function(kkk)
  347. if kkk == "e" and Boom == false then
  348. Explosion()
  349. end
  350. end)
  351.  
  352. while true do
  353. wait()
  354. for i,v in pairs(Plrr.Character:children()) do
  355. if v:IsA("Hat") or v:IsA("Accessory") or v:IsA("Hair") or v:IsA("Shirt") or v:IsA("Pants") or v:IsA("Graphic Shirt") then
  356. v:Destroy()
  357. end
  358. end
  359. for i,v in pairs(Plrr.Character:children()) do
  360. if v:IsA("BasePart") and v.Parent ~= E and Boom == false then
  361. v.BrickColor = BrickColor.new("Shamrock")
  362. v.Material = "Marble"
  363. end
  364. end
  365. if Plrr.Character.Head.face.Texture ~= "http://www.roblox.com/asset/?id=2582561835" then
  366. Plrr.Character.Head.face.Texture = "http://www.roblox.com/asset/?id=2582561835"
  367. end
  368. if Plrr.Character.Head:FindFirstChild("Mesh") ~= nil then
  369. Plrr.Character.Head:FindFirstChild("Mesh"):Destroy()
  370. Plrr.Character.Head.Size = Vector3.new(1.25,1.25,1.25)
  371. end
  372. Sinn=Sinn+(2/3)
  373. local h,p = workspace:FindPartOnRay(Ray.new(Plrr.Character.HumanoidRootPart.Position, (CFrame.new(Plrr.Character.HumanoidRootPart.Position,Plrr.Character.HumanoidRootPart.Position+Vector3.new(0,-1,0))).lookVector.unit * 4), Plrr.Character)
  374. if (Plrr.Character.HumanoidRootPart.Velocity * Vector3.new(1, 0, 1)).magnitude < 1 and h ~= nil then
  375. Plrr.Character.Torso["Neck"].C0 = Plrr.Character.Torso["Neck"].C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(95-5*math.sin(Sinn/12)),math.rad(180),0),1/3)
  376. Plrr.Character.HumanoidRootPart.RootJoint.C0 = Plrr.Character.HumanoidRootPart.RootJoint.C0:lerp(CFrame.new(0,0+0.075*math.sin(Sinn/12),0)*CFrame.Angles(math.rad(80),math.rad(180),0),1/3)
  377. Plrr.Character.Torso["Right Hip"].C0 = Plrr.Character.Torso["Right Hip"].C0:lerp(CFrame.new(1,-1-0.075*math.sin(Sinn/12),-0.5)*CFrame.Angles(math.rad(10),math.rad(80),0),1/3)
  378. Plrr.Character.Torso["Left Hip"].C0 = Plrr.Character.Torso["Left Hip"].C0:lerp(CFrame.new(-1,-1-0.075*math.sin(Sinn/12),-0.5)*CFrame.Angles(math.rad(10),math.rad(-80),0),1/3)
  379. Plrr.Character.Torso["Right Shoulder"].C0 = Plrr.Character.Torso["Right Shoulder"].C0:lerp(CFrame.new(1,-1.65-0.075*math.sin(Sinn/12),0.4)*CFrame.Angles(math.rad(10),math.rad(-80),0),1/3)
  380. Plrr.Character.Torso["Left Shoulder"].C0 = Plrr.Character.Torso["Left Shoulder"].C0:lerp(CFrame.new(-1,-1.65-0.075*math.sin(Sinn/12),0.4)*CFrame.Angles(math.rad(10),math.rad(80),0),1/3)
  381. elseif (Plrr.Character.HumanoidRootPart.Velocity * Vector3.new(1, 0, 1)).magnitude > 2 and h ~= nil then
  382. Plrr.Character.Torso["Neck"].C0 = Plrr.Character.Torso["Neck"].C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(95-5*math.sin(Sinn/12)),math.rad(180+2.5*math.sin(Sinn/12)),math.rad(0-2.5*math.sin(Sinn/12))),1/3)
  383. Plrr.Character.HumanoidRootPart.RootJoint.C0 = Plrr.Character.HumanoidRootPart.RootJoint.C0:lerp(CFrame.new(0,0+0.025*math.sin(Sinn/12),0)*CFrame.Angles(math.rad(80+2.5*math.sin(Sinn/12)),math.rad(180-2.5*math.sin(Sinn/12)),math.rad(0+2.5*math.sin(Sinn/12))),1/3)
  384. Plrr.Character.Torso["Right Hip"].C0 = Plrr.Character.Torso["Right Hip"].C0:lerp(CFrame.new(1,-1-0.025*math.sin(Sinn/12),-0.5)*CFrame.Angles(math.rad(10-25*math.sin(Sinn/3)),math.rad(80-5*math.sin(Sinn/3)),0),1/3)
  385. Plrr.Character.Torso["Left Hip"].C0 = Plrr.Character.Torso["Left Hip"].C0:lerp(CFrame.new(-1,-1-0.025*math.sin(Sinn/12),-0.5)*CFrame.Angles(math.rad(10+25*math.sin(Sinn/3)),math.rad(-80+5*math.sin(Sinn/3)),0),1/3)
  386. Plrr.Character.Torso["Right Shoulder"].C0 = Plrr.Character.Torso["Right Shoulder"].C0:lerp(CFrame.new(1,-1.65-0.025*math.sin(Sinn/12),0.4)*CFrame.Angles(math.rad(10+25*math.sin(Sinn/3)),math.rad(-80+5*math.sin(Sinn/3)),0),1/3)
  387. Plrr.Character.Torso["Left Shoulder"].C0 = Plrr.Character.Torso["Left Shoulder"].C0:lerp(CFrame.new(-1,-1.65-0.025*math.sin(Sinn/12),0.4)*CFrame.Angles(math.rad(10-25*math.sin(Sinn/3)),math.rad(80-5*math.sin(Sinn/3)),0),1/3)
  388. elseif Plrr.Character.HumanoidRootPart.Velocity.y > 1 and h == nil then
  389. Plrr.Character.Torso["Neck"].C0 = Plrr.Character.Torso["Neck"].C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(85-5*math.sin(Sinn/12)),math.rad(180),math.rad(0)),1/3)
  390. Plrr.Character.HumanoidRootPart.RootJoint.C0 = Plrr.Character.HumanoidRootPart.RootJoint.C0:lerp(CFrame.new(0,0+0.025*math.sin(Sinn/12),0)*CFrame.Angles(math.rad(90+2.5*math.sin(Sinn/12)),math.rad(180),math.rad(0)),1/3)
  391. Plrr.Character.Torso["Right Hip"].C0 = Plrr.Character.Torso["Right Hip"].C0:lerp(CFrame.new(1,-1-0.025*math.sin(Sinn/12),-0.5)*CFrame.Angles(math.rad(0+5*math.sin(Sinn/3)),math.rad(70),0),1/3)
  392. Plrr.Character.Torso["Left Hip"].C0 = Plrr.Character.Torso["Left Hip"].C0:lerp(CFrame.new(-1,-1-0.025*math.sin(Sinn/12),-0.5)*CFrame.Angles(math.rad(0+5*math.sin(Sinn/3)),math.rad(-70),0),1/3)
  393. Plrr.Character.Torso["Right Shoulder"].C0 = Plrr.Character.Torso["Right Shoulder"].C0:lerp(CFrame.new(1,-1.65-0.025*math.sin(Sinn/12),0.4)*CFrame.Angles(math.rad(20-5*math.sin(Sinn/3)),math.rad(-70),0),1/3)
  394. Plrr.Character.Torso["Left Shoulder"].C0 = Plrr.Character.Torso["Left Shoulder"].C0:lerp(CFrame.new(-1,-1.65-0.025*math.sin(Sinn/12),0.4)*CFrame.Angles(math.rad(20-5*math.sin(Sinn/3)),math.rad(70),0),1/3)
  395. elseif Plrr.Character.HumanoidRootPart.Velocity.y < -1 and h == nil then
  396. Plrr.Character.Torso["Neck"].C0 = Plrr.Character.Torso["Neck"].C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(90-5*math.sin(Sinn/12)),math.rad(180),math.rad(0)),1/3)
  397. Plrr.Character.HumanoidRootPart.RootJoint.C0 = Plrr.Character.HumanoidRootPart.RootJoint.C0:lerp(CFrame.new(0,0+0.025*math.sin(Sinn/12),0)*CFrame.Angles(math.rad(85+2.5*math.sin(Sinn/12)),math.rad(180),math.rad(0)),1/3)
  398. Plrr.Character.Torso["Right Hip"].C0 = Plrr.Character.Torso["Right Hip"].C0:lerp(CFrame.new(1,-1-0.025*math.sin(Sinn/12),-0.5)*CFrame.Angles(math.rad(35+5*math.sin(Sinn/3)),math.rad(85),0),1/3)
  399. Plrr.Character.Torso["Left Hip"].C0 = Plrr.Character.Torso["Left Hip"].C0:lerp(CFrame.new(-1,-1-0.025*math.sin(Sinn/12),-0.5)*CFrame.Angles(math.rad(35+5*math.sin(Sinn/3)),math.rad(-85),0),1/3)
  400. Plrr.Character.Torso["Right Shoulder"].C0 = Plrr.Character.Torso["Right Shoulder"].C0:lerp(CFrame.new(1,-1.65-0.025*math.sin(Sinn/12),0.4)*CFrame.Angles(math.rad(-35-5*math.sin(Sinn/3)),math.rad(-85),0),1/3)
  401. Plrr.Character.Torso["Left Shoulder"].C0 = Plrr.Character.Torso["Left Shoulder"].C0:lerp(CFrame.new(-1,-1.65-0.025*math.sin(Sinn/12),0.4)*CFrame.Angles(math.rad(-35-5*math.sin(Sinn/3)),math.rad(85),0),1/3)
  402. end
  403. for _, c in pairs(Plrr.Character:GetChildren()) do if c:IsA("BasePart") and c ~= Plrr.Character.HumanoidRootPart then c.Anchored = false end end Plrr.Character.Humanoid.WalkSpeed = ws
  404. Plrr.Character.Humanoid.PlatformStand=false Plrr.Character.Humanoid.MaxHealth = 200 Plrr.Character.Humanoid.DisplayDistanceType = "None"
  405. if Plrr.Character:FindFirstChildOfClass("ForceField")then Plrr.Character:FindFirstChildOfClass("ForceField").Visible=false else InstanceNW("ForceField",{Parent=Plrr.Character,Name=""})end
  406. Plrr.Character.Humanoid:SetStateEnabled("GettingUp",true)Plrr.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.GettingUp, true)Plrr.Character.Humanoid:SetStateEnabled("Ragdoll",false) Plrr.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll, false)
  407. end
Add Comment
Please, Sign In to add comment