Advertisement
Guest User

Untitled

a guest
Oct 20th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 34.68 KB | None | 0 0
  1. f game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,game,owner = owner,game
  3. local RealPlayer = Player
  4. do
  5. print("FE Compatibility code V2 by Mokiros")
  6. local RealPlayer = RealPlayer
  7. script.Parent = RealPlayer.Character
  8.  
  9. --Fake event to make stuff like Mouse.KeyDown work
  10. local Disconnect_Function = function(this)
  11. this[1].Functions[this[2]] = nil
  12. end
  13. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  14. local FakeEvent_Metatable = {__index={
  15. Connect = function(this,f)
  16. local i = tostring(math.random(0,10000))
  17. while this.Functions[i] do
  18. i = tostring(math.random(0,10000))
  19. end
  20. this.Functions[i] = f
  21. return setmetatable({this,i},Disconnect_Metatable)
  22. end
  23. }}
  24. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  25. local function fakeEvent()
  26. return setmetatable({Functions={}},FakeEvent_Metatable)
  27. end
  28.  
  29. --Creating fake input objects with fake variables
  30. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  31. FakeMouse.keyUp = FakeMouse.KeyUp
  32. FakeMouse.keyDown = FakeMouse.KeyDown
  33. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  34. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  35. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  36. end}
  37. --Merged 2 functions into one by checking amount of arguments
  38. CAS.UnbindAction = CAS.BindAction
  39.  
  40. --This function will trigger the events that have been :Connect()'ed
  41. local function TriggerEvent(self,ev,...)
  42. for _,f in pairs(self[ev].Functions) do
  43. f(...)
  44. end
  45. end
  46. FakeMouse.TriggerEvent = TriggerEvent
  47. UIS.TriggerEvent = TriggerEvent
  48.  
  49. --Client communication
  50. local Event = Instance.new("RemoteEvent")
  51. Event.Name = "UserInput_Event"
  52. Event.OnServerEvent:Connect(function(plr,io)
  53. if plr~=RealPlayer then return end
  54. FakeMouse.Target = io.Target
  55. FakeMouse.Hit = io.Hit
  56. if not io.isMouse then
  57. local b = io.UserInputState == Enum.UserInputState.Begin
  58. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  59. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  60. end
  61. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  62. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  63. end
  64. for _,t in pairs(CAS.Actions) do
  65. for _,k in pairs(t.Keys) do
  66. if k==io.KeyCode then
  67. t.Function(t.Name,io.UserInputState,io)
  68. end
  69. end
  70. end
  71. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  72. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  73. end
  74. end)
  75. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  76. local Mouse = owner:GetMouse()
  77. local UIS = game:GetService("UserInputService")
  78. local input = function(io,RobloxHandled)
  79. if RobloxHandled then return end
  80. --Since InputObject is a client-side instance, we create and pass table instead
  81. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  82. end
  83. UIS.InputBegan:Connect(input)
  84. UIS.InputEnded:Connect(input)
  85. local h,t
  86. --Give the server mouse data every second frame, but only if the values changed
  87. --If player is not moving their mouse, client won't fire events
  88. local HB = game:GetService("RunService").Heartbeat
  89. while true do
  90. if h~=Mouse.Hit or t~=Mouse.Target then
  91. h,t=Mouse.Hit,Mouse.Target
  92. Event:FireServer({isMouse=true,Target=t,Hit=h})
  93. end
  94. --Wait 2 frames
  95. for i=1,2 do
  96. HB:Wait()
  97. end
  98. end]==],script)
  99.  
  100. ----Sandboxed game object that allows the usage of client-side methods and services
  101. --Real game object
  102. local RealGame = game
  103.  
  104. --Metatable for fake service
  105. local FakeService_Metatable = {
  106. __index = function(self,k)
  107. local s = rawget(self,"_RealService")
  108. if s then
  109. return typeof(s[k])=="function"
  110. and function(_,...)return s[k](s,...)end or s[k]
  111. end
  112. end,
  113. __newindex = function(self,k,v)
  114. local s = rawget(self,"_RealService")
  115. if s then s[k]=v end
  116. end
  117. }
  118. local function FakeService(t,RealService)
  119. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  120. return setmetatable(t,FakeService_Metatable)
  121. end
  122.  
  123. --Fake game object
  124. local FakeGame = {
  125. GetService = function(self,s)
  126. return rawget(self,s) or RealGame:GetService(s)
  127. end,
  128. Players = FakeService({
  129. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  130. },"Players"),
  131. UserInputService = FakeService(UIS,"UserInputService"),
  132. ContextActionService = FakeService(CAS,"ContextActionService"),
  133. RunService = FakeService({
  134. _btrs = {},
  135. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  136. BindToRenderStep = function(self,name,_,fun)
  137. self._btrs[name] = self.Heartbeat:Connect(fun)
  138. end,
  139. UnbindFromRenderStep = function(self,name)
  140. self._btrs[name]:Disconnect()
  141. end,
  142. },"RunService")
  143. }
  144. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  145. FakeGame.service = FakeGame.GetService
  146. FakeService(FakeGame,game)
  147. --Changing owner to fake player object to support owner:GetMouse()
  148. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  149. end
  150. plr = game.Players.LocalPlayer
  151. char = plr.Character
  152. hrp = plr.Character.HumanoidRootPart
  153. mode = false
  154. tors = char.Torso
  155. m = plr:GetMouse()
  156. hum = char.Humanoid
  157.  
  158. char.Head.face.Texture = "http://www.roblox.com/asset/?id=988802990"
  159.  
  160. function sp()
  161. local S = Instance.new("Sound",game.Soundscape)
  162. S.SoundId = "rbxassetid://532798812"
  163. S.Volume = 0.6
  164. S.Looped = true
  165. S:Play()
  166. end
  167.  
  168. sp()
  169.  
  170. local acos = math.acos
  171. local sqrt = math.sqrt
  172. local Vec3 = Vector3.new
  173. local fromAxisAngle = CFrame.fromAxisAngle
  174.  
  175. local function toAxisAngle(CFr)
  176. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  177. local Angle = math.acos((R00+R11+R22-1)/2)
  178. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  179. A = A == 0 and 0.00001 or A
  180. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  181. B = B == 0 and 0.00001 or B
  182. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  183. C = C == 0 and 0.00001 or C
  184. local x = (R21-R12)/sqrt(A)
  185. local y = (R02-R20)/sqrt(B)
  186. local z = (R10-R01)/sqrt(C)
  187. return Vec3(x,y,z),Angle
  188. end
  189.  
  190. function ApplyTrig(Num,Func)
  191. local Min,Max = Func(0),Func(1)
  192. local i = Func(Num)
  193. return (i-Min)/(Max-Min)
  194. --[[if Func == "sin" then
  195. return (math.sin((1-Num)*math.pi)+1)/2
  196. elseif Func == "cos" then
  197. return (math.cos((1-Num)*math.pi)+1)/2
  198. end]]
  199. end
  200.  
  201. function LerpCFrame(CFrame1,CFrame2,Num)
  202. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  203. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  204. end
  205.  
  206. function Crater(Torso,Radius)
  207. spawn(function()
  208. local Ray = Ray.new(char.Torso.Position,Vector3.new(0,-1,0)*10)
  209. local Ignore = {}
  210. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  211. if v.Character ~= nil then
  212. Ignore[#Ignore+1] = v.Character
  213. end
  214. end
  215. local Hit,Pos,SurfaceNorm = workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  216. if Hit == nil then return end
  217. local Parts = {}
  218. for i = 1,360,10 do
  219. local P = Instance.new("Part",char.Torso.Parent)
  220. P.Anchored = true
  221. P.FormFactor = "Custom"
  222. P.BrickColor = Hit.BrickColor
  223. P.Material = Hit.Material
  224. P.TopSurface = "Smooth"
  225. P.BottomSurface = "Smooth"
  226. P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
  227. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  228. Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-45)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size}
  229. if math.random(0,5) == 0 then -- rubble
  230. local P = Instance.new("Part",char.Torso.Parent)
  231. P.Anchored = true
  232. P.CanCollide = false
  233. P.FormFactor = "Custom"
  234. P.BrickColor = Hit.BrickColor
  235. P.Material = Hit.Material
  236. P.TopSurface = "Smooth"
  237. P.BottomSurface = "Smooth"
  238. P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
  239. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  240. P.CanCollide = true
  241. Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-50)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size}
  242. end
  243. end
  244. for i = 0,1,0.05 do
  245. for i2,v in pairs(Parts) do
  246. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  247. end
  248. wait(0.02)
  249. end
  250. for i,v in pairs(Parts) do
  251. if v[1].Size.X > 2.1 then
  252. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  253. end
  254. v[1].Anchored = false
  255. end
  256. for i = 0,1,0.05 do
  257. for i2,v in pairs(Parts) do
  258. v[1].Transparency = i
  259. if i == 1 then
  260. v[1]:Destroy()
  261. elseif i >= 0.25 then
  262. v[1].CanCollide = false
  263. end
  264. end
  265. wait(0.02)
  266. end
  267. Parts = nil
  268. end)
  269. end
  270.  
  271.  
  272. function FindNearestTorso(Position,Distance,SinglePlayer)
  273. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  274. local List = {}
  275. for i,v in pairs(workspace:GetChildren())do
  276. if v:IsA("Model")then
  277. if v:findFirstChild("Torso")then
  278. if v ~= char then
  279. if(v.char.Torso.Position -Position).magnitude <= Distance then
  280. table.insert(List,v)
  281. end
  282. end
  283. end
  284. end
  285. end
  286. return List
  287. end
  288.  
  289.  
  290.  
  291.  
  292. function hito(partoz, magn, dmg, debtim)
  293. for _, guy in pairs(workspace:GetChildren()) do
  294. if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("Head") and guy ~= plr.Character and magn > (guy:FindFirstChild("Head").Position - partoz.Position).magnitude and guy:FindFirstChild("Head"):FindFirstChild("alabo") == nil then
  295. do
  296. local humz = guy:FindFirstChild("Humanoid")
  297. local hed = guy:FindFirstChild("Head")
  298. humz:TakeDamage(dmg)
  299. local db = Instance.new("StringValue")
  300. db.Name = "alabo"
  301. db.Parent = hed
  302. delay(debtim, function()
  303. db:Destroy()
  304. end)
  305. end
  306. end
  307. end
  308. end
  309.  
  310.  
  311. RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  312. RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  313. LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  314. LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  315. RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  316. RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  317. LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  318. LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  319. NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  320. NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  321. RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  322. RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  323. RS = tors:FindFirstChild("Right Shoulder")
  324. LS = tors:FindFirstChild("Left Shoulder")
  325. RH = tors:FindFirstChild("Right Hip")
  326. LH = tors:FindFirstChild("Left Hip")
  327. RJ = hrp:FindFirstChild("RootJoint")
  328. N = tors:FindFirstChild("Neck")
  329. cf = CFrame.new
  330. ang = CFrame.Angles
  331. rd = math.rad
  332. rd2 = math.random
  333. LOADED = 1
  334.  
  335. Heartbeat = Instance.new("BindableEvent")
  336. Heartbeat.Name = "Heartbeat"
  337. Heartbeat.Parent = script
  338. frame = 0.03333333333333333
  339. tf = 0
  340. game:GetService("RunService").Heartbeat:connect(function(s, p)
  341. tf = tf + s
  342. if tf >= frame then
  343. for i = 1, math.floor(tf / frame) do
  344. Heartbeat:Fire()
  345. end
  346. tf = tf - frame * math.floor(tf / frame)
  347. end
  348. end)
  349. function swait(num)
  350. if num == 0 or num == nil then
  351. Heartbeat.Event:wait()
  352. else
  353. for i = 1, num do
  354. Heartbeat.Event:wait()
  355. end
  356. end
  357. end
  358.  
  359. function makeweld(parent, p0, p1, c0, c1)
  360. local wel = Instance.new("Weld")
  361. wel.Part0 = p0
  362. wel.Part1 = p1
  363. wel.C0 = c0
  364. if c1 ~= nil then
  365. wel.C1 = c1
  366. end
  367. wel.Parent = parent
  368. return wel
  369. end
  370.  
  371. function smash()
  372. hum.WalkSpeed = 2
  373. hum.JumpPower = 1
  374. local S = Instance.new("Sound",game.Soundscape)
  375. S.SoundId = "rbxassetid://938838122"
  376. S.Volume = 1.5
  377. local S4 = Instance.new("Sound",game.Soundscape)
  378. S4.SoundId = "rbxassetid://991726501"
  379. S4.Volume = 1.5
  380. local S3 = Instance.new("Sound",game.Soundscape)
  381. S3.SoundId = "rbxassetid://610327604"
  382. S3.Volume = 0.3
  383. S3.PlaybackSpeed = 0.85
  384. local pe = Instance.new("ParticleEmitter",char:FindFirstChild("Right Arm"))
  385. pe.Texture = "rbxassetid://272050333"
  386. pe.Size = NumberSequence.new(1)
  387. pe.LightEmission = 1
  388. pe.LightInfluence = 1
  389. pe.Rate = 1000000.000
  390. pe.Rotation = NumberRange.new(0, 360)
  391. pe.Speed = NumberRange.new(10)
  392. pe.Color = ColorSequence.new(Color3.new(0,170,0))
  393. pe.Lifetime = NumberRange.new(0.06)
  394. pe.LockedToPart = true
  395. local pe2 = Instance.new("ParticleEmitter",char:FindFirstChild("Right Arm"))
  396. pe2.Texture = "http://www.roblox.com/asset/?id=243098098"
  397. pe2.Size = NumberSequence.new(3)
  398. pe2.LightEmission = 1
  399. pe2.LightInfluence = 1
  400. pe2.Rate = 1000
  401. pe2.Color = ColorSequence.new(Color3.new(0,170,0))
  402. pe2.Rotation = NumberRange.new(0, 360)
  403. pe2.RotSpeed = NumberRange.new(2)
  404. pe2.Speed = NumberRange.new(15)
  405. pe2.SpreadAngle = Vector2.new(360,306)
  406. pe2.Lifetime = NumberRange.new(0.06)
  407. pe2.ZOffset = 1
  408. pe2.LockedToPart = true
  409. pe2.Name = "ParticleEmitter2"
  410.  
  411. S:Play()
  412. for _ = 1, 45 do
  413. swait()
  414. lerpz(RJ, "C0", RJC0 * cf(0, 0.8, -0.2) * ang(rd(10), rd(0), rd(-70)), 0.2)
  415. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(6), rd(2), rd(68)), 0.2)
  416. lerpz(RS, "C0", RSC0 * cf(rd2(-1, 1) / 10, rd2(-1, 1) / 10, rd2(-1, 1) / 10) * ang(rd(rd2(25, 35)), rd(rd2(-15, -5)), rd(rd2(80, 90))), 0.2)
  417. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  418. lerpz(LS, "C0", LSC0 * cf(-0.15, -0.4, 0.5) * ang(rd(-10), rd(60), rd(-86)), 0.2)
  419. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(80), rd(0)), 0.2)
  420. lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-29), rd(-2)), 0.2)
  421. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  422. lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.2)
  423. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  424. end
  425. for _ = 1, 30 do
  426. swait()
  427. lerpz(RJ, "C0", RJC0 * cf(0, 1.2, -0.2) * ang(rd(5), rd(6), rd(-109)), 0.2)
  428. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(-6), rd(96)), 0.2)
  429. lerpz(RS, "C0", RSC0 * cf(rd2(-1, 1) / 10, rd2(-1, 1) / 10, rd2(-1, 1) / 10) * ang(rd(rd2(10, 20)), rd(rd2(-25, -15)), rd(rd2(100, 110))), 0.2)
  430. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-46)), 0.2)
  431. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.2)
  432. lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-39), rd(-2)), 0.2)
  433. lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.2)
  434. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.2)
  435.  
  436. end
  437. for l = 1, 3 do
  438. swait()
  439. lerpz(RJ, "C0", RJC0 * cf(0.4, -1.6, -0.2) * ang(rd(5), rd(6), rd(60)), 0.3 + l / 4)
  440. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(14), rd(-4), rd(-35)), 0.3 + l / 4)
  441. lerpz(RS, "C0", RSC0 * cf(0.3, -0.4, 0.55) * ang(rd(0), rd(-58), rd(95)), 0.3 + l / 4)
  442. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-80), rd(0)), 0.3 + l / 4)
  443. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-66)), 0.3 + l / 4)
  444. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.3 + l / 4)
  445. lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-39), rd(-2)), 0.3 + l / 4)
  446. lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.3 + l / 4)
  447. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.3 + l / 4)
  448. end
  449. local woosh = Instance.new("Part",workspace)
  450. woosh.Size = Vector3.new(12, 12, 20)
  451. woosh.BrickColor = BrickColor.new("Institutional white")
  452. local me = Instance.new("FileMesh",woosh)
  453. me.MeshId = "rbxassetid://437347603"
  454. me.Scale = Vector3.new(1.3, 1.3, 1)
  455. woosh.CanCollide = false
  456. woosh.Anchored = false
  457. woosh.CFrame = woosh.CFrame:lerp(woosh.CFrame * CFrame.new(0, 0, -22), 0.4)
  458. woosh.CFrame = woosh.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
  459. woosh.CFrame = char:FindFirstChild("Right Arm").CFrame
  460. woosh.CFrame = woosh.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  461. local woosh2 = Instance.new("Part",workspace)
  462. woosh2.Size = Vector3.new(12, 12, 20)
  463. woosh2.BrickColor = BrickColor.new("Institutional white")
  464. local me2 = Instance.new("FileMesh",woosh2)
  465. me2.MeshId = "rbxassetid://3270017"
  466. me2.Scale = Vector3.new(1.3, 1.3, 0.4)
  467. woosh2.CanCollide = false
  468. woosh2.Anchored = true
  469. woosh2.CFrame = woosh2.CFrame:lerp(woosh2.CFrame * CFrame.new(0, 0, -22), 0.4)
  470. woosh2.CFrame = woosh2.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
  471. woosh2.CFrame = char:FindFirstChild("Right Arm").CFrame * CFrame.new(0,-3,0)
  472. woosh2.CFrame = woosh2.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  473. local woosh3 = Instance.new("Part",workspace)
  474. woosh3.Size = Vector3.new(12, 12, 20)
  475. woosh3.BrickColor = BrickColor.new("Institutional white")
  476. local me3 = Instance.new("FileMesh",woosh3)
  477. me3.MeshId = "rbxassetid://3270017"
  478. me3.Scale = Vector3.new(1, 1, 0.4)
  479. woosh3.CanCollide = false
  480. woosh3.Anchored = true
  481. woosh3.CFrame = woosh3.CFrame:lerp(woosh3.CFrame * CFrame.new(0, 0, -22), 0.4)
  482. woosh3.CFrame = woosh3.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
  483. woosh3.CFrame = char:FindFirstChild("Right Arm").CFrame * CFrame.new(0,-4.5,0)
  484. woosh3.CFrame = woosh3.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  485. local woosh1 = Instance.new("Part",workspace)
  486. woosh1.Size = Vector3.new(12, 12, 20)
  487. woosh1.BrickColor = BrickColor.new("Institutional white")
  488. local me1 = Instance.new("FileMesh",woosh1)
  489. me1.MeshId = "rbxassetid://489415447"
  490. me1.Scale = Vector3.new(1, 1, 0.4)
  491. woosh1.CanCollide = false
  492. woosh1.Anchored = true
  493. woosh1.CFrame = char:FindFirstChild("Right Arm").CFrame * CFrame.new(0,-4.5,0)
  494. local woosh4 = Instance.new("Part",workspace)
  495. woosh4.Size = Vector3.new(12, 12, 20)
  496. woosh4.BrickColor = BrickColor.new("Institutional white")
  497. local me4 = Instance.new("FileMesh",woosh4)
  498. me4.MeshId = "rbxassetid://http://www.roblox.com/asset/?id=1051557"
  499. me4.Scale = Vector3.new(1.3,0.1,1)
  500. woosh4.CanCollide = false
  501. woosh4.Anchored = true
  502. woosh4.CFrame = char:FindFirstChild("Right Arm").CFrame
  503. local woosh4 = Instance.new("Part",workspace)
  504. woosh4.Size = Vector3.new(12, 12, 20)
  505. woosh4.BrickColor = BrickColor.new("Institutional white")
  506. local me4 = Instance.new("FileMesh",woosh4)
  507. me4.MeshId = "http://www.roblox.com/asset/?id=1051557"
  508. me4.Scale = Vector3.new(2,3.3,2)
  509. woosh4.CanCollide = false
  510. woosh4.Anchored = true
  511. woosh4.CFrame = char:FindFirstChild("Right Arm").CFrame
  512. local v = Instance.new("BodyVelocity", woosh)
  513. v.velocity = woosh.CFrame.lookVector *100
  514. v.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  515. S3:Play()
  516. pe:remove()
  517. pe2:remove()
  518. Crater()
  519. for i = 0.14,1,0.015 do
  520. wait()
  521. hito(woosh, 70, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  522. woosh.CFrame = woosh.CFrame * CFrame.fromEulerAnglesXYZ(0,0,0.1)
  523. woosh1.CFrame = woosh1.CFrame * CFrame.fromEulerAnglesXYZ(0,0.2,0)
  524. woosh.Transparency = woosh.Transparency + 0.04
  525. woosh2.CFrame = woosh2.CFrame * CFrame.fromEulerAnglesXYZ(0,0,0.2)
  526. woosh2.Transparency = woosh2.Transparency + 0.03
  527. me2.Scale = me2.Scale + Vector3.new(2,2,1.8)
  528. woosh3.CFrame = woosh3.CFrame * CFrame.fromEulerAnglesXYZ(0,0,0.2)
  529. woosh3.Transparency = woosh3.Transparency + 0.035
  530. me3.Scale = me3.Scale + Vector3.new(1.3,1.3,1)
  531. me1.Scale = me1.Scale + Vector3.new(2,1,2)
  532. woosh1.Transparency = woosh1.Transparency + 0.04
  533. woosh4.CFrame = woosh4.CFrame * CFrame.fromEulerAnglesXYZ(0,0.2,0)
  534. woosh4.Transparency = woosh4.Transparency + 0.02
  535. me4.Scale = me4.Scale + Vector3.new(2,4,2)
  536. end
  537. woosh3:remove()
  538. woosh2:remove()
  539. woosh1:remove()
  540. woosh4:remove()
  541. woosh:remove()
  542.  
  543. for _ = 1, 24 do
  544. swait()
  545. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  546. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  547. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  548. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  549. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  550. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  551. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  552. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  553. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  554. end
  555. S:remove()
  556. hum.WalkSpeed = 16
  557. hum.JumpPower = 50
  558. wait(2.3)
  559. S4:remove()
  560. S3:remove()
  561. end
  562.  
  563. function ring()
  564. local S4 = Instance.new("Sound",game.Soundscape)
  565. S4.SoundId = "rbxassetid://991726501"
  566. S4.Volume = 1.5
  567. local pe = Instance.new("ParticleEmitter",char:FindFirstChild("Right Leg"))
  568. pe.Texture = "rbxassetid://272050333"
  569. pe.Size = NumberSequence.new(1)
  570. pe.LightEmission = 1
  571. pe.LightInfluence = 1
  572. pe.Rate = 1000000.000
  573. pe.Rotation = NumberRange.new(0, 360)
  574. pe.Speed = NumberRange.new(10)
  575. pe.Color = ColorSequence.new(Color3.new(0,170,0))
  576. pe.Lifetime = NumberRange.new(0.06)
  577. pe.LockedToPart = true
  578. local pe2 = Instance.new("ParticleEmitter",char:FindFirstChild("Right Leg"))
  579. pe2.Texture = "http://www.roblox.com/asset/?id=243098098"
  580. pe2.Size = NumberSequence.new(3)
  581. pe2.LightEmission = 1
  582. pe2.LightInfluence = 1
  583. pe2.Rate = 1000
  584. pe2.Color = ColorSequence.new(Color3.new(0,170,0))
  585. pe2.Rotation = NumberRange.new(0, 360)
  586. pe2.RotSpeed = NumberRange.new(2)
  587. pe2.Speed = NumberRange.new(15)
  588. pe2.SpreadAngle = Vector2.new(360,306)
  589. pe2.Lifetime = NumberRange.new(0.06)
  590. pe2.ZOffset = 1
  591. pe2.LockedToPart = true
  592. pe2.Name = "ParticleEmitter2"
  593. wait(0.3)
  594. local me = Instance.new("Part",workspace)
  595. local mesh = Instance.new("SpecialMesh")
  596. mesh.MeshType = "FileMesh"
  597. mesh.MeshId = "rbxassetid://3270017"
  598. mesh.Scale = Vector3.new(12, 12, 0.05)
  599. mesh.Parent = me
  600. me.Anchored = true
  601. me.CanCollide = false
  602. me.BrickColor = BrickColor.new("Institutional white")
  603. me.CFrame = me.CFrame:lerp(me.CFrame * CFrame.new(0, 0, -22), 0.4)
  604. me.CFrame = me.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
  605. me.CFrame = hrp.CFrame * CFrame.new(0,-2.5,0)
  606. me.CFrame = me.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  607. me.Anchored = false
  608. local me2 = Instance.new("Part",workspace)
  609. local mesh2 = Instance.new("SpecialMesh")
  610. mesh2.MeshType = "FileMesh"
  611. mesh2.MeshId = "rbxassetid://3270017"
  612. mesh2.Scale = Vector3.new(12, 12, 0.05)
  613. mesh2.Parent = me2
  614. me2.Anchored = true
  615. me2.CanCollide = false
  616. me2.BrickColor = BrickColor.new("Institutional white")
  617. me2.CFrame = me2.CFrame:lerp(me2.CFrame * CFrame.new(0, 0, -22), 0.4)
  618. me2.CFrame = me2.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
  619. me2.CFrame = hrp.CFrame
  620. me2.CFrame = me2.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  621. local bfor = Instance.new("BodyPosition")
  622. bfor.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  623. bfor.P = 2500
  624. bfor.Position = me.Position + Vector3.new(0, 50, 0)
  625. bfor.Parent = me
  626. me.Velocity = me.CFrame.lookVector *65
  627. local sound2 = Instance.new("Sound",game.Soundscape)
  628. sound2.SoundId = "rbxassetid://157878578"
  629. sound2.MaxDistance = 300
  630. sound2.EmitterSize = 20
  631. sound2.Volume = 2
  632. sound2.Pitch = 0.9
  633. local sound3 = Instance.new("Sound",game.Soundscape)
  634. sound3.SoundId = "rbxassetid://138250406"
  635. sound2.MaxDistance = 400
  636. sound2.EmitterSize = 30
  637. sound2.Volume = 1.5
  638. sound2.Pitch = 0.6
  639. sound2:Play()
  640. sound3:Play()
  641. wait(0.4)
  642. local bfor = Instance.new("BodyPosition")
  643. bfor.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  644. bfor.P = 2500
  645. bfor.Position = plr.Character.HumanoidRootPart.Position + Vector3.new(0, 500, 0)
  646. bfor.Parent = plr.Character.HumanoidRootPart
  647. plr.Character.HumanoidRootPart.Velocity=plr.Character.HumanoidRootPart.CFrame.lookVector *200
  648. S4:Play()
  649. local part = Instance.new("Part",workspace)
  650. part.Transparency = 1
  651. part.CanCollide = false
  652. part.Anchored = true
  653. part.CFrame = char:FindFirstChild("Right Leg").CFrame
  654. local smok = Instance.new("Smoke",part)
  655. smok.Opacity = 1
  656. smok.Size = 20
  657. for e = 1, 30 do
  658. wait()
  659. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 1)
  660. me.Transparency = me.Transparency + 0.04
  661. me.CFrame = me.CFrame:lerp( me.CFrame * CFrame.new(0, 0, -1), 0.4)
  662. me.CFrame = me.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  663. mesh2.Scale = mesh2.Scale + Vector3.new(8, 8, 3)
  664. me2.Transparency = me2.Transparency + 0.04
  665. me2.CFrame = me2.CFrame:lerp( me2.CFrame * CFrame.new(0, 0, -1), 0.4)
  666. me2.CFrame = me2.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  667. smok.Size = smok.Size + 10
  668. wait()
  669. end
  670. S4:remove()
  671. pe:remove()
  672. pe2:remove()
  673. bfor:remove()
  674. me2:remove()
  675. me:remove()
  676. for i = 0,1,0.01 do
  677. wait()
  678. smok.Opacity = smok.Opacity - 0.01
  679. end
  680. part:remove()
  681. sound2:remove()
  682. sound3:remove()
  683. end
  684.  
  685. function ring2()
  686. hum.WalkSpeed = 0
  687. hum.JumpPower = 0
  688. local pe = Instance.new("ParticleEmitter",char:FindFirstChild("Right Leg"))
  689. pe.Texture = "rbxassetid://272050333"
  690. pe.Size = NumberSequence.new(1)
  691. pe.LightEmission = 1
  692. pe.LightInfluence = 1
  693. pe.Rate = 1000000.000
  694. pe.Rotation = NumberRange.new(0, 360)
  695. pe.Speed = NumberRange.new(10)
  696. pe.Color = ColorSequence.new(Color3.new(0,170,0))
  697. pe.Lifetime = NumberRange.new(0.06)
  698. pe.LockedToPart = true
  699. local pe2 = Instance.new("ParticleEmitter",char:FindFirstChild("Right Leg"))
  700. pe2.Texture = "http://www.roblox.com/asset/?id=243098098"
  701. pe2.Size = NumberSequence.new(3)
  702. pe2.LightEmission = 1
  703. pe2.LightInfluence = 1
  704. pe2.Rate = 1000
  705. pe2.Color = ColorSequence.new(Color3.new(0,170,0))
  706. pe2.Rotation = NumberRange.new(0, 360)
  707. pe2.RotSpeed = NumberRange.new(2)
  708. pe2.Speed = NumberRange.new(15)
  709. pe2.SpreadAngle = Vector2.new(360,306)
  710. pe2.Lifetime = NumberRange.new(0.06)
  711. pe2.ZOffset = 1
  712. pe2.LockedToPart = true
  713. pe2.Name = "ParticleEmitter2"
  714. for l = 1, 30 do
  715. swait()
  716. lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40)
  717. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40)
  718. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40)
  719. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  720. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40)
  721. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  722. lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40)
  723. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  724. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40)
  725. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  726. end
  727. local S4 = Instance.new("Sound",game.Soundscape)
  728. S4.SoundId = "rbxassetid://991726501"
  729. S4.Volume = 1.5
  730. wait(0.3)
  731. local me = Instance.new("Part",workspace)
  732. local mesh = Instance.new("SpecialMesh")
  733. mesh.MeshType = "FileMesh"
  734. mesh.MeshId = "rbxassetid://3270017"
  735. mesh.Scale = Vector3.new(12, 12, 0.05)
  736. mesh.Parent = me
  737. me.Anchored = true
  738. me.CanCollide = false
  739. me.BrickColor = BrickColor.new("Institutional white")
  740. me.CFrame = me.CFrame:lerp(me.CFrame * CFrame.new(0, 0, -22), 0.4)
  741. me.CFrame = me.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
  742. me.CFrame = hrp.CFrame * CFrame.new(0,-2.5,0)
  743. me.CFrame = me.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  744. me.Anchored = false
  745. local me2 = Instance.new("Part",workspace)
  746. local mesh2 = Instance.new("SpecialMesh")
  747. mesh2.MeshType = "FileMesh"
  748. mesh2.MeshId = "rbxassetid://3270017"
  749. mesh2.Scale = Vector3.new(12, 12, 0.05)
  750. mesh2.Parent = me2
  751. me2.Anchored = true
  752. me2.CanCollide = false
  753. me2.BrickColor = BrickColor.new("Institutional white")
  754. me2.CFrame = me2.CFrame:lerp(me2.CFrame * CFrame.new(0, 0, -22), 0.4)
  755. me2.CFrame = me2.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
  756. me2.CFrame = hrp.CFrame
  757. me2.CFrame = me2.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  758. local bfor = Instance.new("BodyPosition")
  759. bfor.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  760. bfor.P = 2500
  761. bfor.Position = me.Position + Vector3.new(0, 50, 0)
  762. bfor.Parent = me
  763. me.Velocity = me.CFrame.lookVector *65
  764. local sound2 = Instance.new("Sound",game.Soundscape)
  765. sound2.SoundId = "rbxassetid://157878578"
  766. sound2.MaxDistance = 300
  767. sound2.EmitterSize = 20
  768. sound2.Volume = 2
  769. sound2.Pitch = 0.9
  770. local sound3 = Instance.new("Sound",game.Soundscape)
  771. sound3.SoundId = "rbxassetid://138250406"
  772. sound2.MaxDistance = 400
  773. sound2.EmitterSize = 30
  774. sound2.Volume = 1.5
  775. sound2.Pitch = 0.6
  776. sound2:Play()
  777. sound3:Play()
  778.  
  779. S4:Play()
  780. local part = Instance.new("Part",workspace)
  781. part.Transparency = 1
  782. part.CanCollide = false
  783. part.Anchored = true
  784. part.CFrame = char:FindFirstChild("Right Leg").CFrame
  785. local smok = Instance.new("Smoke",part)
  786. smok.Opacity = 1
  787. smok.Size = 20
  788. local woosh4 = Instance.new("Part",workspace)
  789. woosh4.Size = Vector3.new(12, 12, 20)
  790. woosh4.BrickColor = BrickColor.new("Institutional white")
  791. local me4 = Instance.new("FileMesh",woosh4)
  792. me4.MeshId = "rbxassetid://http://www.roblox.com/asset/?id=1051557"
  793. me4.Scale = Vector3.new(1.3,0.1,1)
  794. woosh4.CanCollide = false
  795. woosh4.Anchored = true
  796. woosh4.CFrame = char:FindFirstChild("Right Arm").CFrame
  797. local woosh4 = Instance.new("Part",workspace)
  798. woosh4.Size = Vector3.new(12, 12, 20)
  799. woosh4.BrickColor = BrickColor.new("Institutional white")
  800. local me4 = Instance.new("FileMesh",woosh4)
  801. me4.MeshId = "http://www.roblox.com/asset/?id=1051557"
  802. me4.Scale = Vector3.new(2,3.3,2)
  803. woosh4.CanCollide = false
  804. woosh4.Anchored = true
  805. woosh4.CFrame = char:FindFirstChild("Right Leg").CFrame
  806. Crater()
  807. for e = 1, 30 do
  808. wait()
  809. hito(woosh4, 70, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  810. hito(me2, 70, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  811. hito(me, 70, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  812. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 1)
  813. me.Transparency = me.Transparency + 0.04
  814. me.CFrame = me.CFrame:lerp( me.CFrame * CFrame.new(0, 0, -1), 0.4)
  815. me.CFrame = me.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  816. mesh2.Scale = mesh2.Scale + Vector3.new(8, 8, 3)
  817. me2.Transparency = me2.Transparency + 0.04
  818. me2.CFrame = me2.CFrame:lerp( me2.CFrame * CFrame.new(0, 0, -1), 0.4)
  819. me2.CFrame = me2.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  820. smok.Size = smok.Size + 10
  821. woosh4.CFrame = woosh4.CFrame * CFrame.fromEulerAnglesXYZ(0,1,0)
  822. woosh4.Transparency = woosh4.Transparency + 0.06
  823. me4.Scale = me4.Scale + Vector3.new(2,4,2)
  824. wait()
  825. end
  826. for _ = 1, 18 do
  827. swait()
  828. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  829. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  830. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  831. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  832. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  833. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  834. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  835. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  836. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  837. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  838. end
  839. hum.WalkSpeed = 16
  840. hum.JumpPower = 50
  841. woosh4:remove()
  842. S4:remove()
  843. pe:remove()
  844. pe2:remove()
  845. me2:remove()
  846. me:remove()
  847. for i = 0,1,0.01 do
  848. wait()
  849. smok.Opacity = smok.Opacity - 0.01
  850. end
  851. part:remove()
  852. sound2:remove()
  853. sound3:remove()
  854. end
  855.  
  856.  
  857. function lerpz(joint, prop, cfrmz, alp)
  858. joint[prop] = joint[prop]:lerp(cfrmz, alp)
  859. end
  860.  
  861. m.KeyDown:connect(function(key)
  862. key = key:lower()
  863. if key == "e" and LOADED == 1 then
  864. LOADED = LOADED -1
  865. smash()
  866. LOADED = LOADED +1
  867. end
  868. end)
  869.  
  870. m.KeyDown:connect(function(key)
  871. key = key:lower()
  872. if key == "z" and LOADED == 1 then
  873. LOADED = LOADED -1
  874. ring()
  875. wait(1)
  876. LOADED = LOADED +1
  877. end
  878. end)
  879.  
  880.  
  881. m.KeyDown:connect(function(key)
  882. key = key:lower()
  883. if key == "r" and LOADED == 1 then
  884. LOADED = LOADED -1
  885. ring2()
  886. wait(1)
  887. LOADED = LOADED +1
  888. end
  889. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement