Advertisement
NinjaBehind

FE Genocider

Aug 5th, 2018
631
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 88.23 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. --[[i stole zappa model!11!11
  145. Genocider by grgrgry21.
  146. Credit to CKBackUp's Psychopath and idk..
  147. B
  148. U R
  149. N I N H
  150. E L
  151. L
  152. ]]--
  153. wait(1 / 60)
  154. Effects = { }
  155. local Player = owner
  156. local Character = Player.Character
  157. local Humanoid = Character.Humanoid
  158. local Mouse = Player:GetMouse()
  159. local LeftArm = Character["Left Arm"]
  160. local RightArm = Character["Right Arm"]
  161. local LeftLeg = Character["Left Leg"]
  162. local RightLeg = Character["Right Leg"]
  163. local Head = Character.Head
  164. local Torso = Character.Torso
  165. local Camera = game.Workspace.CurrentCamera
  166. local RootPart = Character.HumanoidRootPart
  167. local RootJoint = RootPart.RootJoint
  168. local attack = false
  169. local Anim = 'Idle'
  170. local attacktype = 1
  171. local delays = false
  172. local play = true
  173. local targetted = nil
  174. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  175. local velocity = RootPart.Velocity.y
  176. local sine = 0
  177. local change = 1
  178. local Create = LoadLibrary("RbxUtility").Create
  179. Humanoid.WalkSpeed = 8
  180. local m = Create("Model"){
  181. Parent = Character,
  182. Name = "WeaponModel",
  183. }
  184.  
  185. Humanoid.Animator.Parent = nil
  186. Character.Animate.Parent = nil
  187.  
  188. local newMotor = function(part0, part1, c0, c1)
  189. local w = Create('Motor'){
  190. Parent = part0,
  191. Part0 = part0,
  192. Part1 = part1,
  193. C0 = c0,
  194. C1 = c1,
  195. }
  196. return w
  197. end
  198.  
  199. function clerp(a, b, t)
  200. return a:lerp(b, t)
  201. end
  202.  
  203. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  204. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  205.  
  206. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  207. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  208. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  209. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  210. RootJoint.C1 = CFrame.new(0, 0, 0)
  211. RootJoint.C0 = CFrame.new(0, 0, 0)
  212. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  213. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  214.  
  215. local rarmc1 = RW.C1
  216. local larmc1 = LW.C1
  217. local rlegc1 = RH.C1
  218. local llegc1 = LH.C1
  219.  
  220. local resetc1 = false
  221.  
  222. function PlayAnimationFromTable(table, speed, bool)
  223. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  224. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  225. RW.C0 = clerp(RW.C0, table[3], speed)
  226. LW.C0 = clerp(LW.C0, table[4], speed)
  227. RH.C0 = clerp(RH.C0, table[5], speed)
  228. LH.C0 = clerp(LH.C0, table[6], speed)
  229. if bool == true then
  230. if resetc1 == false then
  231. resetc1 = true
  232. RootJoint.C1 = RootJoint.C1
  233. Torso.Neck.C1 = Torso.Neck.C1
  234. RW.C1 = rarmc1
  235. LW.C1 = larmc1
  236. RH.C1 = rlegc1
  237. LH.C1 = llegc1
  238. end
  239. end
  240. end
  241.  
  242. mx = game.Debris
  243. mx2 = game.Debris.MaxItems
  244.  
  245. if (mx.MaxItems > 40000) then
  246. mx.MaxItems = mx2*.75
  247. end
  248.  
  249.  
  250. ArtificialHB = Create("BindableEvent", script){
  251. Parent = script,
  252. Name = "Heartbeat",
  253. }
  254.  
  255. script:WaitForChild("Heartbeat")
  256.  
  257. frame = 1 / 30
  258. tf = 0
  259. allowframeloss = false
  260. tossremainder = false
  261. lastframe = tick()
  262. script.Heartbeat:Fire()
  263.  
  264. game:GetService("RunService").Heartbeat:connect(function(s, p)
  265. tf = tf + s
  266. if tf >= frame then
  267. if allowframeloss then
  268. script.Heartbeat:Fire()
  269. lastframe = tick()
  270. else
  271. for i = 1, math.floor(tf / frame) do
  272. script.Heartbeat:Fire()
  273. end
  274. lastframe = tick()
  275. end
  276. if tossremainder then
  277. tf = 0
  278. else
  279. tf = tf - frame * math.floor(tf / frame)
  280. end
  281. end
  282. end)
  283.  
  284. function swait(num)
  285. if num == 0 or num == nil then
  286. ArtificialHB.Event:wait()
  287. else
  288. for i = 0, num do
  289. ArtificialHB.Event:wait()
  290. end
  291. end
  292. end
  293.  
  294. function RemoveOutlines(part)
  295. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  296. end
  297.  
  298. CFuncs = {
  299. ["Part"] = {
  300. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  301. local Part = Create("Part"){
  302. Parent = Parent,
  303. Reflectance = Reflectance,
  304. Transparency = Transparency,
  305. CanCollide = false,
  306. Locked = true,
  307. BrickColor = BrickColor.new(tostring(BColor)),
  308. Name = Name,
  309. Size = Size,
  310. Material = Material,
  311. }
  312. RemoveOutlines(Part)
  313. return Part
  314. end;
  315. };
  316.  
  317. ["Mesh"] = {
  318. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  319. local Msh = Create(Mesh){
  320. Parent = Part,
  321. Offset = OffSet,
  322. Scale = Scale,
  323. }
  324. if Mesh == "SpecialMesh" then
  325. Msh.MeshType = MeshType
  326. Msh.MeshId = MeshId
  327. end
  328. return Msh
  329. end;
  330. };
  331.  
  332. ["Mesh"] = {
  333. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  334. local Msh = Create(Mesh){
  335. Parent = Part,
  336. Offset = OffSet,
  337. Scale = Scale,
  338. }
  339. if Mesh == "SpecialMesh" then
  340. Msh.MeshType = MeshType
  341. Msh.MeshId = MeshId
  342. end
  343. return Msh
  344. end;
  345. };
  346.  
  347. ["Weld"] = {
  348. Create = function(Parent, Part0, Part1, C0, C1)
  349. local Weld = Create("Weld"){
  350. Parent = Parent,
  351. Part0 = Part0,
  352. Part1 = Part1,
  353. C0 = C0,
  354. C1 = C1,
  355. }
  356. return Weld
  357. end;
  358. };
  359.  
  360. ["Sound"] = {
  361. Create = function(id, par, vol, pit)
  362. coroutine.resume(coroutine.create(function()
  363. local S = Create("Sound"){
  364. Volume = vol,
  365. Pitch = pit or 1,
  366. SoundId = id,
  367. Parent = par or workspace,
  368. }
  369. wait()
  370. S:play()
  371. game:GetService("Debris"):AddItem(S, 6)
  372. end))
  373. end;
  374. };
  375.  
  376. ["ParticleEmitter"] = {
  377. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  378. local fp = Create("ParticleEmitter"){
  379. Parent = Parent,
  380. Color = ColorSequence.new(Color1, Color2),
  381. LightEmission = LightEmission,
  382. Size = Size,
  383. Texture = Texture,
  384. Transparency = Transparency,
  385. ZOffset = ZOffset,
  386. Acceleration = Accel,
  387. Drag = Drag,
  388. LockedToPart = LockedToPart,
  389. VelocityInheritance = VelocityInheritance,
  390. EmissionDirection = EmissionDirection,
  391. Enabled = Enabled,
  392. Lifetime = LifeTime,
  393. Rate = Rate,
  394. Rotation = Rotation,
  395. RotSpeed = RotSpeed,
  396. Speed = Speed,
  397. VelocitySpread = VelocitySpread,
  398. }
  399. return fp
  400. end;
  401. };
  402.  
  403. CreateTemplate = {
  404.  
  405. };
  406. }
  407.  
  408.  
  409.  
  410. New = function(Object, Parent, Name, Data)
  411. local Object = Instance.new(Object)
  412. for Index, Value in pairs(Data or {}) do
  413. Object[Index] = Value
  414. end
  415. Object.Parent = Parent
  416. Object.Name = Name
  417. return Object
  418. end
  419.  
  420.  
  421. ShadowHead = New("Part",Character,"ShadowHead",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  422. Mesh = New("SpecialMesh",ShadowHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
  423. Weld = New("Weld",ShadowHead,"mot",{Part0 = ShadowHead,Part1 = Character.Head,C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  424.  
  425. Handle = New("Part",m,"Handle",{Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Size = Vector3.new(1.78105354, 1.21267569, 0.446083069),CFrame = CFrame.new(3.48884702, 1.89424598, -23.6011944, 0.0172098875, -7.30156898e-07, 0.999851942, 0.999853492, 1.19907781e-08, -0.0172098596, -1.80598714e-09, 1.00000083, 1.4975667e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  426. moter = New("Weld",Handle,"mot",{Part0 = RightArm,Part1 = Handle,})
  427. Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.46324158, 2.55061626, -23.0996056, 0.0172099378, 1.26508749e-05, 0.999852061, 0.999856234, 0.000737910799, -0.0172098614, -0.000738026109, 1.00000215, 2.29468287e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  428. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.24608025, 0.123040132),})
  429. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098838, 0.999853015, -0.000738022442, 1.18836761e-05, 0.000737924012, 1.00000048, 0.999851942, -0.0172098614, 1.52736902e-06),C1 = CFrame.new(0.655831456, 0.501588821, -0.0368974209, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  430. Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.200000003, 0.270688266, 0.270688266),CFrame = CFrame.new(3.47537327, 1.11045444, -23.2953625, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  431. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.123040125, 1, 1),MeshType = Enum.MeshType.Cylinder,})
  432. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.783906102, 0.305831909, 1.74045563e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  433. Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.47648132, 0.221472263, 0.344512314),CFrame = CFrame.new(3.48828244, 1.86040294, -23.3093491, 0.0172099452, 3.70001203e-08, 0.999852061, 0.99985671, -3.59708352e-09, -0.0172098596, -4.18887769e-09, 1.0000025, 2.26488032e-06),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  434. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1.00999999, 1),})
  435. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),C1 = CFrame.new(-0.0338476896, 0.291845322, 1.8119812e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  436. Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.98432076, 0.200000003, 0.24608022),CFrame = CFrame.new(3.48404813, 1.61474013, -23.4433804, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  437. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.246080264, 1),})
  438. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.279546618, 0.157814026, 1.21593475e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  439. Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.984321058, 0.200000003, 0.200000003),CFrame = CFrame.new(3.36101127, 1.61687815, -23.4187717, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  440. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.492160618, 0.492160439),MeshType = Enum.MeshType.Cylinder,})
  441. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.279526353, 0.182422638, -0.123043299, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  442. Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.53706741, 2.54934502, -23.0996056, 0.0172099378, 1.26508749e-05, 0.999852061, 0.999856234, 0.000737910799, -0.0172098614, -0.000738026109, 1.00000215, 2.29468287e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  443. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.246080235, 0.123040132),})
  444. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098838, 0.999853015, -0.000738022442, 1.18836761e-05, 0.000737924012, 1.00000048, 0.999851942, -0.0172098614, 1.52736902e-06),C1 = CFrame.new(0.655830979, 0.501588821, 0.0369393826, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  445. Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.47648132, 0.200000003, 0.200000003),CFrame = CFrame.new(3.48828554, 1.86097884, -23.1606178, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  446. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.7382406),})
  447. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.0332717896, 0.440576553, 1.14440918e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  448. Partss = New("Part",m,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.200000003, 0.221472204, 0.221472189),CFrame = CFrame.new(3.47526526, 1.10428262, -23.2953568, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  449. Mesh = New("SpecialMesh",Partss,"Mesh",{Scale = Vector3.new(0.123040125, 1, 1),MeshType = Enum.MeshType.Cylinder,})
  450. mot = New("Weld",Partss,"mot",{Part0 = Partss,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.790078878, 0.305837631, 1.57356262e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  451. Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.49040294, 1.9837563, -23.5174713, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  452. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.615200579, 0.36912033, 0.24608025),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
  453. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(0.0895236731, 0.0837230682, 1.52587891e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  454. Part = New("Part",m,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.295296252, 0.738240778, 0.369120389),CFrame = CFrame.new(3.49802279, 2.42631888, -23.8138046, 0.0172099452, 3.70001203e-08, 0.999852061, 0.99985671, -3.59708352e-09, -0.0172098596, -4.18887769e-09, 1.0000025, 2.26488032e-06),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  455. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),C1 = CFrame.new(0.532151103, -0.212610245, 1.74045563e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  456. Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.344512314, 0.78745681, 0.344512314),CFrame = CFrame.new(3.49802279, 2.42631888, -23.8138046, 0.0172099452, 3.70001203e-08, 0.999852061, 0.99985671, -3.59708352e-09, -0.0172098596, -4.18887769e-09, 1.0000025, 2.26488032e-06),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  457. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),C1 = CFrame.new(0.532151103, -0.212610245, 1.74045563e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  458. Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.984321058, 0.200000003, 0.200000003),CFrame = CFrame.new(3.60706425, 1.61264217, -23.4187698, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  459. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.492160618, 0.492160439),MeshType = Enum.MeshType.Cylinder,})
  460. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.279527187, 0.182424545, 0.12304616, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  461. Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.47672749, 1.18911982, -23.1232109, 0.999851942, 0.00638213893, 0.0159827713, -0.0172098316, 0.37065956, 0.928613782, 4.44045327e-06, -0.928749561, 0.370713741),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  462. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.24608025, 0.246080264, 0.615200639),MeshType = Enum.MeshType.Wedge,})
  463. mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851882, -0.0172098316, 3.67313623e-06, 0.00638283044, 0.370658338, -0.928748012, 0.0159824342, 0.928610861, 0.370713145),C1 = CFrame.new(-0.705229163, 0.477983475, 1.76429749e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  464. Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.344512254, 0.787456751, 0.200000003),CFrame = CFrame.new(3.50247502, 2.68478155, -23.8132839, 0.999851942, 1.0713723e-05, -0.0172099732, -0.0172098912, 0.000738376984, -0.999856234, 4.21693585e-06, 1.00000226, 0.000738456321),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  465. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.861280859),MeshType = Enum.MeshType.Wedge,})
  466. mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851882, -0.0172098912, 3.44961882e-06, 9.9465251e-06, 0.000738390256, 1.0000006, -0.0172099192, -0.999853015, 0.000738452654),C1 = CFrame.new(0.790651679, -0.212089539, 2.07424164e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  467. Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.4904809, 1.98827124, -23.5162678, -0.999852061, -0.0148990965, 0.00861407723, 0.0172099397, -0.865535975, 0.500560343, -4.36594746e-06, 0.500633478, 0.865662456),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  468. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.24608025, 0.369120389, 0.861280918),MeshType = Enum.MeshType.Wedge,})
  469. mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.999851942, 0.0172099397, -3.59863043e-06, -0.0148994327, -0.865533173, 0.500632644, 0.00861338526, 0.500558794, 0.865661025),C1 = CFrame.new(0.0940393209, 0.0849266052, 1.54972076e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  470. Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.442944348, 0.200000003, 0.200000003),CFrame = CFrame.new(3.37415838, 2.37982368, -23.1609974, 0.0172098633, 1.48413446e-05, 0.999851882, 0.999856234, 0.0007376945, -0.0172097869, -0.000737846654, 1.00000215, 7.44058752e-08),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  471. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,})
  472. mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098093, 0.999853015, -0.000737842987, 1.40741467e-05, 0.000737707771, 1.00000048, 0.999851823, -0.0172097888, -6.92903996e-07),C1 = CFrame.new(0.483531356, 0.440196991, -0.12302804, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  473. Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.61520052, 0.200000003, 0.200000003),CFrame = CFrame.new(3.35783243, 1.43252242, -23.1602993, 0.0172098633, 1.48413446e-05, 0.999851882, 0.999856234, 0.0007376945, -0.0172097869, -0.000737846654, 1.00000215, 7.44058752e-08),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  474. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,})
  475. mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098093, 0.999853015, -0.000737842987, 1.40741467e-05, 0.000737707771, 1.00000048, 0.999851823, -0.0172097888, -6.92903996e-07),C1 = CFrame.new(-0.463909149, 0.440895081, -0.123048544, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  476. Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.47648132, 0.200000003, 0.200000003),CFrame = CFrame.new(3.61130548, 1.85886192, -23.160614, -0.0172098689, 1.04156998e-05, -0.99985218, -0.999856234, 0.000738191127, 0.0172097925, 0.000738266157, 1.00000238, -4.55221243e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  477. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,})
  478. mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0172098149, -0.999853075, 0.00073826249, 9.64850187e-06, 0.00073820434, 1.00000072, -0.999852121, 0.0172097944, -3.78489494e-06),C1 = CFrame.new(-0.0332713127, 0.440580368, 0.123049498, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  479. Wedge = New("WedgePart",m,"Wedge",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.36912033, 0.738240778, 0.200000003),CFrame = CFrame.new(3.50183868, 2.64789343, -23.8132629, 0.999851942, 1.0818032e-05, -0.017209895, -0.0172098186, 0.000737608876, -0.999856234, 4.13497901e-06, 1.00000238, 0.000737691764),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  480. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.738240719),MeshType = Enum.MeshType.Wedge,})
  481. mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851882, -0.0172098186, 3.36766243e-06, 1.00508332e-05, 0.000737622147, 1.00000072, -0.0172098409, -0.999853015, 0.000737688097),C1 = CFrame.new(0.753758311, -0.212068558, 1.93119049e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  482. Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.344512254, 0.787456751, 0.200000003),CFrame = CFrame.new(3.49357963, 2.16808391, -23.8129005, 0.999852061, -1.05647114e-05, 0.0172100067, -0.0172099303, -0.000737611321, 0.999856114, 4.36594746e-06, -1.00000226, -0.000737689785),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  483. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.861280859),MeshType = Enum.MeshType.Wedge,})
  484. mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851942, -0.0172099303, 3.59863043e-06, -9.79751348e-06, -0.000737624592, -1.0000006, 0.0172099527, 0.999852955, -0.000737686118),C1 = CFrame.new(0.273878455, -0.211706161, 1.90734863e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  485. Wedge = New("WedgePart",m,"Wedge",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.36912033, 0.738240659, 0.200000003),CFrame = CFrame.new(3.49420977, 2.20497489, -23.8129292, 0.999852061, -1.05647114e-05, 0.0172100067, -0.0172099303, -0.000737611321, 0.999856114, 4.36594746e-06, -1.00000226, -0.000737689785),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  486. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.738240719),MeshType = Enum.MeshType.Wedge,})
  487. mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851942, -0.0172099303, 3.59863043e-06, -9.79751348e-06, -0.000737624592, -1.0000006, 0.0172099527, 0.999852955, -0.000737686118),C1 = CFrame.new(0.310774684, -0.211734772, 1.43051147e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  488.  
  489. for _,v in pairs(m:children()) do
  490. if v:IsA("Part") then
  491. v.CanCollide = false
  492. end
  493. end
  494. if Character.Name == "grgrgry21" or Character.Name == "Player1" then
  495. for _,v in pairs(Character:children()) do
  496. if v:IsA("Accessory") then
  497. v:Remove()
  498. end
  499. end
  500. Handle = New("Part",Head,"Handle",{CanCollide = false,BrickColor = BrickColor.new("Really black"),FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-27.3000507, 4.79990387, 28.10005, 4.49431016e-21, -6.79974523e-22, -1, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, 4.49431016e-21),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  501. Mesh = New("SpecialMesh",Handle,"Mesh",{Offset = Vector3.new(0, 0.100000001, 0),MeshId = "http://www.roblox.com/asset/?id=62246019",MeshType = Enum.MeshType.FileMesh,})
  502. Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=146022204",})
  503. mot = New("Motor",Handle,"mot",{Part0 = Handle,Part1 = Head,C0 = CFrame.new(0, 0, 0, 4.49431016e-21, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, -1, -6.79974523e-22, 4.49431016e-21),C1 = CFrame.new(-0.100000381, 0.0999999046, 0.200000763, 4.49431016e-21, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, -1, -6.79974523e-22, 4.49431016e-21),})
  504. Handle1 = New("Part",Head,"Handle1",{CanCollide = false,BrickColor = BrickColor.new("Bright red"),FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-27.3000507, 4.79990387, 28.10005, 4.49431016e-21, -6.79974523e-22, -1, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, 4.49431016e-21),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.768628, 0.156863, 0.109804),})
  505. Mesh = New("SpecialMesh",Handle1,"Mesh",{Offset = Vector3.new(0, 0.100000001, 0),Scale = Vector3.new(0.949999988, 0.949999988, 0.949999988),MeshId = "http://www.roblox.com/asset/?id=62246019",MeshType = Enum.MeshType.FileMesh,})
  506. mot = New("Motor",Handle1,"mot",{Part0 = Handle1,Part1 = Head,C0 = CFrame.new(0, 0, 0, 4.49431016e-21, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, -1, -6.79974523e-22, 4.49431016e-21),C1 = CFrame.new(-0.100000381, 0.0999999046, 0.200000763, 4.49431016e-21, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, -1, -6.79974523e-22, 4.49431016e-21),})
  507. end
  508.  
  509.  
  510. function rayCast(Position, Direction, Range, Ignore)
  511. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  512. end
  513.  
  514. --[[FindNearestTorso = function(pos)
  515. local list = (game.Workspace:children())
  516. local torso = nil
  517. local dist = 1000
  518. local temp, human, temp2 = nil, nil, nil
  519. for x = 1, #list do
  520. temp2 = list[x]
  521. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  522. temp = temp2:findFirstChild("Torso")
  523. human = temp2:findFirstChild("Humanoid")
  524. if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
  525. local dohit = true
  526. if dohit == true then
  527. torso = temp
  528. dist = (temp.Position - pos).magnitude
  529. end
  530. end
  531. end
  532. end
  533. return torso, dist
  534. end]]
  535. function FindNearestTorso(Position, Distance, SinglePlayer)
  536. if SinglePlayer then
  537. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  538. end
  539. local List = {}
  540. for i, v in pairs(workspace:GetChildren()) do
  541. if v:IsA("Model") then
  542. if v:findFirstChild("Torso") then
  543. if v ~= Character then
  544. if (v.Torso.Position - Position).magnitude <= Distance then
  545. table.insert(List, v)
  546. end
  547. end
  548. end
  549. end
  550. end
  551. return List
  552. end
  553. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  554. if hit.Parent == nil then
  555. return
  556. end
  557. local h = hit.Parent:FindFirstChild("Humanoid")
  558. for _, v in pairs(hit.Parent:children()) do
  559. if v:IsA("Humanoid") then
  560. h = v
  561. end
  562. end
  563. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  564. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  565. if hit.Parent.DebounceHit.Value == true then
  566. return
  567. end
  568. end
  569. local c = Create("ObjectValue"){
  570. Name = "creator",
  571. Value = game:service("Players").LocalPlayer,
  572. Parent = h,
  573. }
  574. game:GetService("Debris"):AddItem(c, .5)
  575. if HitSound ~= nil and HitPitch ~= nil then
  576. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  577. end
  578. local Damage = math.random(minim, maxim)
  579. local blocked = false
  580. local block = hit.Parent:findFirstChild("Block")
  581. if block ~= nil then
  582. if block.className == "IntValue" then
  583. if block.Value > 0 then
  584. blocked = true
  585. block.Value = block.Value - 1
  586. print(block.Value)
  587. end
  588. end
  589. end
  590. if blocked == false then
  591. h.Health = h.Health - Damage
  592. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
  593. else
  594. h.Health = h.Health - (Damage / 2)
  595. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
  596. end
  597. if Type == "Knockdown" then
  598. local hum = hit.Parent.Humanoid
  599. hum.PlatformStand = true
  600. coroutine.resume(coroutine.create(function(HHumanoid)
  601. swait(1)
  602. HHumanoid.PlatformStand = false
  603. end), hum)
  604. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  605. local bodvol = Create("BodyVelocity"){
  606. velocity = angle * knockback,
  607. P = 5000,
  608. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  609. Parent = hit,
  610. }
  611. local rl = Create("BodyAngularVelocity"){
  612. P = 3000,
  613. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  614. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  615. Parent = hit,
  616. }
  617. game:GetService("Debris"):AddItem(bodvol, .5)
  618. game:GetService("Debris"):AddItem(rl, .5)
  619. elseif Type == "Normal" then
  620. local vp = Create("BodyVelocity"){
  621. P = 500,
  622. maxForce = Vector3.new(math.huge, 0, math.huge),
  623. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  624. }
  625. if knockback > 0 then
  626. vp.Parent = hit.Parent.Torso
  627. end
  628. game:GetService("Debris"):AddItem(vp, .5)
  629. elseif Type == "Up" then
  630. local bodyVelocity = Create("BodyVelocity"){
  631. velocity = Vector3.new(0, 20, 0),
  632. P = 5000,
  633. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  634. Parent = hit,
  635. }
  636. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  637. elseif Type == "DarkUp" then
  638. coroutine.resume(coroutine.create(function()
  639. for i = 0, 1, 0.1 do
  640. swait()
  641. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  642. end
  643. end))
  644. local bodyVelocity = Create("BodyVelocity"){
  645. velocity = Vector3.new(0, 20, 0),
  646. P = 5000,
  647. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  648. Parent = hit,
  649. }
  650. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  651. elseif Type == "Snare" then
  652. local bp = Create("BodyPosition"){
  653. P = 2000,
  654. D = 100,
  655. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  656. position = hit.Parent.Torso.Position,
  657. Parent = hit.Parent.Torso,
  658. }
  659. game:GetService("Debris"):AddItem(bp, 1)
  660. elseif Type == "Freeze" then
  661. local BodPos = Create("BodyPosition"){
  662. P = 50000,
  663. D = 1000,
  664. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  665. position = hit.Parent.Torso.Position,
  666. Parent = hit.Parent.Torso,
  667. }
  668. local BodGy = Create("BodyGyro") {
  669. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  670. P = 20e+003,
  671. Parent = hit.Parent.Torso,
  672. cframe = hit.Parent.Torso.CFrame,
  673. }
  674. hit.Parent.Torso.Anchored = true
  675. coroutine.resume(coroutine.create(function(Part)
  676. swait(1.5)
  677. Part.Anchored = false
  678. end), hit.Parent.Torso)
  679. game:GetService("Debris"):AddItem(BodPos, 3)
  680. game:GetService("Debris"):AddItem(BodGy, 3)
  681. end
  682. local debounce = Create("BoolValue"){
  683. Name = "DebounceHit",
  684. Parent = hit.Parent,
  685. Value = true,
  686. }
  687. game:GetService("Debris"):AddItem(debounce, Delay)
  688. c = Create("ObjectValue"){
  689. Name = "creator",
  690. Value = Player,
  691. Parent = h,
  692. }
  693. game:GetService("Debris"):AddItem(c, .5)
  694. end
  695. end
  696.  
  697. function ShowDamage(Pos, Text, Time, Color)
  698. local Rate = (1 / 30)
  699. local Pos = (Pos or Vector3.new(0, 0, 0))
  700. local Text = (Text or "")
  701. local Time = (Time or 2)
  702. local Color = (Color or Color3.new(1, 0, 1))
  703. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  704. EffectPart.Anchored = true
  705. local BillboardGui = Create("BillboardGui"){
  706. Size = UDim2.new(3, 0, 3, 0),
  707. Adornee = EffectPart,
  708. Parent = EffectPart,
  709. }
  710. local TextLabel = Create("TextLabel"){
  711. BackgroundTransparency = 1,
  712. Size = UDim2.new(1, 0, 1, 0),
  713. Text = Text,
  714. Font = "SciFi",
  715. TextColor3 = Color,
  716. TextScaled = true,
  717. Parent = BillboardGui,
  718. }
  719. game.Debris:AddItem(EffectPart, (Time))
  720. EffectPart.Parent = game:GetService("Workspace")
  721. delay(0, function()
  722. local Frames = (Time / Rate)
  723. for Frame = 1, Frames do
  724. wait(Rate)
  725. local Percent = (Frame / Frames)
  726. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  727. TextLabel.TextTransparency = Percent
  728. end
  729. if EffectPart and EffectPart.Parent then
  730. EffectPart:Destroy()
  731. end
  732. end)
  733. end
  734.  
  735. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  736. for _, c in pairs(workspace:children()) do
  737. local hum = c:findFirstChild("Humanoid")
  738. if hum ~= nil then
  739. local head = c:findFirstChild("Torso")
  740. if head ~= nil then
  741. local targ = head.Position - Part.Position
  742. local mag = targ.magnitude
  743. if mag <= Magnitude and c.Name ~= Player.Name then
  744. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  745. end
  746. end
  747. end
  748. end
  749. end
  750.  
  751. EffectModel = Create("Model"){
  752. Parent = Character,
  753. Name = "Effects",
  754. }
  755.  
  756. Effects = {
  757. Block = {
  758. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  759. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  760. prt.Anchored = true
  761. prt.CFrame = cframe
  762. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  763. game:GetService("Debris"):AddItem(prt, 10)
  764. if Type == 1 or Type == nil then
  765. table.insert(Effects, {
  766. prt,
  767. "Block1",
  768. delay,
  769. x3,
  770. y3,
  771. z3,
  772. msh
  773. })
  774. elseif Type == 2 then
  775. table.insert(Effects, {
  776. prt,
  777. "Block2",
  778. delay,
  779. x3,
  780. y3,
  781. z3,
  782. msh
  783. })
  784. end
  785. end;
  786. };
  787.  
  788. Cylinder = {
  789. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  790. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  791. prt.Anchored = true
  792. prt.CFrame = cframe
  793. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  794. game:GetService("Debris"):AddItem(prt, 10)
  795. table.insert(Effects, {
  796. prt,
  797. "Cylinder",
  798. delay,
  799. x3,
  800. y3,
  801. z3,
  802. msh
  803. })
  804. end;
  805. };
  806. Head = {
  807. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  808. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  809. prt.Anchored = true
  810. prt.CFrame = cframe
  811. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  812. game:GetService("Debris"):AddItem(prt, 10)
  813. table.insert(Effects, {
  814. prt,
  815. "Cylinder",
  816. delay,
  817. x3,
  818. y3,
  819. z3,
  820. msh
  821. })
  822. end;
  823. };
  824.  
  825. Sphere = {
  826. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  827. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  828. prt.Anchored = true
  829. prt.CFrame = cframe
  830. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  831. game:GetService("Debris"):AddItem(prt, 10)
  832. table.insert(Effects, {
  833. prt,
  834. "Cylinder",
  835. delay,
  836. x3,
  837. y3,
  838. z3,
  839. msh
  840. })
  841. end;
  842. };
  843.  
  844. Elect = {
  845. Create = function(cff, x, y, z)
  846. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
  847. prt.Anchored = true
  848. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  849. prt.CFrame = CFrame.new(prt.Position)
  850. game:GetService("Debris"):AddItem(prt, 2)
  851. local xval = math.random() / 2
  852. local yval = math.random() / 2
  853. local zval = math.random() / 2
  854. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  855. table.insert(Effects, {
  856. prt,
  857. "Elec",
  858. 0.1,
  859. x,
  860. y,
  861. z,
  862. xval,
  863. yval,
  864. zval
  865. })
  866. end;
  867.  
  868. };
  869.  
  870. Ring = {
  871. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  872. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  873. prt.Anchored = true
  874. prt.CFrame = cframe
  875. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  876. game:GetService("Debris"):AddItem(prt, 10)
  877. table.insert(Effects, {
  878. prt,
  879. "Cylinder",
  880. delay,
  881. x3,
  882. y3,
  883. z3,
  884. msh
  885. })
  886. end;
  887. };
  888.  
  889.  
  890. Wave = {
  891. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  892. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  893. prt.Anchored = true
  894. prt.CFrame = cframe
  895. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  896. game:GetService("Debris"):AddItem(prt, 10)
  897. table.insert(Effects, {
  898. prt,
  899. "Cylinder",
  900. delay,
  901. x3,
  902. y3,
  903. z3,
  904. msh
  905. })
  906. end;
  907. };
  908.  
  909. Break = {
  910. Create = function(brickcolor, cframe, x1, y1, z1)
  911. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  912. prt.Anchored = true
  913. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  914. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  915. local num = math.random(10, 50) / 1000
  916. game:GetService("Debris"):AddItem(prt, 10)
  917. table.insert(Effects, {
  918. prt,
  919. "Shatter",
  920. num,
  921. prt.CFrame,
  922. math.random() - math.random(),
  923. 0,
  924. math.random(50, 100) / 100
  925. })
  926. end;
  927. };
  928.  
  929. Fire = {
  930. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  931. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  932. prt.Anchored = true
  933. prt.CFrame = cframe
  934. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  935. game:GetService("Debris"):AddItem(prt, 10)
  936. table.insert(Effects, {
  937. prt,
  938. "Fire",
  939. delay,
  940. 1,
  941. 1,
  942. 1,
  943. msh
  944. })
  945. end;
  946. };
  947.  
  948. FireWave = {
  949. Create = function(brickcolor, cframe, x1, y1, z1)
  950. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  951. prt.Anchored = true
  952. prt.CFrame = cframe
  953. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  954. local d = Create("Decal"){
  955. Parent = prt,
  956. Texture = "rbxassetid://26356434",
  957. Face = "Top",
  958. }
  959. local d = Create("Decal"){
  960. Parent = prt,
  961. Texture = "rbxassetid://26356434",
  962. Face = "Bottom",
  963. }
  964. game:GetService("Debris"):AddItem(prt, 10)
  965. table.insert(Effects, {
  966. prt,
  967. "FireWave",
  968. 1,
  969. 30,
  970. math.random(400, 600) / 100,
  971. msh
  972. })
  973. end;
  974. };
  975.  
  976. Lightning = {
  977. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  978. local magz = (p0 - p1).magnitude
  979. local curpos = p0
  980. local trz = {
  981. -ofs,
  982. ofs
  983. }
  984. for i = 1, tym do
  985. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  986. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  987. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  988. li.Material = "Neon"
  989. if tym == i then
  990. local magz2 = (curpos - p1).magnitude
  991. li.Size = Vector3.new(th, th, magz2)
  992. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  993. table.insert(Effects, {
  994. li,
  995. "Disappear",
  996. last
  997. })
  998. else
  999. do
  1000. do
  1001. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  1002. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  1003. game.Debris:AddItem(li, 10)
  1004. table.insert(Effects, {
  1005. li,
  1006. "Disappear",
  1007. last
  1008. })
  1009. end
  1010. end
  1011. end
  1012. end
  1013. end
  1014. };
  1015.  
  1016. EffectTemplate = {
  1017.  
  1018. };
  1019. }
  1020.  
  1021. abss = Instance.new("BillboardGui",Character)
  1022. abss.Size = UDim2.new(10,0,10,0)
  1023. abss.Enabled = false
  1024. imgl = Instance.new("ImageLabel",abss)
  1025. imgl.Position = UDim2.new(0,0,0,0)
  1026. imgl.Size = UDim2.new(1,0,1,0)
  1027. imgl.Image = "rbxassetid://711463989"
  1028. imgl.BackgroundTransparency = 1
  1029. imgl.ImageColor3 = Color3.new(.9,0,0)
  1030. img2 = Instance.new("ImageLabel",abss)
  1031. img2.Position = UDim2.new(0,0,0,0)
  1032. img2.Size = UDim2.new(1,0,1,0)
  1033. img2.Image = "rbxassetid://711463989"
  1034. img2.BackgroundTransparency = 1
  1035. img2.ImageColor3 = Color3.new(.9,0,0)
  1036.  
  1037. function dmg(dude)
  1038. dude.Humanoid.PlatformStand = true
  1039.  
  1040. local partasdeff = Instance.new("ParticleEmitter",dude.Torso)
  1041. partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1042. partasdeff.LightEmission = .1
  1043. partasdeff.Size = NumberSequence.new(0.2)
  1044. partasdeff.Texture = "http://www.roblox.com/asset/?ID=771221224"
  1045. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1046. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1047. partasdeff.Transparency = bbb
  1048. partasdeff.Size = aaa
  1049. partasdeff.ZOffset = .9
  1050. partasdeff.Acceleration = Vector3.new(0, -2, 0)
  1051. partasdeff.LockedToPart = false
  1052. partasdeff.EmissionDirection = "Back"
  1053. partasdeff.Lifetime = NumberRange.new(1, 2)
  1054. partasdeff.Rate = 1000
  1055. partasdeff.Rotation = NumberRange.new(-100, 100)
  1056. partasdeff.RotSpeed = NumberRange.new(-100, 100)
  1057. partasdeff.Speed = NumberRange.new(10)
  1058. partasdeff.VelocitySpread = 20
  1059. partasdeff.Enabled=true
  1060. local bgf = Instance.new("BodyGyro",dude.Head)
  1061. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  1062. local val = Instance.new("BoolValue",dude)
  1063. val.Name = "IsHit"
  1064. for i = 1, 6 do
  1065. local blo = Instance.new("Part",game.Workspace)
  1066. blo.Size = Vector3.new(.6,.2,.6)
  1067. blo.Material = "SmoothPlastic"
  1068. blo.BrickColor = BrickColor.new("Crimson")
  1069. blo.Position = dude.Head.Position
  1070. blo.CFrame = dude.Head.CFrame
  1071. game:GetService("Debris"):AddItem(blo,30)
  1072. end
  1073. local ds = coroutine.wrap(function()
  1074. wait(.2)
  1075. dude.Torso:BreakJoints()
  1076. partasdeff.Enabled=false
  1077. wait(2)
  1078. partasdeff:Remove()
  1079. end)
  1080. ds()
  1081. end
  1082.  
  1083. function attackone()
  1084. attack = true
  1085. Humanoid.WalkSpeed = 0
  1086. for i = 0, 3, 0.1 do
  1087. swait()
  1088. PlayAnimationFromTable({
  1089. CFrame.new(0.0150662307, -4.88092428e-06, 0.0148906102, -0.01982099, -1.08002496e-12, 0.999803543, -4.46946984e-07, 1, -8.86181084e-09, -0.999803782, 3.27825546e-07, -0.0198209975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1090. CFrame.new(-0.00189219415, 1.50098944, -0.129972562, 0.0201512501, 0.0765038878, -0.996864021, 0.0566192083, 0.995383799, 0.0775336027, 0.998202145, -0.0580037907, 0.0157258138) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1091. CFrame.new(2.01696348, 0.389823437, -0.060955409, -0.000397110358, -0.999624014, -0.0274192169, 0.00981300231, 0.0274140034, -0.999576092, 0.999951839, -0.0006660074, 0.00979842618) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1092. CFrame.new(-1.64040112, 0.216884568, 1.93210121e-06, 0.962137103, 0.272578239, -7.02217221e-07, -0.272574633, 0.962141275, -9.83368591e-06, -2.00979412e-06, 9.69739631e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1093. CFrame.new(0.64369607, -1.98395038, 0.206737444, 0.19058302, -0.152998164, -0.969677031, 0.0664296299, 0.987527609, -0.142758414, 0.979424179, -0.0372077115, 0.198368743) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1094. CFrame.new(-0.641120076, -1.92643452, -0.0258421432, 0.848103583, 0.133398816, -0.51276207, -0.0662644878, 0.986892581, 0.147146463, 0.52567035, -0.0908175632, 0.845826566) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1095. }, .1, false)
  1096. moter.C0 = clerp(moter.C0, CFrame.new(0.011209704, -1.63770795, -0.318749219, -0.0172089972, -4.19956632e-06, -0.999852002, 0.999852061, 8.99471343e-06, -0.0172089972, 9.06549394e-06, -1.00000012, 4.04558159e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1097. end
  1098. Effects.Block.Create(BrickColor.new("New Yeller"), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05)
  1099. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=136523485", Character, 1, .5)
  1100. dmg(targetted)
  1101. for i = 0, 1, 0.1 do
  1102. swait()
  1103. PlayAnimationFromTable({
  1104. CFrame.new(0.0150662307, -4.88092428e-06, 0.0148906102, -0.01982099, -1.08002496e-12, 0.999803543, -4.46946984e-07, 1, -8.86181084e-09, -0.999803782, 3.27825546e-07, -0.0198209975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1105. CFrame.new(-0.0879677385, 1.49240708, -0.127746791, 0.0201510563, -0.100440688, -0.994740784, 0.0566197298, 0.99346137, -0.0991647467, 0.998197258, -0.0543235913, 0.0257058665) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1106. CFrame.new(2.03539443, 0.729742587, 0.0108130341, -0.00389442407, -0.967803538, 0.251676887, 0.0148300035, -0.251707017, -0.967689872, 0.999882519, -3.62247229e-05, 0.0153327845) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1107. CFrame.new(-1.64040112, 0.216884568, 1.93210121e-06, 0.962137103, 0.272578239, -7.02217221e-07, -0.272574633, 0.962141275, -9.83368591e-06, -2.00979412e-06, 9.69739631e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1108. CFrame.new(0.64369607, -1.98395038, 0.206737444, 0.19058302, -0.152998164, -0.969677031, 0.0664296299, 0.987527609, -0.142758414, 0.979424179, -0.0372077115, 0.198368743) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1109. CFrame.new(-0.641120076, -1.92643452, -0.0258421432, 0.848103583, 0.133398816, -0.51276207, -0.0662644878, 0.986892581, 0.147146463, 0.52567035, -0.0908175632, 0.845826566) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1110. }, .3, false)
  1111. moter.C0 = clerp(moter.C0, CFrame.new(0.0112083517, -1.63770616, -0.318746239, -0.0172079317, -2.87033617e-06, -0.999851942, 0.999852002, 8.28504562e-06, -0.0172079336, 8.27014446e-06, -1.00000012, 2.72750913e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1112. end
  1113. for i = 0, 2, 0.1 do
  1114. swait()
  1115. PlayAnimationFromTable({
  1116. CFrame.new(0.0150662307, -4.88092428e-06, 0.0148906102, -0.01982099, -1.08002496e-12, 0.999803543, -4.46946984e-07, 1, -8.86181084e-09, -0.999803782, 3.27825546e-07, -0.0198209975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1117. CFrame.new(-0.00189219415, 1.50098944, -0.129972562, 0.0201512501, 0.0765038878, -0.996864021, 0.0566192083, 0.995383799, 0.0775336027, 0.998202145, -0.0580037907, 0.0157258138) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1118. CFrame.new(2.01696348, 0.389823437, -0.060955409, -0.000397110358, -0.999624014, -0.0274192169, 0.00981300231, 0.0274140034, -0.999576092, 0.999951839, -0.0006660074, 0.00979842618) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1119. CFrame.new(-1.64040112, 0.216884568, 1.93210121e-06, 0.962137103, 0.272578239, -7.02217221e-07, -0.272574633, 0.962141275, -9.83368591e-06, -2.00979412e-06, 9.69739631e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1120. CFrame.new(0.64369607, -1.98395038, 0.206737444, 0.19058302, -0.152998164, -0.969677031, 0.0664296299, 0.987527609, -0.142758414, 0.979424179, -0.0372077115, 0.198368743) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1121. CFrame.new(-0.641120076, -1.92643452, -0.0258421432, 0.848103583, 0.133398816, -0.51276207, -0.0662644878, 0.986892581, 0.147146463, 0.52567035, -0.0908175632, 0.845826566) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1122. }, .3, false)
  1123. moter.C0 = clerp(moter.C0, CFrame.new(0.011209704, -1.63770795, -0.318749219, -0.0172089972, -4.19956632e-06, -0.999852002, 0.999852061, 8.99471343e-06, -0.0172089972, 9.06549394e-06, -1.00000012, 4.04558159e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1124. end
  1125. Humanoid.WalkSpeed = 8
  1126. attack = false
  1127. end
  1128. local Grabbed = false
  1129.  
  1130. function hedshoot()
  1131. attack = true
  1132.  
  1133. local GGyro = Instance.new("BodyPosition")
  1134. local WhoTfDidYouGrab = nil
  1135. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 10)) do
  1136. if v:FindFirstChild('Torso') then
  1137. Grabbed = true
  1138. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=260430060", v.Torso, 1, .8)
  1139. WhoTfDidYouGrab = v
  1140. end
  1141. end
  1142. Effects.Wave.Create(BrickColor.new("White"), RootPart.CFrame * CFrame.Angles(0,math.rad(90),math.rad(90)), .5, .5, .5, 1, .2, 1, 0.07)
  1143. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=200632211", RootPart, 1.5, .5)
  1144. for i = 0, 1, 0.1 do
  1145. swait()
  1146. if Grabbed == true then
  1147. WhoTfDidYouGrab.Humanoid.PlatformStand = true
  1148. GGyro.position = Partss.Position
  1149. GGyro.Parent = WhoTfDidYouGrab.Head
  1150. WhoTfDidYouGrab.Torso.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(90),0)
  1151. end
  1152. PlayAnimationFromTable({
  1153. CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1154. CFrame.new(0.0029296279, 1.47845411, -0.120581962, 0.0750327855, 0.428286105, -0.900522709, 0.166523039, 0.885005891, 0.434781253, 0.983178616, -0.18258062, -0.00491504371) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1155. CFrame.new(1.96751118, 0.433084905, -0.278422326, 0.305184275, -0.951701581, -0.033564698, 0.012345003, 0.0391969904, -0.999155343, 0.952213347, 0.304512084, 0.0237110667) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1156. CFrame.new(-1.66092706, 0.266950369, 2.51774691e-06, 0.876968205, 0.480548859, -2.5331974e-06, -0.480548888, 0.876968026, -7.03267551e-06, -1.13248825e-06, 7.38352537e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1157. CFrame.new(0.146832585, -1.7542398, 0.105335698, 0.266426086, 0.491796821, -0.828946948, 0.0135936746, 0.8580302, 0.513420045, 0.96375972, -0.148056909, 0.221916124) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1158. CFrame.new(-1.09110987, -1.74702656, 0.342675447, 0.765578806, 0.632523358, 0.117487431, -0.642276406, 0.740949869, 0.196148768, 0.0370163769, -0.225626737, 0.973510265) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1159. }, .3, false)
  1160. RootPart.Velocity = RootPart.CFrame.lookVector * 90
  1161.  
  1162. moter.C0 = clerp(moter.C0, CFrame.new(0.0111932121, -1.63769805, -0.318755955, -0.0172044784, -1.3951445e-05, -0.999852121, 0.999852002, 3.55020165e-06, -0.0172044784, 3.78862023e-06, -1.00000012, 1.38879986e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1163. end
  1164. if Grabbed == true then
  1165. Humanoid.WalkSpeed = 0
  1166. for i = 0, 2, 0.1 do
  1167. swait()
  1168. if Grabbed == true then
  1169. WhoTfDidYouGrab.Humanoid.PlatformStand = true
  1170. GGyro.position = Partss.Position
  1171. GGyro.Parent = WhoTfDidYouGrab.Head
  1172. WhoTfDidYouGrab.Torso.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(90),0)
  1173. end
  1174. PlayAnimationFromTable({
  1175. CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1176. CFrame.new(0.0029296279, 1.47845411, -0.120581962, 0.0750327855, 0.428286105, -0.900522709, 0.166523039, 0.885005891, 0.434781253, 0.983178616, -0.18258062, -0.00491504371) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1177. CFrame.new(1.96751118, 0.433084905, -0.278422326, 0.305184275, -0.951701581, -0.033564698, 0.012345003, 0.0391969904, -0.999155343, 0.952213347, 0.304512084, 0.0237110667) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1178. CFrame.new(-1.58139038, 0.176945746, 5.27966768e-06, 0.939729631, 0.341920435, -3.69548798e-06, -0.341920793, 0.93972975, -6.50105221e-06, -5.81145287e-07, 6.40749931e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1179. CFrame.new(0.569345832, -1.89868093, -0.00942828506, 0.266425997, -0.0769406706, -0.960779786, 0.0135936281, 0.997010291, -0.0760724545, 0.963760078, 0.00720720552, 0.266675085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1180. CFrame.new(-0.849354744, -2.01616573, 0.241646215, 0.948664129, 0.308412433, 0.0701368451, -0.312046438, 0.948832989, 0.0484089628, -0.0516182035, -0.0678096861, 0.996362925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1181. }, .3, false)
  1182. moter.C0 = clerp(moter.C0, CFrame.new(0.0111932121, -1.63769805, -0.318755955, -0.0172044784, -1.3951445e-05, -0.999852121, 0.999852002, 3.55020165e-06, -0.0172044784, 3.78862023e-06, -1.00000012, 1.38879986e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1183. end
  1184.  
  1185.  
  1186. for i = 0, 2, 0.1 do
  1187. swait()
  1188. if Grabbed == true then
  1189. WhoTfDidYouGrab.Humanoid.PlatformStand = true
  1190. GGyro.position = Partss.Position
  1191. GGyro.Parent = WhoTfDidYouGrab.Head
  1192. WhoTfDidYouGrab.Torso.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(90),0)
  1193. end
  1194. PlayAnimationFromTable({
  1195. CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1196. CFrame.new(-0.0791492164, 1.44711375, -0.0994036943, 0.0100336075, -0.292051941, -0.95634979, -0.000366999942, 0.956396878, -0.29207015, 0.999949574, 0.00328149647, 0.00948894024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1197. CFrame.new(1.94523025, 1.02494264, -0.272673488, 0.287940055, -0.795002162, 0.533912063, 0.0434400104, -0.546107173, -0.836588264, 0.956662774, 0.264080375, -0.122711219) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1198. CFrame.new(-1.58139038, 0.176945746, 5.27966768e-06, 0.939729631, 0.341920435, -3.69548798e-06, -0.341920793, 0.93972975, -6.50105221e-06, -5.81145287e-07, 6.40749931e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1199. CFrame.new(0.569345832, -1.89868093, -0.00942828506, 0.266425997, -0.0769406706, -0.960779786, 0.0135936281, 0.997010291, -0.0760724545, 0.963760078, 0.00720720552, 0.266675085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1200. CFrame.new(-0.849354744, -2.01616573, 0.241646215, 0.948664129, 0.308412433, 0.0701368451, -0.312046438, 0.948832989, 0.0484089628, -0.0516182035, -0.0678096861, 0.996362925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1201. }, .1, false)
  1202. moter.C0 = clerp(moter.C0, CFrame.new(0.0111939851, -1.63769794, -0.31875661, -0.0172049776, -1.39437616e-05, -0.999852121, 0.999852002, 5.96046448e-06, -0.0172049757, 6.16908073e-06, -1, 1.38394535e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1203. end
  1204. Effects.Block.Create(BrickColor.new("New Yeller"), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05)
  1205. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=136523485", Character, 1, .5)
  1206. dmg(WhoTfDidYouGrab)
  1207. WhoTfDidYouGrab.Head.Velocity = WhoTfDidYouGrab.Head.CFrame.lookVector * -60
  1208.  
  1209. for i = 0, 1, 0.1 do
  1210. swait()
  1211. PlayAnimationFromTable({
  1212. CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1213. CFrame.new(-0.0791492164, 1.44711375, -0.0994036943, 0.0100336075, -0.292051941, -0.95634979, -0.000366999942, 0.956396878, -0.29207015, 0.999949574, 0.00328149647, 0.00948894024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1214. CFrame.new(1.95760894, 1.20200562, -0.275867403, 0.278526366, -0.669772983, 0.688351095, 0.0506580099, -0.705469668, -0.706927419, 0.959091723, 0.23176837, -0.162562534) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1215. CFrame.new(-1.58139038, 0.176945746, 5.27966768e-06, 0.939729631, 0.341920435, -3.69548798e-06, -0.341920793, 0.93972975, -6.50105221e-06, -5.81145287e-07, 6.40749931e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1216. CFrame.new(0.569345832, -1.89868093, -0.00942828506, 0.266425997, -0.0769406706, -0.960779786, 0.0135936281, 0.997010291, -0.0760724545, 0.963760078, 0.00720720552, 0.266675085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1217. CFrame.new(-0.849354744, -2.01616573, 0.241646215, 0.948664129, 0.308412433, 0.0701368451, -0.312046438, 0.948832989, 0.0484089628, -0.0516182035, -0.0678096861, 0.996362925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1218. }, .3, false)
  1219. moter.C0 = clerp(moter.C0, CFrame.new(0.0111932531, -1.63769579, -0.318755656, -0.0172050633, -1.61863863e-05, -0.999852121, 0.999851882, 5.15580177e-06, -0.017205067, 5.453825e-06, -1, 1.60960481e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1220. end
  1221. for i = 0, 2.5, 0.1 do
  1222. swait()
  1223. PlayAnimationFromTable({
  1224. CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1225. CFrame.new(-0.0791492164, 1.44711375, -0.0994036943, 0.0100336075, -0.292051941, -0.95634979, -0.000366999942, 0.956396878, -0.29207015, 0.999949574, 0.00328149647, 0.00948894024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1226. CFrame.new(1.94523025, 1.02494264, -0.272673488, 0.287940055, -0.795002162, 0.533912063, 0.0434400104, -0.546107173, -0.836588264, 0.956662774, 0.264080375, -0.122711219) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1227. CFrame.new(-1.58139038, 0.176945746, 5.27966768e-06, 0.939729631, 0.341920435, -3.69548798e-06, -0.341920793, 0.93972975, -6.50105221e-06, -5.81145287e-07, 6.40749931e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1228. CFrame.new(0.569345832, -1.89868093, -0.00942828506, 0.266425997, -0.0769406706, -0.960779786, 0.0135936281, 0.997010291, -0.0760724545, 0.963760078, 0.00720720552, 0.266675085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1229. CFrame.new(-0.849354744, -2.01616573, 0.241646215, 0.948664129, 0.308412433, 0.0701368451, -0.312046438, 0.948832989, 0.0484089628, -0.0516182035, -0.0678096861, 0.996362925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1230. }, .1, false)
  1231. moter.C0 = clerp(moter.C0, CFrame.new(0.0111939851, -1.63769794, -0.31875661, -0.0172049776, -1.39437616e-05, -0.999852121, 0.999852002, 5.96046448e-06, -0.0172049757, 6.16908073e-06, -1, 1.38394535e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1232. end
  1233. end
  1234. GGyro.Parent = nil
  1235. attack = false
  1236. Grabbed = false
  1237. Humanoid.WalkSpeed = 8
  1238. end
  1239. function TargetSelect(person)
  1240. local dd=coroutine.wrap(function()
  1241. if targetted ~= person then
  1242. targetted = person
  1243. img2.Size = UDim2.new(1,0,1,0)
  1244. img2.ImageTransparency = 0
  1245. img2.Position = UDim2.new(0,0,0,0)
  1246. for i = 0, 2, 0.1 do
  1247. swait()
  1248. img2.Size = img2.Size + UDim2.new(.05,0,.05,0)
  1249. img2.Position = img2.Position + UDim2.new(-.025,0,-.025,0)
  1250. img2.ImageTransparency = img2.ImageTransparency + 0.05
  1251. end
  1252. end
  1253. end)
  1254. dd()
  1255. end
  1256.  
  1257. function LockOn()
  1258. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  1259. TargetSelect(Mouse.Target.Parent)
  1260. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=743521450", Character, 1, .8)
  1261. end
  1262. end
  1263.  
  1264.  
  1265. function ofmoosic() -- 2 lazi hoh
  1266. delays = true
  1267. while wait() and kkk and kkk.Volume >= 0.02 do
  1268. kkk.Volume = kkk.Volume - 0.05
  1269. end
  1270. wait(0.1)
  1271. kkk.Pitch = 0
  1272. kkk.PlaybackSpeed = 0
  1273. play = false
  1274. delays = false
  1275. end
  1276. function onmoosic()
  1277. delays = true
  1278. kkk.Pitch = .6
  1279. kkk.PlaybackSpeed = .6
  1280. while wait() and kkk and kkk.Volume <= 1.5 do
  1281. kkk.Volume = kkk.Volume + 0.05
  1282. end
  1283. wait(0.1)
  1284. play = true
  1285. delays = false
  1286. end
  1287. Mouse.Button1Down:connect(function()
  1288. if attack == false and targetted ~= nil then
  1289. attackone()
  1290. end
  1291. end)
  1292.  
  1293. Mouse.KeyDown:connect(function(k)
  1294. k = k:lower()
  1295. if attack == false and k == 'q' then
  1296. LockOn()
  1297. end
  1298. if k == 'z' and attack == false then
  1299. hedshoot()
  1300. elseif k == 'm' and play == true and delays == false then
  1301. ofmoosic()
  1302. elseif k == 'm' and play == false and delays == false then
  1303. onmoosic()
  1304. end
  1305. end)
  1306.  
  1307. kkk = Instance.new("Sound",Character)
  1308. kkk.Volume = 1.5
  1309. kkk.PlaybackSpeed = 1
  1310. kkk.Pitch = .6
  1311. kkk.SoundId = "rbxassetid://583415095"
  1312. kkk:Play()
  1313. kkk.Name = "a"
  1314. kkk.Looped = true
  1315.  
  1316.  
  1317.  
  1318. while true do
  1319. swait()
  1320. for i, v in pairs(Character:GetChildren()) do
  1321. if v:IsA("Part") then
  1322. v.Material = "SmoothPlastic"
  1323. elseif v:IsA("Accessory") then
  1324. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1325. end
  1326. end
  1327. while true do
  1328. swait()
  1329. Character.Humanoid.MaxHealth = math.huge
  1330. Character.Humanoid.Health = math.huge
  1331. imgl.Rotation = imgl.Rotation + 3
  1332. img2.Rotation = img2.Rotation + 3
  1333. if targetted ~= nil then
  1334. abss.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
  1335. abss.Enabled = true
  1336. elseif targetted == nil then
  1337. abss.Adornee = nil
  1338. abss.Enabled = false
  1339. end
  1340. while true and imgl.Rotation >= 360 do
  1341. imgl.Rotation = 0
  1342. img2.Rotation = 0
  1343. end
  1344. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1345. velocity = RootPart.Velocity.y
  1346. sine = sine + change
  1347. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1348. if RootPart.Velocity.y > 1 and hit == nil then
  1349. Anim = "Jump"
  1350. if attack == false then
  1351. PlayAnimationFromTable({
  1352. CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1353. CFrame.new(-0.0579944476, 1.48445117, -0.000906195492, 0.999631822, -0.0259140469, -0.00804444961, 0.0262291897, 0.998776913, 0.0419151038, 0.0069484422, -0.0421099029, 0.999089062) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1354. CFrame.new(1.68067598, 0.167780995, 5.50026158e-08, 0.965881884, -0.258982956, -3.41060513e-13, 0.258982956, 0.965881884, 4.47034836e-07, 8.49010675e-08, 3.16640808e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1355. CFrame.new(-1.67620921, 0.188169807, -3.04922651e-07, 0.95698452, 0.290146649, -2.61441073e-07, -0.290146649, 0.95698452, -1.0069979e-05, -2.89639524e-06, 1.04542296e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1356. CFrame.new(0.537238836, -1.93797374, 0.176598221, 0.998698533, -0.0506777391, -0.00574572897, 0.0510024093, 0.992341697, 0.112511501, -6.35704041e-08, -0.112657718, 0.993634105) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1357. CFrame.new(-0.536944568, -1.94808352, 0.126473114, 0.998626292, 0.0520468242, 0.00521374354, -0.0523067154, 0.993665218, 0.0995327011, -3.84102691e-07, -0.099668026, 0.995023906) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1358. }, .3, false)
  1359. moter.C0 = clerp(moter.C0, CFrame.new(0.0111988392, -1.63769972, -0.318750381, -0.0172117054, 0, -0.999851942, 0.999851942, 0, -0.0172116756, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1360. end
  1361. elseif RootPart.Velocity.y < -1 and hit == nil then
  1362. Anim = "Fall"
  1363. if attack == false then
  1364. PlayAnimationFromTable({
  1365. CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1366. CFrame.new(-0.0576509275, 1.50532985, -0.129091382, 0.999631822, -0.0231846143, -0.0140984114, 0.0262298863, 0.958684564, 0.283279002, 0.00694822101, -0.283544153, 0.958935201) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1367. CFrame.new(1.68622994, 0.21415168, 7.02040666e-08, 0.881990671, -0.471266806, -3.41060513e-13, 0.471266806, 0.881990671, 4.47034836e-07, 1.54493137e-07, 2.89139166e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1368. CFrame.new(-1.72513735, 0.240890861, 2.54038241e-07, 0.814108491, 0.58071363, -2.61430017e-07, -0.580713034, 0.814108849, -1.00698489e-05, -6.08482924e-06, 8.98058715e-06, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1369. CFrame.new(0.536720514, -1.92783141, 0.223740995, 0.998698533, -0.0498600565, -0.0107376017, 0.0510031059, 0.976314366, 0.210260883, -3.04512355e-07, -0.210534185, 0.977587521) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1370. CFrame.new(-0.535922825, -1.92850935, 0.222419083, 0.99863112, 0.0512506701, 0.0104565797, -0.0523065142, 0.978474379, 0.199629858, -3.7062793e-07, -0.199902818, 0.97981596) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1371. }, .3, false)
  1372. moter.C0 = clerp(moter.C0, CFrame.new(0.0112015437, -1.63769758, -0.318750381, -0.0172110498, 0, -0.999851942, 0.999851942, 0, -0.0172110498, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1373. end
  1374. elseif Torsovelocity < 1 and hit ~= nil then
  1375. Anim = "Idle"
  1376. if attack == false then
  1377. change = 1
  1378. PlayAnimationFromTable({
  1379. CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1380. CFrame.new(-0.0575585738, 1.52553558, -0.218724757, 0.985934377, -0.143356442, -0.0859283879, 0.166522771, 0.886584163, 0.431554198, 0.0143168001, -0.439792335, 0.897985697) * CFrame.new(0, -.05- .05 * math.cos((sine) / 55), 0- .05 * math.cos((sine) / 55)) * CFrame.Angles(math.rad(0 - 5 * math.cos((sine) / 55)), 0, 0),
  1381. CFrame.new(1.54809988, 0.041232653, 1.35168499e-08, 0.996376455, -0.0850530341, -3.41060513e-13, 0.0850530341, 0.996376455, 4.47034836e-07, 2.78823862e-08, 3.26637689e-07, 1.00000024) * CFrame.new(0- 0.025 * math.cos((sine) / 45), 0, 0) * CFrame.Angles(0, 0, 0- 0.05 * math.cos((sine) / 45)),
  1382. CFrame.new(-1.53598976, 0.0413191095, -1.86092848e-06, 0.995650649, 0.0931596532, -2.61508148e-07, -0.0931649953, 0.995651186, -1.00695124e-05, -7.49969331e-07, 1.08217946e-05, 1.00000024) * CFrame.new(0+ 0.025 * math.cos((sine) / 45), 0, 0) * CFrame.Angles(0, 0, 0+ 0.05 * math.cos((sine) / 45)),
  1383. CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1384. CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1385. }, .3, false)
  1386. moter.C0 = clerp(moter.C0, CFrame.new(0.0111980997, -1.6377027, -0.318750381, -0.0172109306, 0, -0.999851882, 0.999851882, 0, -0.0172109306, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1387. end
  1388. elseif Torsovelocity > 2 and hit ~= nil then
  1389. Anim = "Walk"
  1390. if attack == false then
  1391. PlayAnimationFromTable({
  1392. CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0- .08 * math.cos((sine) / 5), 0) * CFrame.Angles(0, 0, 0),
  1393. CFrame.new(-0.0595112406, 1.55331731, -0.0425721854, 0.999631822, -0.0248252042, -0.010953242, 0.0262294486, 0.987443328, 0.155781403, 0.00694842171, -0.156010598, 0.987731278) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1394. CFrame.new(1.54809988, 0.041232653, 1.35168499e-08, 0.996376455, -0.0850530341, -3.41060513e-13, 0.0850530341, 0.996376455, 4.47034836e-07, 2.78823862e-08, 3.26637689e-07, 1.00000024) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 10)), 0, 0),
  1395. CFrame.new(-1.53598976, 0.0413191095, -1.86092848e-06, 0.995650649, 0.0931596532, -2.61508148e-07, -0.0931649953, 0.995651186, -1.00695124e-05, -7.49969331e-07, 1.08217946e-05, 1.00000024) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 10)), 0, 0),
  1396. CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 10)), 0, 0),
  1397. CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 10)), 0, 0),
  1398. }, .3, false)
  1399. moter.C0 = clerp(moter.C0, CFrame.new(0.0111980997, -1.6377027, -0.318750381, -0.0172109306, 0, -0.999851882, 0.999851882, 0, -0.0172109306, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1400. end
  1401. end
  1402. if 0 < #Effects then
  1403. for e = 1, #Effects do
  1404. if Effects[e] ~= nil then
  1405. local Thing = Effects[e]
  1406. if Thing ~= nil then
  1407. local Part = Thing[1]
  1408. local Mode = Thing[2]
  1409. local Delay = Thing[3]
  1410. local IncX = Thing[4]
  1411. local IncY = Thing[5]
  1412. local IncZ = Thing[6]
  1413. if Thing[2] == "Shoot" then
  1414. local Look = Thing[1]
  1415. local move = 30
  1416. if Thing[8] == 3 then
  1417. move = 10
  1418. end
  1419. local hit, pos = rayCast(Thing[4], Thing[1], move, m)
  1420. if Thing[10] ~= nil then
  1421. da = pos
  1422. cf2 = CFrame.new(Thing[4], Thing[10].Position)
  1423. cfa = CFrame.new(Thing[4], pos)
  1424. tehCF = cfa:lerp(cf2, 0.2)
  1425. Thing[1] = tehCF.lookVector
  1426. end
  1427. local mag = (Thing[4] - pos).magnitude
  1428. Effects["Head"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2)
  1429. if Thing[8] == 2 then
  1430. Effects["Ring"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0), 1, 1, 0.1, 0.5, 0.5, 0.1, 0.1, 1)
  1431. end
  1432. Thing[4] = Thing[4] + Look * move
  1433. Thing[3] = Thing[3] - 1
  1434. if 2 < Thing[5] then
  1435. Thing[5] = Thing[5] - 0.3
  1436. Thing[6] = Thing[6] - 0.3
  1437. end
  1438. if hit ~= nil then
  1439. Thing[3] = 0
  1440. if Thing[8] == 1 or Thing[8] == 3 then
  1441. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  1442. else
  1443. if Thing[8] == 2 then
  1444. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  1445. if (hit.Parent:findFirstChild("Humanoid")) ~= nil or (hit.Parent.Parent:findFirstChild("Humanoid")) ~= nil then
  1446. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  1447. ref.Anchored = true
  1448. ref.CFrame = CFrame.new(pos)
  1449. CFuncs["Sound"].Create("161006093", ref, 1, 1.2)
  1450. game:GetService("Debris"):AddItem(ref, 0.2)
  1451. Effects["Block"].Create(Torso.BrickColor, CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 10, 10, 10, 0.1, 2)
  1452. Effects["Ring"].Create(BrickColor.new("Bright yellow"), CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 0.1, 4, 4, 0.1, 0.1)
  1453. MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1)
  1454. end
  1455. end
  1456. end
  1457. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  1458. ref.Anchored = true
  1459. ref.CFrame = CFrame.new(pos)
  1460. Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
  1461. game:GetService("Debris"):AddItem(ref, 1)
  1462. end
  1463. if Thing[3] <= 0 then
  1464. table.remove(Effects, e)
  1465. end
  1466. end
  1467. do
  1468. do
  1469. if Thing[2] == "FireWave" then
  1470. if Thing[3] <= Thing[4] then
  1471. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  1472. Thing[3] = Thing[3] + 1
  1473. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  1474. else
  1475. Part.Parent = nil
  1476. table.remove(Effects, e)
  1477. end
  1478. end
  1479. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  1480. if Thing[1].Transparency <= 1 then
  1481. if Thing[2] == "Block1" then
  1482. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1483. Mesh = Thing[7]
  1484. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1485. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1486. else
  1487. if Thing[2] == "Block2" then
  1488. Thing[1].CFrame = Thing[1].CFrame
  1489. Mesh = Thing[7]
  1490. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1491. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1492. else
  1493. if Thing[2] == "Fire" then
  1494. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  1495. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1496. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1497. else
  1498. if Thing[2] == "Cylinder" then
  1499. Mesh = Thing[7]
  1500. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1501. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1502. else
  1503. if Thing[2] == "Blood" then
  1504. Mesh = Thing[7]
  1505. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  1506. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1507. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1508. else
  1509. if Thing[2] == "Elec" then
  1510. Mesh = Thing[10]
  1511. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1512. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1513. else
  1514. if Thing[2] == "Disappear" then
  1515. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1516. else
  1517. if Thing[2] == "Shatter" then
  1518. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1519. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1520. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1521. Thing[6] = Thing[6] + Thing[5]
  1522. end
  1523. end
  1524. end
  1525. end
  1526. end
  1527. end
  1528. end
  1529. end
  1530. else
  1531. Part.Parent = nil
  1532. table.remove(Effects, e)
  1533. end
  1534. end
  1535. end
  1536. end
  1537. end
  1538. end
  1539. end
  1540. end
  1541. end
  1542. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement