Advertisement
yeetalpha

Ofa 2

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