Advertisement
Hugo1234cool

Untitled

Apr 5th, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 53.85 KB | None | 0 0
  1. --//Made by Spyro
  2. --//Proteus
  3. --[[
  4.  
  5. =======Moves=======
  6. ===[Normal mode]===
  7. -Q = Void's Wrath
  8. -E = Void Crush
  9. -R = Void Crash
  10. -F = Power Punch
  11. ===================
  12. ===[Power mode]====
  13. -Q = Pure Devastation
  14. -E = Raining Pain
  15. -R = Sonic Boom
  16. -T = Controlled Devastation
  17. ===================
  18. ====[Misc Keys]====
  19. -L = Switch between modes
  20. -K = Teleport
  21. ===================
  22. --]]if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility by WaverlyCole & Fireboltofdeath");print("https://github.com/WaverlyCole/FE-Compatibility-VoidSb-")
  23. local Wrapper = {};Wrapper.Fake = {};Wrapper.Real = {};Wrapper.Data = {};
  24. local sGame = game;local sScript = script;local sOwner = owner;local sInstance = Instance;local sLoadLibrary = LoadLibrary
  25. Wrapper.Event = Instance.new("RemoteEvent");Wrapper.Event.Name = "UserInput";
  26. Wrapper.CreateObject = function(connections, index)
  27. local proxy = newproxy (true);local meta = getmetatable (proxy);
  28. local runbind = function (self, i, ...) connections[i]:Fire (...); end;
  29. while (#connections > 0) do connections[table.remove(connections, 1)] = Instance.new ('BindableEvent');end;
  30. meta.__index = function (self, i)
  31. if (i == 'TriggerEvent') then return runbind end;
  32. return connections[i] and connections[i].Event or index[i];
  33. end;
  34. meta.__newindex = index;meta.__metatable = false;return proxy
  35. end;
  36. Wrapper.Mouse = Wrapper.CreateObject({"KeyUp","KeyDown","Button1Down","Button1Up","Move","Button2Down","Button2Up"},{["Target"] = nil;["Hit"] = CFrame.new()})
  37. Wrapper.UserInputService = Wrapper.CreateObject({"InputBegan","InputEnded"},{})
  38. Wrapper.ContextActionService = {Actions={};BindAction = function(self,actionName,Func,touch,...)self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil end;UnBindAction = function(self,actionName,Func,touch,...)self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil end};
  39. Wrapper.Sandbox = function(...)
  40. local Unwrap = {...};
  41. for obi = 1,#Unwrap do
  42. local Object = Unwrap[obi];
  43. if (Wrapper.Fake[Object] == nil and Wrapper.Real[Object] == nil) then
  44. local Type = typeof(Object);local Replacement = Object;
  45. if (Type == "function") then
  46. Replacement = function(...)
  47. local IsRoblox = not (pcall(function() string.dump(Object) end))
  48. if IsRoblox then
  49. return Object(Wrapper.Unsandbox(...))
  50. end
  51. return Object(Wrapper.Sandbox(...))
  52. end
  53. elseif (Type == "table") then
  54. Replacement = {};
  55. setmetatable(Replacement, {
  56. __index = function(self, i)
  57. return Wrapper.Sandbox(Object[Wrapper.Unsandbox(i)])
  58. end,
  59. __newindex = function(self,i,v)
  60. Object[Wrapper.Unsandbox(i)] = Wrapper.Unsandbox(v)
  61. end;
  62. })
  63. elseif (Type == "Instance") then
  64. Replacement = newproxy(true);
  65. local Mt = getmetatable(Replacement);
  66. Mt.__namecall = function(self, ...)
  67. local Pack = {...};local Name = Pack[#Pack];table.remove(Pack, #Pack);
  68. local Rest = nil;pcall(function()Rest = Object[Name];end);
  69. for g, x in pairs (Wrapper.InstanceMT["GET"]) do
  70. if (Object:IsA(g) or g == "Global") then
  71. for t, v in pairs(x) do
  72. for str in string.gmatch(t .. ",", "(%w+),") do
  73. if (Name == str) then
  74. if typeof(v) == "function" then
  75. return Wrapper.Sandbox(v(Wrapper.Unsandbox(self), Wrapper.Unsandbox(unpack(Pack))))
  76. else
  77. return v;
  78. end
  79. end
  80. end
  81. end
  82. end
  83. end
  84. if (Rest == nil) then
  85. if Wrapper.Sandbox(sGame):GetService(unpack(Pack)) then return Wrapper.Sandbox(sGame):GetService(unpack(Pack))end;
  86. return Wrapper.Sandbox(Object[Name]);
  87. elseif (typeof(Rest) == "function") then
  88. return Wrapper.Sandbox(Rest(Wrapper.Unsandbox(self), Wrapper.Unsandbox(unpack(Pack))))
  89. end
  90. return Wrapper.Sandbox(Object[Name]);
  91. end
  92. Mt.__index = function(self, i)
  93. local Rest = nil;pcall(function()Rest = Object[i];end)
  94. for g, x in pairs (Wrapper.InstanceMT["GET"]) do
  95. if (Object:IsA(g) or g == "Global") then
  96. for t, v in pairs(x) do
  97. for str in string.gmatch(t .. ",", "(%w+),") do
  98. if (i == str) then
  99. if typeof(v) == "function" then
  100. return function(...)return Wrapper.Sandbox(v(Wrapper.Unsandbox(self), Wrapper.Unsandbox(...)))end;
  101. else
  102. return v;
  103. end
  104. end
  105. end
  106. end
  107. end
  108. end
  109. if (Object:IsA("Sound") and i == "PlaybackLoudness") then return Wrapper.SoundLoudness[Wrapper.Unsandbox(Object)];end;
  110. if (Rest == nil) then
  111. if Wrapper.Sandbox(sGame):GetService(i) then return Wrapper.Sandbox(sGame):GetService(i)end;
  112. return Wrapper.Sandbox(Object[i]);
  113. elseif (typeof(Rest) == "function") then
  114. local isService,Service = pcall(function() return sGame:GetService(i) end)
  115. if isService and Service then return Wrapper.Sandbox(Service) end
  116. return function(self, ...)
  117. return Wrapper.Sandbox(Rest(Wrapper.Unsandbox(self), Wrapper.Unsandbox(...)))
  118. end
  119. end
  120. return Wrapper.Sandbox(Object[i]);
  121. end
  122. Mt.__newindex = function(self, i, v)
  123. for g,x in pairs (Wrapper.InstanceMT["SET"]) do
  124. if (Object:IsA(g)) then
  125. for t, v in pairs(x) do
  126. for str in string.gmatch( t .. ",", "(%w+),") do
  127. if v(Wrapper.Unsandbox(self, i, v)) == true then
  128. Object[Wrapper.Unsandbox(i)] = Wrapper.Unsandbox(v);return
  129. end
  130. end
  131. end
  132. end
  133. end
  134. Object[Wrapper.Unsandbox(i)] = Wrapper.Unsandbox(v);
  135. end
  136. Mt.__tostring = function(self) return tostring(Object) end
  137. --elseif (Type == "") then -- Etc
  138. end
  139. Wrapper.Fake[Object] = Replacement;Wrapper.Real[Replacement] = Object;Unwrap[obi] = Replacement;
  140. else
  141. return Wrapper.Fake[Object] or Object;
  142. end
  143. end
  144. return unpack(Unwrap);
  145. end
  146. Wrapper.Unsandbox = function(...)
  147. local Unsandbox = {...};
  148. for i,v in pairs (Unsandbox) do Unsandbox[i] = Wrapper.Real[v] or Unsandbox[i]end;
  149. return unpack(Unsandbox)
  150. end
  151. Wrapper.Services = {
  152. ['contextactionservice'] = Wrapper.ContextActionService;
  153. ["userinputservice"] = Wrapper.UserInputService;
  154. }
  155. Wrapper.InstanceMT = {
  156. ["GET"] = {
  157. ["Global"] = {
  158. ["IsFake,isFake"] = function(self)return true;end;
  159. };
  160. ["Player"] = {
  161. ["mouse,Mouse,getMouse,GetMouse"] = function(self)return Wrapper.Mouse;end;
  162. };
  163. ["Players"] = {
  164. ["localPlayer,LocalPlayer"] = Wrapper.Sandbox(owner)
  165. };
  166. ["DataModel"] = {
  167. ["getService,GetService"] = function(self,service)
  168. if Wrapper.Services[service:lower()] then return Wrapper.Sandbox(Wrapper.Services[service:lower()])end;
  169. return Wrapper.Sandbox(sGame:GetService(service))
  170. end
  171. };
  172. ["RunService"] = {
  173. ["renderstepped,renderStepped,RenderStepped"] = sGame:GetService("RunService").Stepped;
  174. }
  175. };
  176. ["SET"] = {
  177. }
  178. }
  179. Wrapper.SoundLoudness = {};
  180. Wrapper.Event.OnServerEvent:Connect(function(FiredBy,Input)
  181. if FiredBy ~= sOwner then return end
  182. if Input.MouseEvent then
  183. Wrapper.Mouse.Target = Input.Target;Wrapper.Mouse.Hit = Input.Hit;Wrapper.Mouse:TriggerEvent("Move")
  184. elseif Input.Sound then
  185. if Wrapper.SoundLoudness[Input.Sound] then Wrapper.SoundLoudness[Input.Sound] = Input.Loudness end
  186. else
  187. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  188. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Wrapper.Mouse:TriggerEvent(Begin and "Button1Down" or "Button1Up") end
  189. if Input.UserInputType == Enum.UserInputType.MouseButton2 then return Wrapper.Mouse:TriggerEvent(Begin and "Button2Down" or "Button2Up") end
  190. for _,Action in pairs(Wrapper.ContextActionService.Actions) do
  191. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  192. end
  193. Wrapper.Mouse:TriggerEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower());Wrapper.UserInputService:TriggerEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  194. end
  195. end);
  196. Wrapper.Event.Parent = NLS([[
  197. local Player = owner;local Sounds = {};local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse();
  198. local Input = function(Input,gameProcessedEvent)
  199. if gameProcessedEvent then return end;
  200. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  201. end
  202. Event.OnClientEvent:connect(function(Args)
  203. if Args[1] == "NewSound" and Args[2]:IsA("Sound") then table.insert(Sounds,Args[2]) end
  204. end)
  205. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  206. local Hit,Target;while wait(1/30) do
  207. for x,Sound in pairs(Sounds) do if Sound.Parent then Event:FireServer({["Sound"]=Sound,["Loudness"]=Sound.PlaybackLoudness}) end; end;
  208. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  209. Hit = Mouse.Hit;Target = Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  210. end
  211. end]],sOwner.Character)
  212. Instance = {
  213. ["new"] = function(Type,Parent)
  214. local Real = sInstance.new(Type,Wrapper.Unsandbox(Parent))
  215. if Type:lower() == "sound" then
  216. if not Parent then
  217. Parent = sOwner.Character
  218. end
  219. Wrapper.SoundLoudness[Real] = 0;Wrapper.Event:FireClient(sOwner,{"NewSound",Real})
  220. end
  221. return Wrapper.Sandbox(Real)
  222. end
  223. }
  224. LoadLibrary = function(Library)
  225. if Library == "RbxUtility" then
  226. return setmetatable({},{
  227. __tostring = function() return "RbxUtility" end;
  228. __index = function(self, Index)
  229. if Index:lower() == "create" then
  230. return function(Type) return function(Data)
  231. Data = Data or {};local Inst = Instance.new(Type)
  232. for x,y in pairs(Data) do Inst[x] = y end
  233. return Inst
  234. end;end;
  235. end
  236. return sLoadLibrary(Library)[Index]
  237. end})
  238. end
  239. return sLoadLibrary(Library)
  240. end
  241. owner = Wrapper.Sandbox(owner);game = Wrapper.Sandbox(game)workspace = Wrapper.Sandbox(workspace)
  242. Game= game;Workspace = workspace;
  243.  
  244. --//Paste script below this line.
  245. UserInputService = game:GetService("UserInputService")
  246. TweenService = game:GetService("TweenService")
  247. Plr =owner
  248. Colours= {BrickColor.new("Black"),BrickColor.new("Royal purple")}
  249.  
  250. Char = Plr.Character
  251. Motor6DClones = {}
  252. BodyPartClones = {}
  253. Torso = Char.Torso
  254. HRoot = Char.HumanoidRootPart
  255. LArm = Char["Left Arm"]
  256. RArm = Char["Right Arm"]
  257. LLeg = Char["Left Leg"]
  258. RLeg = Char["Right Leg"]
  259. Head = Char.Head
  260. Hrj = HRoot.RootJoint
  261. LShold = Torso["Left Shoulder"]
  262. RShold = Torso["Right Shoulder"]
  263. LHip = Torso["Left Hip"]
  264. RHip = Torso["Right Hip"]
  265. Neck = Torso.Neck
  266. Lscf = LShold.C0
  267. Rscf = RShold.C0
  268. Lhcf = LHip.C0
  269. Rhcf = RHip.C0
  270. Ncf = Neck.C0
  271. Hrjcf = Hrj.C0
  272. Human = Char:FindFirstChildOfClass("Humanoid")
  273. Rad = math.rad
  274. Sin = math.sin
  275. Random = math.random
  276. Floor = math.floor
  277. Keys = {}
  278. Attacking = false
  279. Typing = false
  280. Attacking = false
  281. SuperFly = false
  282. Flying = false
  283. Invisible = false
  284. Phase = false
  285. Anim = "Idle"
  286. Mode = "Normal"
  287. Walkspeed = 16
  288. Char.Animate.Disabled = true
  289. Human.Animator:Destroy()
  290. Human:RemoveAccessories()
  291. Char.Sound:Destroy()
  292. Char.Animate:Destroy()
  293. pcall(function()
  294. Char["Body Colors"]:Destroy()
  295. end)
  296. wait(.05)
  297. for _,v in pairs(Char:GetChildren()) do
  298. if v:IsA('Clothing') or v:IsA('Accessory') or v:IsA('Hat') then
  299. v:Destroy()
  300. elseif v:IsA('BasePart') then
  301. v.BrickColor = BrickColor.new("Black")
  302. end
  303. end
  304. function Smooth(part)
  305. part.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  306. part.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  307. part.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  308. part.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  309. part.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  310. part.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  311. end
  312. function Create(Class,Parent,Name,Extra)
  313. local asd = Instance.new(Class,Parent)
  314. asd.Name = Name or Class
  315. if asd:IsA('BasePart') then
  316. Smooth(asd)
  317. end
  318. for i,v in pairs(Extra or {}) do
  319. asd[i] = v
  320. end
  321. return asd
  322. end
  323. function newWeld(parent, P0, P1, C0, C1)
  324. local weld = Instance.new("Motor6D", parent or P0)
  325. weld.Part0 = P0
  326. weld.Part1 = P1
  327. weld.C0 = C0 or weld.C0
  328. weld.C1 = C1 or weld.C1
  329. return weld
  330. end
  331. Shirt = Create("Shirt",Char,"Shirt",{ShirtTemplate = "rbxassetid://761748165"})
  332. Pants = Create("Pants",Char,"Pants",{PantsTemplate = "rbxassetid://222431914"})
  333. Head.face.Texture = "rbxassetid://120954647"
  334. Bg = Create("BillboardGui",Head,"BG",{Size = UDim2.new(7,0,2,0),StudsOffset = Vector3.new(0,2,0)})
  335. Tl = Create("TextLabel",Bg,"TL",{Size = UDim2.new(1,0,1,0),BackgroundTransparency = 1,TextColor3 = Color3.fromRGB(85,0,127),TextScaled = true,TextStrokeTransparency = 0,Font = Enum.Font.Fantasy,Text = "Proteus"})
  336. Fist1 = Create("Part",Char,"Fist",{CanCollide = false,Size = Vector3.new(LArm.Size.X,LArm.Size.Y/2,LArm.Size.Z),Transparency = 1})
  337. FistAura1 = Create("ParticleEmitter",Fist1,"PE",{
  338. Texture = "http://www.roblox.com/asset/?id=258126401",
  339. Color = ColorSequence.new(Color3.fromRGB(0,0,0),Color3.fromRGB(170,0,0)),
  340. LightEmission = 0.5,
  341. Size = NumberSequence.new(0.719,0),
  342. Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.025,0.6),NumberSequenceKeypoint.new(0.05,0.5),NumberSequenceKeypoint.new(0.5,0.5),NumberSequenceKeypoint.new(0.7,0.6),NumberSequenceKeypoint.new(1,1)}),
  343. Acceleration = Vector3.new(0,0,0),
  344. EmissionDirection = "Top",
  345. Speed = NumberRange.new(0,0),
  346. Lifetime = NumberRange.new(0.6,0.8),
  347. Rate = 500,
  348. Rotation = NumberRange.new(-180,180),
  349. RotSpeed = NumberRange.new(-50,50),
  350. ZOffset = 2,
  351. LockedToPart = false,
  352. Enabled = false
  353. })
  354. Fist1W = newWeld(LArm,Fist1,LArm,CFrame.new(0,LArm.Size.Y/2,0))
  355. Fist2 = Create("Part",Char,"Fist",{CanCollide = false,Size = Vector3.new(RArm.Size.X,RArm.Size.Y/2,RArm.Size.Z),Transparency = 1})
  356. FistAura2 = Create("ParticleEmitter",Fist2,"PE",{
  357. Texture = "http://www.roblox.com/asset/?id=258126401",
  358. Color = ColorSequence.new(Color3.fromRGB(0,0,0),Color3.fromRGB(170,0,0)),
  359. LightEmission = 0.5,
  360. Size = NumberSequence.new(0.719,0),
  361. Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.025,0.6),NumberSequenceKeypoint.new(0.05,0.5),NumberSequenceKeypoint.new(0.5,0.5),NumberSequenceKeypoint.new(0.7,0.6),NumberSequenceKeypoint.new(1,1)}),
  362. Acceleration = Vector3.new(0,0,0),
  363. EmissionDirection = "Top",
  364. Speed = NumberRange.new(0,0),
  365. Lifetime = NumberRange.new(0.6,0.8),
  366. Rate = 500,
  367. Rotation = NumberRange.new(-180,180),
  368. RotSpeed = NumberRange.new(-50,50),
  369. ZOffset = 2,
  370. LockedToPart = false,
  371. Enabled = false
  372. })
  373. Fist2W = newWeld(RArm,Fist2,RArm,CFrame.new(0,RArm.Size.Y/2,0))
  374. BodyPosition = Create("BodyPosition",nil,"BP",{MaxForce = Vector3.new(0,2e8,0)})
  375. BodyVel = Create("BodyVelocity",nil,"BV",{MaxForce = Vector3.new(2e8,2e8,2e8),Velocity = Vector3.new(0,0,0)})
  376. function keyDown(key)
  377. if not Attacking then--For the moves
  378. if Mode == "Normal" then
  379. if key == Enum.KeyCode.Q then
  380. Attacking = true
  381. local createEffect = true
  382. coroutine.resume(coroutine.create(function()
  383. repeat
  384. local blast = Create("Part",workspace,"Part",{Anchored = true,CanCollide = false,CFrame = HRoot.CFrame * CFrame.new(0,-2,0),BrickColor = Colours[math.random(1,#Colours)]})
  385. local mesh = Create("SpecialMesh",blast,"Mesh",{MeshId = "http://www.roblox.com/asset/?id=20329976",Scale = Vector3.new(3,1,3)})
  386. blast.CFrame = blast.CFrame * CFrame.Angles(Rad(0),Rad(Random(-360,360)),Rad(0))
  387. coroutine.resume(coroutine.create(function()
  388. for i=0,1,0.1 do
  389. mesh.Scale = mesh.Scale:lerp(Vector3.new(10,2,10),i)
  390. blast.Transparency = i
  391. wait()
  392. end
  393. blast:Destroy()
  394. end))
  395. game:GetService("Debris"):AddItem(blast,1)
  396. wait()
  397. until not createEffect
  398. end))
  399. coroutine.resume(coroutine.create(function()
  400. repeat
  401. local effect = Create("Part",workspace,"Part",{Material = "Neon",BrickColor = Colours[Random(1,#Colours)],Size = Vector3.new(2,2,2),CanCollide = false,Anchored = false,CFrame = HRoot.CFrame * CFrame.new(Random(-10,10),-2,Random(-10,10))})
  402. Create("BodyVelocity",effect,"BV",{MaxForce = Vector3.new(0,2e8,0),Velocity = Vector3.new(0,10,0)})
  403. coroutine.resume(coroutine.create(function()
  404. for i=0,1,0.1 do
  405. effect.CFrame = effect.CFrame:lerp(effect.CFrame * CFrame.Angles(Rad(Random(-360,360)),Rad(Random(-360,360)),Rad(Random(-360,360))),i)
  406. effect.Transparency = i
  407. wait()
  408. end
  409. effect:Destroy()
  410. end))
  411. game:GetService("Debris"):AddItem(effect,1)
  412. wait()
  413. until not createEffect
  414. end))
  415. for i=0,1,0.1 do
  416. Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(10),Rad(0),Rad(0)),i)
  417. LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5),Rad(0),Rad(-10)),i)
  418. RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5),Rad(0),Rad(10)),i)
  419. LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-10),Rad(0),Rad(-20)),i)
  420. RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-10),Rad(0),Rad(20)),i)
  421. Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(10),Rad(0),Rad(0)),i)
  422. wait()
  423. end
  424. wait(1)
  425. for i=0,1,0.1 do
  426. Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(-10),Rad(0),Rad(0)),i)
  427. LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5),Rad(0),Rad(10)),i)
  428. RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5),Rad(0),Rad(-10)),i)
  429. LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-40),Rad(0),Rad(40)),i)
  430. RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-40),Rad(0),Rad(-40)),i)
  431. Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(-10),Rad(0),Rad(0)),i)
  432. wait()
  433. if i>=0.8 then
  434. createEffect = false
  435. end
  436. end
  437. coroutine.resume(coroutine.create(function()
  438. for _,v in pairs(workspace:GetChildren()) do
  439. if v:IsA('Model') and v ~= Char and v:FindFirstChildOfClass("Humanoid") then
  440. local hum = v:FindFirstChildOfClass("Humanoid")
  441. local tor = v:FindFirstChild("Torso") or v:FindFirstChild("HumanoidRootPart")
  442. if tor then
  443. if (tor.Position-HRoot.Position).magnitude < 20 then
  444. v:BreakJoints()
  445. elseif (tor.Position-HRoot.Position).magnitude >= 20 and (tor.Position-HRoot.Position).magnitude <= 50 then
  446. for _,b in pairs(v:GetChildren()) do
  447. if b:IsA('ForceField') then
  448. b:Destroy()
  449. end
  450. end
  451. hum:TakeDamage(100-Floor((tor.Position-HRoot.Position).magnitude))
  452. end
  453. end
  454. end
  455. end
  456. end))
  457. for i=0,1,0.1 do
  458. local part = Create("Part",Char,"Effect",{Material = "Neon",Anchored = true,CanCollide = false,Size = Vector3.new(10,10,10),CFrame = HRoot.CFrame,BrickColor = Colours[Random(1,#Colours)]})
  459. coroutine.resume(coroutine.create(function()
  460. for i=0,1,0.1 do
  461. part.Size = part.Size:lerp(Vector3.new(20,20,20),i)
  462. part.CFrame = HRoot.CFrame * CFrame.Angles(Rad(Random(-360,360)),Rad(Random(-360,360)),Rad(Random(-360,360)))
  463. part.Transparency = i
  464. wait()
  465. end
  466. part:Destroy()
  467. end))
  468. wait()
  469. end
  470. Attacking = false
  471. elseif key == Enum.KeyCode.E then
  472. Attacking = true
  473. local detect = true
  474. local targ = nil
  475. local targTor = nil
  476. LArm.Touched:connect(function(h)
  477. if not detect then return end
  478. if h.Parent == nil then return end
  479. if h:IsDescendantOf(Char) then return end
  480. local hum = h.Parent:FindFirstChildOfClass("Humanoid")
  481. local tor = h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("HumanoidRootPart")
  482. if hum and tor then
  483. targ = h.Parent
  484. targTor = tor
  485. end
  486. end)
  487. for i=0,1,0.1 do
  488. Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0),Rad(0),Rad(-90)),i)
  489. LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0),Rad(90),Rad(-90)),i)
  490. Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(0),Rad(0),Rad(90)),i)
  491. wait()
  492. end
  493. detect = false
  494. coroutine.resume(coroutine.create(function()
  495. if targ ~= nil and targTor ~= nil then
  496. pcall(function()
  497. targTor.Anchored = true
  498. for i=0,1,0.1 do
  499. targTor.CFrame = targTor.CFrame:lerp(HRoot.CFrame * CFrame.new(0,0,-10),i)
  500. wait()
  501. end
  502. for _,v in pairs(targ:GetChildren()) do
  503. if v:IsA('BasePart') then v.Transparency = 1 end
  504. end
  505. local orb = Create("Part",targ,"Part",{Anchored = true,CanCollide = false,Shape = "Ball",BrickColor = BrickColor.new("Black"),Size = Vector3.new(8,8,8),CFrame = targTor.CFrame})
  506. local mesh = Create("SpecialMesh",orb,"Mesh",{MeshId = "http://www.roblox.com/Asset/?id=9982590",Scale = Vector3.new(5,5,5)})
  507. game:GetService("Debris"):AddItem(orb,5)
  508. for i=0,1,0.1 do
  509. local orig = orb.CFrame
  510. mesh.Scale = mesh.Scale:lerp(Vector3.new(0.05,0.05,0.05),i)
  511. orb.CFrame = orig * CFrame.Angles(Rad(Random(-360,360)),Rad(Random(-360,360)),Rad(Random(-360,360)))
  512. wait()
  513. end
  514. orb:Destroy()
  515. targ:BreakJoints()
  516. game:GetService("Debris"):AddItem(targ,1)
  517. end)
  518. end
  519. end))
  520. Attacking = false
  521. elseif key == Enum.KeyCode.R then
  522. Attacking = true
  523. for i=0,1,0.1 do
  524. Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(10),Rad(0),Rad(0)),i)
  525. LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5),Rad(0),Rad(-10)),i)
  526. RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5),Rad(0),Rad(10)),i)
  527. LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-10),Rad(0),Rad(-20)),i)
  528. RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-10),Rad(0),Rad(20)),i)
  529. Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(10),Rad(0),Rad(0)),i)
  530. wait()
  531. end
  532. for i=0,1,0.1 do
  533. Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(-10),Rad(0),Rad(0)),i)
  534. Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(-20),Rad(0),Rad(0)),i)
  535. LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-10),Rad(0),Rad(10)),i)
  536. RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-10),Rad(0),Rad(-10)),i)
  537. LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5),Rad(0),Rad(10)),i)
  538. RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5),Rad(0),Rad(-10)),i)
  539. wait()
  540. end
  541. local bv = Create("BodyVelocity",HRoot,"BV",{MaxForce = Vector3.new(2e8,2e8,2e8),Velocity = Vector3.new(0,100,0)})
  542. wait(2)
  543. Torso.Transparency = 1
  544. Head.Transparency = 1
  545. LArm.Transparency = 1
  546. RArm.Transparency = 1
  547. LLeg.Transparency = 1
  548. RLeg.Transparency = 1
  549. Torso.Anchored = true
  550. bv:Destroy()
  551. local createEffect = true
  552. local proj = Create("Part",workspace,"Effect",{CanCollide = false,Transparency = 1,Size = Vector3.new(6,6,6),CFrame = HRoot.CFrame * CFrame.new(0,-6,0) * CFrame.Angles(Rad(-90),Rad(0),Rad(0))})
  553. local vel = Create("BodyVelocity",proj,"BV",{MaxForce = Vector3.new(2e8,2e8,2e8),Velocity = proj.CFrame.lookVector * 100})
  554. workspace.CurrentCamera.CameraSubject = proj
  555. coroutine.resume(coroutine.create(function()
  556. repeat
  557. local part = Create("Part",Char,"Effect",{Anchored = true,CanCollide = false,Material = "Neon",BrickColor = Colours[Random(1,#Colours)],Size = Vector3.new(6,6,6),CFrame = proj.CFrame * CFrame.Angles(Rad(Random(-360,360)),Rad(Random(-360,360)),Rad(Random(-360,360)))})
  558. game:GetService("Debris"):AddItem(part,1)
  559. coroutine.resume(coroutine.create(function()
  560. local tween = TweenService:Create(part,TweenInfo.new(1),{Size = Vector3.new(12,12,12),Transparency = 1,CFrame = part.CFrame * CFrame.Angles(Rad(Random(-360,360)),Rad(Random(-360,360)),Rad(Random(-360,360)))})
  561. tween:Play()
  562. wait(1)
  563. part:Destroy()
  564. end))
  565. game:GetService("RunService").RenderStepped:wait()
  566. until not createEffect
  567. end))
  568. proj.Touched:connect(function(h)
  569. if h:IsDescendantOf(Char) then return end
  570. createEffect = false
  571. proj.Anchored = true
  572. Torso.CFrame = CFrame.new((proj.CFrame * CFrame.new(0,2,0)).p)
  573. Torso.Transparency = 0
  574. Head.Transparency = 0
  575. LArm.Transparency = 0
  576. RArm.Transparency = 0
  577. LLeg.Transparency = 0
  578. RLeg.Transparency = 0
  579. workspace.CurrentCamera.CameraSubject = Human
  580. coroutine.resume(coroutine.create(function()
  581. for _,v in pairs(workspace:GetChildren()) do
  582. if v:IsA('Model') and v ~= Char and v:FindFirstChildOfClass("Humanoid") then
  583. local hum = v:FindFirstChildOfClass("Humanoid")
  584. local tor = v:FindFirstChild("Torso") or v:FindFirstChild("HumanoidRootPart")
  585. if tor then
  586. local magni = (tor.Position-HRoot.Position).magnitude
  587. if magni <= 20 then
  588. v:BreakJoints()
  589. elseif magni > 20 and magni <= 50 then
  590. for _,b in pairs(v:GetChildren()) do
  591. if b:IsA('ForceField') then
  592. b:Destroy()
  593. end
  594. end
  595. hum:TakeDamage(100-Floor(magni))
  596. end
  597. end
  598. end
  599. end
  600. end))
  601. coroutine.resume(coroutine.create(function()
  602. for i=0,1,0.1 do
  603. local part = Create("Part",Char,"Effect",{Anchored = true,CanCollide = false,Material = "Neon",Size = Vector3.new(8,8,8),BrickColor = Colours[Random(1,#Colours)],CFrame = proj.CFrame})
  604. local ring = Create("Part",Char,"Effect",{Anchored = true,CanCollide = false,CFrame = proj.CFrame * CFrame.Angles(Rad(Random(-360,360)),Rad(Random(-360,360)),Rad(Random(-360,360))),BrickColor = Colours[Random(1,#Colours)]})
  605. local mesh = Create("SpecialMesh",ring,"Mesh",{MeshId = "http://www.roblox.com/asset/?id=3270017",Scale = Vector3.new(16,16,16)})
  606. coroutine.resume(coroutine.create(function()
  607. --[[for i=0,1,0.1 do
  608. mesh.Scale = mesh.Scale:lerp(Vector3.new(24,24,24),i)
  609. ring.Transparency = i
  610. wait()
  611. end]]
  612. TweenService:Create(ring,TweenInfo.new(1),{Transparency = 1}):Play()
  613. TweenService:Create(mesh,TweenInfo.new(1),{Scale = Vector3.new(24,24,24)}):Play()
  614. wait(1)
  615. ring:Destroy()
  616. end))
  617. coroutine.resume(coroutine.create(function()
  618. for i=0,1,0.1 do
  619. local orig = part.CFrame
  620. part.Size = part.Size:lerp(Vector3.new(16,16,16),i)
  621. part.CFrame = proj.CFrame * CFrame.Angles(Rad(Random(-360,360)),Rad(Random(-360,360)),Rad(Random(-360,360)))
  622. part.Transparency = i
  623. wait()
  624. end
  625. part:Destroy()
  626. end))
  627. wait()
  628. end
  629. proj:Destroy()
  630. Attacking = false
  631. Torso.Anchored = false
  632. end))
  633. end)
  634. elseif key == Enum.KeyCode.F then
  635. --Super punch,send them flying
  636. FistAura1.Enabled = true
  637. Attacking = true
  638. local Punching = true
  639. local cache = {}
  640. LArm.Touched:connect(function(h)
  641. if h.Parent == nil then return end
  642. if cache[h.Parent.Name] then return end
  643. if h:IsDescendantOf(Char) then return end
  644. if not Punching then return end
  645. if h.Parent.Name:lower():find("veh") and not h.Parent.Name:lower():find("spawn") then
  646. local bv = Create("BodyVelocity",h,"BV",{MaxForce = Vector3.new(2e8,2e8,2e8),Velocity = HRoot.CFrame.lookVector * 500})
  647. h.Parent:BreakJoints()
  648. game:GetService("Debris"):AddItem(bv,0.5)
  649. game:GetService("Debris"):AddItem(h.Parent,3)
  650. return
  651. end
  652. if not h.Parent:FindFirstChildOfClass("Humanoid") then return end
  653. Punching = false
  654. cache[h.Parent.Name] = true
  655. local hum = h.Parent:FindFirstChildOfClass("Humanoid")
  656. if hum.MaxHealth > 2000 then
  657. hum.MaxHealth = 2000
  658. end
  659. for _,v in pairs(h.Parent:GetChildren()) do
  660. if v:IsA('ForceField') then
  661. v:Destroy()
  662. end
  663. end
  664. if hum.Health > (hum.MaxHealth/2) then
  665. local bv = Create("BodyVelocity",h,"BV",{MaxForce = Vector3.new(2e8,2e8,2e8),Velocity = HRoot.CFrame.lookVector * 100})
  666. game:GetService("Debris"):AddItem(bv,1)
  667. hum:TakeDamage(hum.MaxHealth/2)
  668. else
  669. h.Parent:BreakJoints()
  670. Torso.Anchored = true
  671. for _,v in pairs(h.Parent:GetChildren()) do
  672. if v:IsA('BasePart') then
  673. v.CanCollide = false
  674. local bv = Create("BodyVelocity",v,"BV",{MaxForce = Vector3.new(2e8,2e8,2e8),Velocity = HRoot.CFrame.lookVector * 500})
  675. game:GetService("Debris"):AddItem(bv,2)
  676. end
  677. end
  678. Torso.Anchored = false
  679. end
  680. Attacking = false
  681. end)
  682. for i=0,1,0.1 do
  683. Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0),Rad(0),Rad(90)),i)
  684. Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(0),Rad(0),Rad(270)),i)
  685. RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0),Rad(20),Rad(40)),i)
  686. LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0),Rad(20),Rad(-90)),i)
  687. wait()
  688. end
  689. wait(.1)
  690. for i=0,1,0.1 do
  691. Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0),Rad(0),Rad(270)),i)
  692. Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(0),Rad(0),Rad(90)),i)
  693. RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0),Rad(-20),Rad(40)),i)
  694. LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0),Rad(90),Rad(-90)),i)
  695. if not Punching then
  696. break
  697. end
  698. wait()
  699. end
  700. if Punching then
  701. Punching = false
  702. Attacking = false
  703. end
  704. FistAura1.Enabled = false
  705. end
  706. else
  707. if key == Enum.KeyCode.Q then
  708. Attacking = true
  709. local createEffect = true
  710. local projFire = false
  711. coroutine.resume(coroutine.create(function()
  712. repeat
  713. local effect = Create("Part",workspace,"Part",{Material = "Neon",BrickColor = Colours[Random(1,#Colours)],Size = Vector3.new(2,2,2),CanCollide = false,Anchored = false,CFrame = HRoot.CFrame * CFrame.new(Random(-10,10),-2,Random(-10,10))})
  714. Create("BodyVelocity",effect,"BV",{MaxForce = Vector3.new(0,2e8,0),Velocity = Vector3.new(0,10,0)})
  715. coroutine.resume(coroutine.create(function()
  716. for i=0,1,0.1 do
  717. effect.CFrame = effect.CFrame:lerp(effect.CFrame * CFrame.Angles(Rad(Random(-360,360)),Rad(Random(-360,360)),Rad(Random(-360,360))),i)
  718. effect.Transparency = i
  719. wait()
  720. end
  721. effect:Destroy()
  722. end))
  723. game:GetService("Debris"):AddItem(effect,1)
  724. game:GetService("RunService").RenderStepped:wait()
  725. until not createEffect
  726. end))
  727. for i=0,1,0.1 do
  728. Hrj.C0 = Hrj.C0:lerp(Hrjcf,i)
  729. LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0),Rad(-70),Rad(-90)),i)
  730. RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0),Rad(70),Rad(90)),i)
  731. Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(10),Rad(0),Rad(0)),i)
  732. wait()
  733. end
  734. wait(1)
  735. for i=0,1,0.1 do
  736. LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0),Rad(-50),Rad(-90)),i)
  737. RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0),Rad(50),Rad(90)),i)
  738. Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(-10),Rad(0),Rad(0)),i)
  739. if i>= 0.8 then
  740. createEffect = false
  741. end
  742. wait()
  743. end
  744. local proj = Create("Part",workspace,"Effect",{CanCollide = false,Anchored = false,Size = Vector3.new(20,40,8),CFrame = HRoot.CFrame,Transparency = 1})
  745. Create("BodyVelocity",proj,"BV",{MaxForce = Vector3.new(2e8,2e8,2e8),Velocity = HRoot.CFrame.lookVector * 150})
  746. game:GetService("Debris"):AddItem(proj,2)
  747. proj.Touched:connect(function(h)
  748. if h.Parent == nil then return end
  749. if h:IsDescendantOf(Char) then return end
  750. if h.Parent.Name:lower():find("veh") then h.Parent:BreakJoints() game:GetService("Debris"):AddItem(h.Parent,3) return end
  751. h:BreakJoints()
  752. end)
  753. projFire = true
  754. proj.CFrame = HRoot.CFrame * CFrame.new(0,0,-4)
  755. coroutine.resume(coroutine.create(function()
  756. repeat
  757. coroutine.resume(coroutine.create(function()
  758. local part = Create("Part",Char,"Effect",{Anchored = true,CanCollide = false,Material = "Neon",BrickColor = Colours[Random(1,#Colours)],Size = Vector3.new(8,8,8),CFrame = proj.CFrame})
  759. part.CFrame = proj.CFrame * CFrame.Angles(Rad(Random(-360,360)),Rad(Random(-360,360)),Rad(Random(-360,360)))
  760. game:GetService("Debris"):AddItem(part,0.1)
  761. local ring = Create("Part",Char,"Effect",{Anchored = true,CanCollide = false,CFrame = proj.CFrame * CFrame.Angles(Rad(Random(-360,360)),Rad(Random(-360,360)),Rad(Random(-360,360))),BrickColor = Colours[Random(1,#Colours)]})
  762. local mesh = Create("SpecialMesh",ring,"Mesh",{MeshId = "http://www.roblox.com/asset/?id=3270017",Scale = Vector3.new(8,8,8)})
  763. local tween = TweenService:Create(ring,TweenInfo.new(0.5),{Transparency = 1})
  764. local tween2 = TweenService:Create(mesh,TweenInfo.new(0.5),{Scale = Vector3.new(32,32,32)})
  765. tween:Play()
  766. tween2:Play()
  767. wait(0.5)
  768. ring:Destroy()
  769. end))
  770. game:GetService("RunService").RenderStepped:wait()
  771. until not projFire
  772. end))
  773. coroutine.resume(coroutine.create(function()
  774. wait(2)
  775. projFire = false
  776. end))
  777. Attacking = false
  778. elseif key == Enum.KeyCode.E then
  779. Attacking = true
  780. for i=0,1,0.1 do
  781. Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(-20),Rad(0),Rad(0)),i)
  782. Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(-10),Rad(0),Rad(0)),i)
  783. LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0),Rad(60),Rad(-90)),i)
  784. RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0),Rad(-60),Rad(90)),i)
  785. LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5),Rad(0),Rad(20)),i)
  786. RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5),Rad(0),Rad(-20)),i)
  787. wait()
  788. end
  789. for i=0,1,0.1 do
  790. local part = Create("Part",Char,"Effect",{Anchored = true,CanCollide = false,Transparency = 1,CFrame = HRoot.CFrame * CFrame.new(Random(-50,50),-4,Random(-50,50))})
  791. game:GetService("Debris"):AddItem(part,2)
  792. coroutine.resume(coroutine.create(function()
  793. local createEffect = true
  794. local proj = Create("Part",workspace,"Effect",{CanCollide = false,Material = "Neon",Size = Vector3.new(4,4,4),CFrame = HRoot.CFrame * CFrame.new(0,200,0),BrickColor = Colours[Random(1,#Colours)]})
  795. local mesh = Create("SpecialMesh",proj,"Mesh",{MeshType = "Sphere",Scale = Vector3.new(1,1,1)})
  796. proj.CFrame = CFrame.new(proj.Position,part.Position)
  797. Create("BodyVelocity",proj,"BV",{MaxForce = Vector3.new(2e8,2e8,2e8),Velocity = proj.CFrame.lookVector * 100})
  798. proj.Touched:connect(function(h)
  799. if h:IsDescendantOf(Char) then return end
  800. if h.Name == "Effect" then return end
  801. createEffect = false
  802. proj.Anchored = true
  803. coroutine.resume(coroutine.create(function()
  804. for _,v in pairs(workspace:GetChildren()) do
  805. if v:IsA('Model') and v ~= Char and v:FindFirstChildOfClass("Humanoid") then
  806. local hum = v:FindFirstChildOfClass("Humanoid")
  807. local tor = v:FindFirstChild("Torso") or v:FindFirstChild("HumanoidRootPart")
  808. if tor then
  809. local magni = (tor.Position-proj.Position).magnitude
  810. if magni <= 20 then
  811. v:BreakJoints()
  812. elseif magni > 20 and magni <= 50 then
  813. for _,b in pairs(v:GetChildren()) do
  814. if b:IsA('ForceField') then
  815. b:Destroy()
  816. end
  817. end
  818. hum:TakeDamage(100-Floor(magni))
  819. end
  820. end
  821. end
  822. end
  823. end))
  824. local tween = TweenService:Create(mesh,TweenInfo.new(2),{Scale = Vector3.new(12,12,12)})
  825. local tween2 = TweenService:Create(proj,TweenInfo.new(2),{Transparency = 1})
  826. tween:Play()
  827. tween2:Play()
  828. wait(2)
  829. proj:Destroy()
  830. end)
  831. coroutine.resume(coroutine.create(function()
  832. repeat
  833. coroutine.resume(coroutine.create(function()
  834. local brick = Create("Part",Char,"Effect",{Material = "Neon",Anchored = true,CanCollide = false,BrickColor = Colours[Random(1,#Colours)],Size = Vector3.new(4,4,4),CFrame = proj.CFrame * CFrame.Angles(Rad(Random(-360,360)),Rad(Random(-360,360)),Rad(Random(-360,360)))})
  835. local bmesh = Create("BlockMesh",brick,"Mesh",{})
  836. game:GetService("Debris"):AddItem(brick,1)
  837. local tween = TweenService:Create(brick,TweenInfo.new(1),{Transparency = 1})
  838. local tween2 = TweenService:Create(bmesh,TweenInfo.new(1),{Scale = Vector3.new(3,3,3)})
  839. tween:Play()
  840. tween2:Play()
  841. wait(1)
  842. --[[for i=0,1,0.1 do
  843. bmesh.Scale = bmesh.Scale:lerp(Vector3.new(3,3,3),i)
  844. brick.Transparency = i
  845. wait()
  846. end]]
  847. brick:Destroy()
  848. end))
  849. game:GetService("RunService").RenderStepped:wait()
  850. until not createEffect
  851. end))
  852. end))
  853. wait()
  854. end
  855. Attacking = false
  856. elseif key == Enum.KeyCode.R then
  857. Attacking = true
  858. for i=0,1,0.1 do
  859. Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(-10),Rad(0),Rad(0)),i)
  860. LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5),Rad(0),Rad(10)),i)
  861. RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5),Rad(0),Rad(-10)),i)
  862. LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-5),Rad(0),Rad(-10)),i)
  863. RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5),Rad(0),Rad(10)),i)
  864. Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(-10),Rad(0),Rad(0)),i)
  865. wait()
  866. end
  867. for i=0,1,0.1 do
  868. Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(10),Rad(0),Rad(0)),i)
  869. LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5),Rad(0),Rad(-10)),i)
  870. RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5),Rad(0),Rad(10)),i)
  871. LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-5),Rad(0),Rad(10)),i)
  872. RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5),Rad(0),Rad(-10)),i)
  873. Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(-10),Rad(0),Rad(0)),i)
  874. if i > 0.8 and i <= 0.9 then
  875. local proj = Create("Part",workspace,"Effect",{CanCollide = false,Anchored = false,Size = Vector3.new(20,40,8),CFrame = HRoot.CFrame,Transparency = 1})
  876. Create("BodyVelocity",proj,"BV",{MaxForce = Vector3.new(2e8,2e8,2e8),Velocity = HRoot.CFrame.lookVector * 150})
  877. game:GetService("Debris"):AddItem(proj,2)
  878. proj.Touched:connect(function(h)
  879. local cf = proj.CFrame
  880. if h:IsDescendantOf(Char) then return end
  881. if h.Parent == nil then return end
  882. if h.Parent.Name:lower():find("veh") then
  883. h.Parent:BreakJoints()
  884. game:GetService("Debris"):AddItem(h.Parent,3)
  885. return
  886. end
  887. if h:IsDescendantOf(Char) then return end
  888. if h:IsA('BasePart') then
  889. if h.Parent:FindFirstChildOfClass("Humanoid") then
  890. h.Velocity = proj.CFrame.lookVector * 100
  891. end
  892. h:BreakJoints()
  893. end
  894. proj.CFrame = cf
  895. end)
  896. proj.CFrame = HRoot.CFrame * CFrame.new(0,0,-4)
  897. coroutine.resume(coroutine.create(function()
  898. repeat
  899. coroutine.resume(coroutine.create(function()
  900. local ring = Create("Part",Char,"Effect",{Anchored = true,CanCollide = false,CFrame = proj.CFrame,BrickColor = Colours[Random(1,#Colours)]})--proj.CFrame * CFrame.Angles(Rad(Random(-360,360)),Rad(Random(-360,360)),Rad(Random(-360,360)))
  901. local mesh = Create("SpecialMesh",ring,"Mesh",{MeshId = "http://www.roblox.com/asset/?id=3270017",Scale = Vector3.new(8,8,8)})
  902. local tween = TweenService:Create(ring,TweenInfo.new(0.5),{Transparency = 1})
  903. local tween2 = TweenService:Create(mesh,TweenInfo.new(0.5),{Scale = Vector3.new(32,32,32)})
  904. tween:Play()
  905. tween2:Play()
  906. wait(0.5)
  907. ring:Destroy()
  908. end))
  909. game:GetService("RunService").RenderStepped:wait()
  910. until proj.Parent == nil
  911. end))
  912. end
  913. wait()
  914. end
  915. Attacking = false
  916. elseif key == Enum.KeyCode.T then
  917. Attacking = true
  918. for i=0,1,0.1 do
  919. Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(90),Rad(0),Rad(0)),i)
  920. LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0),Rad(0),Rad(-120)),i)
  921. RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0),Rad(0),Rad(120)),i)
  922. LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0),Rad(0),Rad(-70)),i)
  923. RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0),Rad(0),Rad(70)),i)
  924. Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(90),Rad(0),Rad(0)),i)
  925. Torso.Transparency = i
  926. LArm.Transparency = i
  927. RArm.Transparency = i
  928. LLeg.Transparency = i
  929. RLeg.Transparency = i
  930. Head.Transparency = i
  931. FistAura1.Enabled = false
  932. FistAura2.Enabled = false
  933. Tl.Visible = false
  934. Head.face.Transparency = i
  935. wait()
  936. end
  937. local createEffect = true
  938. spawn(function()
  939. local hitbox = Create("Part",Char,"Effect",{CanCollide = false,Size = Vector3.new(8,8,8),Transparency = 1,CFrame = HRoot.CFrame})
  940. local hitWeld = newWeld(HRoot,hitbox,HRoot)
  941. BodyVel.Parent = HRoot
  942. BodyPosition.Parent = nil
  943. BodyVel.Velocity = Vector3.new(0,50,0)
  944. wait(1)
  945. hitbox.Touched:connect(function(h)
  946. if h:IsDescendantOf(Char) then return end
  947. if h.Name == "Effect" then return end
  948. if not createEffect then return end
  949. hitbox.Anchored = true
  950. hitWeld:Destroy()
  951. createEffect = false
  952. BodyVel.Velocity = Vector3.new(0,0,0)
  953. coroutine.resume(coroutine.create(function()
  954. for _,v in pairs(workspace:GetChildren()) do
  955. if v:IsA('Model') and v ~= Char and v:FindFirstChildOfClass("Humanoid") then
  956. local hum = v:FindFirstChildOfClass("Humanoid")
  957. local tor = v:FindFirstChild("Torso") or v:FindFirstChild("HumanoidRootPart")
  958. if tor then
  959. local magni = (tor.Position-HRoot.Position).magnitude
  960. if magni <= 20 then
  961. v:BreakJoints()
  962. elseif magni > 20 and magni <= 50 then
  963. for _,b in pairs(v:GetChildren()) do
  964. if b:IsA('ForceField') then
  965. b:Destroy()
  966. end
  967. end
  968. hum:TakeDamage(100-Floor(magni))
  969. end
  970. end
  971. end
  972. end
  973. end))
  974. coroutine.resume(coroutine.create(function()
  975. for i=0,2,0.1 do
  976. local part = Create("Part",Char,"Effect",{Anchored = true,CanCollide = false,Material = "Neon",Size = Vector3.new(8,8,8),BrickColor = Colours[Random(1,#Colours)],CFrame = hitbox.CFrame})
  977. local bmesh = Create("BlockMesh",part,"Mesh",{})
  978. local ring = Create("Part",Char,"Effect",{Anchored = true,CanCollide = false,CFrame = hitbox.CFrame * CFrame.Angles(Rad(Random(-360,360)),Rad(Random(-360,360)),Rad(Random(-360,360))),BrickColor = Colours[Random(1,#Colours)]})
  979. local mesh = Create("SpecialMesh",ring,"Mesh",{MeshId = "http://www.roblox.com/asset/?id=3270017",Scale = Vector3.new(16,16,16)})
  980. TweenService:Create(ring,TweenInfo.new(1),{Transparency = 1}):Play()
  981. TweenService:Create(mesh,TweenInfo.new(1),{Scale = Vector3.new(50,50,50)}):Play()
  982. game:GetService("Debris"):AddItem(ring,0.9)
  983. TweenService:Create(part,TweenInfo.new(1),{Transparency = 1}):Play()
  984. TweenService:Create(bmesh,TweenInfo.new(1),{Scale = Vector3.new(6,6,6)}):Play()
  985. game:GetService("Debris"):AddItem(part,0.9)
  986. coroutine.resume(coroutine.create(function()
  987. for i=0,1,0.01 do
  988. part.CFrame = hitbox.CFrame * CFrame.Angles(Rad(Random(-360,360)),Rad(Random(-360,360)),Rad(Random(-360,360)))
  989. ring.CFrame = hitbox.CFrame * CFrame.Angles(Rad(Random(-360,360)),Rad(Random(-360,360)),Rad(Random(-360,360)))
  990. wait()
  991. end
  992. end))
  993. wait()
  994. end
  995. hitbox:Destroy()
  996. end))
  997. for i=1,0,-0.1 do
  998. Torso.Transparency = i
  999. LArm.Transparency = i
  1000. RArm.Transparency = i
  1001. LLeg.Transparency = i
  1002. RLeg.Transparency = i
  1003. Head.Transparency = i
  1004. FistAura1.Enabled = true
  1005. FistAura2.Enabled = true
  1006. Tl.Visible = true
  1007. Head.face.Transparency = i
  1008. wait()
  1009. end
  1010. BodyPosition.Parent = HRoot
  1011. BodyVel.Parent = nil
  1012. Attacking = false
  1013. end)
  1014. repeat
  1015. spawn(function()
  1016. local effect = Create("Part",Char,"Effect",{Anchored = true,Material = "Neon",CanCollide = false,BrickColor = Colours[Random(1,#Colours)],Size = Vector3.new(8,8,8),CFrame = HRoot.CFrame * CFrame.Angles(Rad(Random(-360,360)),Rad(Random(-360,360)),Rad(Random(-360,360)))})
  1017. local mesh = Create("BlockMesh",effect,"Mesh",{})
  1018. game:GetService("Debris"):AddItem(effect,1)
  1019. TweenService:Create(mesh,TweenInfo.new(1),{Scale = Vector3.new(2,2,2)}):Play()
  1020. TweenService:Create(effect,TweenInfo.new(1),{Transparency = 1}):Play()
  1021. effect.CFrame = HRoot.CFrame * CFrame.Angles(Rad(Random(-360,360)),Rad(Random(-360,360)),Rad(Random(-360,360)))
  1022. end)
  1023. BodyVel.Velocity = workspace.CurrentCamera.CFrame.lookVector * 100
  1024. game:GetService("RunService").RenderStepped:wait()
  1025. until not createEffect
  1026. end)
  1027. end
  1028. end
  1029. if key == Enum.KeyCode.L then
  1030. Walkspeed = 0
  1031. Attacking = true
  1032. if Mode == "Normal" then
  1033. Mode = "Power"
  1034. Colours= {BrickColor.new("Black"),BrickColor.new("Crimson")}
  1035. local Switching = true
  1036. coroutine.resume(coroutine.create(function()
  1037. repeat
  1038. local ball = Create("Part",workspace,"Ball",{Shape = "Ball",Size = Vector3.new(4,4,4),Anchored = true,CanCollide = false,CFrame = HRoot.CFrame,Material = "Neon",BrickColor = Colours[Random(1,#Colours)]})
  1039. game:GetService("Debris"):AddItem(ball,1)
  1040. coroutine.resume(coroutine.create(function()
  1041. for i=0,1,0.1 do
  1042. ball.Size = ball.Size:lerp(Vector3.new(10,10,10),0.5)
  1043. ball.CFrame = HRoot.CFrame
  1044. ball.Transparency = i
  1045. wait()
  1046. end
  1047. ball:Destroy()
  1048. end))
  1049. wait()
  1050. until not Switching
  1051. end))
  1052. local ball = Create("Part",Char,"Ball",{Transparency=1,Shape = "Ball",Size = Vector3.new(4,4,4),Anchored = true,CanCollide = false,CFrame = HRoot.CFrame,Material = "Neon",BrickColor = BrickColor.new("Black")})
  1053. for i=0,1,0.1 do
  1054. Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(-10),Rad(0),Rad(0)),i)
  1055. LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5),Rad(0),Rad(10)),i)
  1056. RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5),Rad(0),Rad(-10)),i)
  1057. Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(-10),Rad(0),Rad(0)),i)
  1058. LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-40),Rad(0),Rad(40)),i)
  1059. RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-40),Rad(0),Rad(-40)),i)
  1060. wait()
  1061. end
  1062. Switching = false
  1063. ball.Transparency = 0
  1064. for i=0,1,0.1 do
  1065. ball.Size = ball.Size:lerp(Vector3.new(14,14,14),i)
  1066. ball.CFrame = HRoot.CFrame
  1067. ball.Transparency = i
  1068. wait()
  1069. end
  1070. ball:Destroy()
  1071. FistAura1.Enabled = true
  1072. FistAura2.Enabled = true
  1073. BodyPosition.Position = HRoot.Position + Vector3.new(0,2,0)
  1074. BodyPosition.Parent = HRoot
  1075. Walkspeed = 32
  1076. else
  1077. Mode = "Normal"
  1078. Colours= {BrickColor.new("Black"),BrickColor.new("Royal purple")}
  1079. local Switching = true
  1080. coroutine.resume(coroutine.create(function()
  1081. repeat
  1082. local ball = Create("Part",workspace,"Ball",{Shape = "Ball",Size = Vector3.new(4,4,4),Anchored = true,CanCollide = false,CFrame = HRoot.CFrame,Material = "Neon",BrickColor = Colours[Random(1,#Colours)]})
  1083. game:GetService("Debris"):AddItem(ball,1)
  1084. coroutine.resume(coroutine.create(function()
  1085. for i=0,1,0.1 do
  1086. ball.Size = ball.Size:lerp(Vector3.new(10,10,10),0.5)
  1087. ball.CFrame = HRoot.CFrame
  1088. ball.Transparency = i
  1089. wait()
  1090. end
  1091. ball:Destroy()
  1092. end))
  1093. wait()
  1094. until not Switching
  1095. end))
  1096. local ball = Create("Part",Char,"Ball",{Transparency=1,Shape = "Ball",Size = Vector3.new(4,4,4),Anchored = true,CanCollide = false,CFrame = HRoot.CFrame,Material = "Neon",BrickColor = BrickColor.new("Black")})
  1097. for i=0,1,0.1 do
  1098. Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(-10),Rad(0),Rad(0)),i)
  1099. LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5),Rad(0),Rad(10)),i)
  1100. RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5),Rad(0),Rad(-10)),i)
  1101. Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(-10),Rad(0),Rad(0)),i)
  1102. LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-40),Rad(0),Rad(40)),i)
  1103. RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-40),Rad(0),Rad(-40)),i)
  1104. wait()
  1105. end
  1106. Switching = false
  1107. ball.Transparency = 0
  1108. for i=0,1,0.1 do
  1109. local cf = ball.CFrame
  1110. ball.Size = ball.Size:lerp(Vector3.new(14,14,14),i)
  1111. ball.CFrame = cf
  1112. ball.Transparency = i
  1113. wait()
  1114. end
  1115. ball:Destroy()
  1116. FistAura1.Enabled = false
  1117. FistAura2.Enabled = false
  1118. BodyPosition.Parent = nil
  1119. Walkspeed = 16
  1120. end
  1121. Attacking = false
  1122. elseif key == Enum.KeyCode.K then
  1123. Attacking = true
  1124. for i=0,1,0.1 do
  1125. Torso.Transparency = i
  1126. LArm.Transparency = i
  1127. RArm.Transparency = i
  1128. LLeg.Transparency = i
  1129. RLeg.Transparency = i
  1130. Head.Transparency = i
  1131. wait()
  1132. end
  1133. Char:MoveTo(Mouse.Hit.p + Vector3.new(0,2,0))
  1134. --Torso.CFrame = CFrame.new(Mouse.Hit.p)
  1135. for i=1,0,-0.1 do
  1136. Torso.Transparency = i
  1137. LArm.Transparency = i
  1138. RArm.Transparency = i
  1139. LLeg.Transparency = i
  1140. RLeg.Transparency = i
  1141. Head.Transparency = i
  1142. wait()
  1143. end
  1144. Attacking = false
  1145. end
  1146. end
  1147. end
  1148. function keyUp(key)
  1149.  
  1150. end
  1151. UserInputService.TextBoxFocused:connect(function()
  1152. Typing = true
  1153. end)
  1154. UserInputService.TextBoxFocusReleased:connect(function()
  1155. Typing = false
  1156. end)
  1157. if UserInputService.KeyboardEnabled and UserInputService.MouseEnabled then
  1158. UserInputService.InputBegan:connect(function(inpType)
  1159. if inpType.KeyCode ~= Enum.KeyCode.Unknown then
  1160. if not Typing then
  1161. keyDown(inpType.KeyCode)
  1162. end
  1163. end
  1164. end)
  1165. UserInputService.InputEnded:connect(function(inpType)
  1166. if inpType ~= Enum.KeyCode.Unknown then
  1167. if not Typing then
  1168. keyUp(inpType.KeyCode)
  1169. end
  1170. end
  1171. end)
  1172. end
  1173. game:GetService("RunService").RenderStepped:connect(function(step)
  1174. Human.WalkSpeed = Walkspeed
  1175. Human.MaxHealth = math.huge
  1176. Human.Health = Human.MaxHealth
  1177. if not Attacking then
  1178. if (Torso.Velocity).magnitude < 2 then
  1179. Anim = "Idle"
  1180. elseif (Torso.Velocity).magnitude < 20 then
  1181. Anim = "Walk"
  1182. elseif (Torso.Velocity).magnitude > 20 then
  1183. Anim = "Run"
  1184. end
  1185. if Anim == "Idle" then
  1186. if Mode == "Normal" then
  1187. Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(2 * Sin(tick()/1.5)),Rad(0),Rad(0)),0.2)
  1188. LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5),Rad(0),-Rad(2 * Sin(tick()/1.5))),0.2)
  1189. RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5),Rad(0),Rad(2 * Sin(tick()/1.5))),0.2)
  1190. LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-5),Rad(0),Rad(0)) * CFrame.Angles(Rad(2 * Sin(tick()/1.5)),Rad(0),Rad(0)),0.2)
  1191. RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5),Rad(0),Rad(0)) * CFrame.Angles(Rad(2 * Sin(tick()/1.5)),Rad(0),Rad(0)),0.2)
  1192. Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(2 * Sin(tick()/1.5)),Rad(5),Rad(0)),0.2)
  1193. else
  1194. Hrj.C0 = Hrj.C0:lerp(Hrjcf,0.2)
  1195. LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(2 * Sin(tick()/1.5)),Rad(0),Rad(0)),0.2)
  1196. RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(2 * Sin(tick()/1.5)),Rad(0),Rad(0)),0.2)
  1197. Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(2 * Sin(tick()/1.5)),Rad(0),Rad(0)),0.2)
  1198. LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-8),Rad(0),Rad(0)),0.2)
  1199. RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-8),Rad(0),Rad(0)),0.2)
  1200. end
  1201. elseif Anim == "Walk" then
  1202. if Mode == "Normal" then
  1203. Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0),Rad(0),Rad(10 * Sin(tick()*4))),0.5)
  1204. LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0),Rad(0),Rad(10 * Sin(tick()*4))),0.5)
  1205. RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0),Rad(0),Rad(10 * Sin(tick()*4))),0.5)
  1206. LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-5),Rad(0),Rad(10 * Sin(tick()*4))),0.5)
  1207. RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5),Rad(0),Rad(10 * Sin(tick()*4))),0.5)
  1208. Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(0),Rad(10 * Sin(tick()*4)),Rad(0)),0.5)
  1209. end
  1210. elseif Anim == "Run" then
  1211. if Mode == "Power" then
  1212. Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(20),Rad(0),Rad(0)),0.5)
  1213. LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-10),Rad(0),Rad(20)),0.5)
  1214. RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-10),Rad(0),Rad(-20)),0.5)
  1215. LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0),Rad(0),Rad(10)),0.5)
  1216. RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0),Rad(0),Rad(-10)),0.5)
  1217. Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(-20),Rad(0),Rad(0)),0.5)
  1218. end
  1219. end
  1220. end
  1221. end)
  1222. spawn(function()
  1223. while game:GetService("RunService").RenderStepped:wait() do
  1224. if Mode == "Power" and Torso.Transparency ~= 1 then
  1225. local effect1 = Create("Part",Char,"Effect",{Size = Vector3.new(LLeg.Size.Z,LLeg.Size.Y/2,LLeg.Size.Z),Anchored = true,CanCollide = false,Material = "Neon",Transparency = 0.3,BrickColor = Colours[Random(1,#Colours)],CFrame = LLeg.CFrame * CFrame.new(0,-LLeg.Size.Y/2,0)})
  1226. local effect2 = Create("Part",Char,"Effect",{Size = Vector3.new(RLeg.Size.Z,RLeg.Size.Y/2,RLeg.Size.Z),Anchored = true,CanCollide = false,Material = "Neon",Transparency = 0.3,BrickColor = Colours[Random(1,#Colours)],CFrame = RLeg.CFrame * CFrame.new(0,-RLeg.Size.Y/2,0)})
  1227. effect1.CFrame = effect1.CFrame * CFrame.Angles(Rad(Random(-360,360)),Rad(Random(-360,360)),Rad(Random(-360,360)))
  1228. effect2.CFrame = effect2.CFrame * CFrame.Angles(Rad(Random(-360,360)),Rad(Random(-360,360)),Rad(Random(-360,360)))
  1229. game:GetService("Debris"):AddItem(effect1,0.05)
  1230. game:GetService("Debris"):AddItem(effect2,0.05)
  1231. end
  1232. end
  1233. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement