Advertisement
Rawscript

Untitled

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