Advertisement
Nudrius

Genocider Script

Mar 23rd, 2019
1,022
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 88.24 KB | None | 0 0
  1. --[[i stole zappa model!11!11
  2. Genocider by grgrgry21.
  3. Credit to CKBackUp's Psychopath and idk..
  4. B
  5. U R
  6. N I N H
  7. E L
  8. L
  9. ]]--
  10.  
  11. --https://github.com/Mokiros/roblox-FE-compatibility
  12. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  13. local Player,game,owner = owner,game
  14. local RealPlayer = Player
  15. do
  16. print("FE Compatibility code V2 by Mokiros")
  17. local RealPlayer = RealPlayer
  18. script.Parent = RealPlayer.Character
  19.  
  20. --Fake event to make stuff like Mouse.KeyDown work
  21. local Disconnect_Function = function(this)
  22. this[1].Functions[this[2]] = nil
  23. end
  24. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  25. local FakeEvent_Metatable = {__index={
  26. Connect = function(this,f)
  27. local i = tostring(math.random(0,10000))
  28. while this.Functions[i] do
  29. i = tostring(math.random(0,10000))
  30. end
  31. this.Functions[i] = f
  32. return setmetatable({this,i},Disconnect_Metatable)
  33. end
  34. }}
  35. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  36. local function fakeEvent()
  37. return setmetatable({Functions={}},FakeEvent_Metatable)
  38. end
  39.  
  40. --Creating fake input objects with fake variables
  41. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  42. FakeMouse.keyUp = FakeMouse.KeyUp
  43. FakeMouse.keyDown = FakeMouse.KeyDown
  44. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  45. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  46. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  47. end}
  48. --Merged 2 functions into one by checking amount of arguments
  49. CAS.UnbindAction = CAS.BindAction
  50.  
  51. --This function will trigger the events that have been :Connect()'ed
  52. local function TriggerEvent(self,ev,...)
  53. for _,f in pairs(self[ev].Functions) do
  54. f(...)
  55. end
  56. end
  57. FakeMouse.TriggerEvent = TriggerEvent
  58. UIS.TriggerEvent = TriggerEvent
  59.  
  60. --Client communication
  61. local Event = Instance.new("RemoteEvent")
  62. Event.Name = "UserInput_Event"
  63. Event.OnServerEvent:Connect(function(plr,io)
  64. if plr~=RealPlayer then return end
  65. FakeMouse.Target = io.Target
  66. FakeMouse.Hit = io.Hit
  67. if not io.isMouse then
  68. local b = io.UserInputState == Enum.UserInputState.Begin
  69. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  70. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  71. end
  72. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  73. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  74. end
  75. for _,t in pairs(CAS.Actions) do
  76. for _,k in pairs(t.Keys) do
  77. if k==io.KeyCode then
  78. t.Function(t.Name,io.UserInputState,io)
  79. end
  80. end
  81. end
  82. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  83. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  84. end
  85. end)
  86. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  87. local Mouse = owner:GetMouse()
  88. local UIS = game:GetService("UserInputService")
  89. local input = function(io,RobloxHandled)
  90. if RobloxHandled then return end
  91. --Since InputObject is a client-side instance, we create and pass table instead
  92. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  93. end
  94. UIS.InputBegan:Connect(input)
  95. UIS.InputEnded:Connect(input)
  96. local h,t
  97. --Give the server mouse data every second frame, but only if the values changed
  98. --If player is not moving their mouse, client won't fire events
  99. local HB = game:GetService("RunService").Heartbeat
  100. while true do
  101. if h~=Mouse.Hit or t~=Mouse.Target then
  102. h,t=Mouse.Hit,Mouse.Target
  103. Event:FireServer({isMouse=true,Target=t,Hit=h})
  104. end
  105. --Wait 2 frames
  106. for i=1,2 do
  107. HB:Wait()
  108. end
  109. end]==],script)
  110.  
  111. ----Sandboxed game object that allows the usage of client-side methods and services
  112. --Real game object
  113. local RealGame = game
  114.  
  115. --Metatable for fake service
  116. local FakeService_Metatable = {
  117. __index = function(self,k)
  118. local s = rawget(self,"_RealService")
  119. if s then
  120. return typeof(s[k])=="function"
  121. and function(_,...)return s[k](s,...)end or s[k]
  122. end
  123. end,
  124. __newindex = function(self,k,v)
  125. local s = rawget(self,"_RealService")
  126. if s then s[k]=v end
  127. end
  128. }
  129. local function FakeService(t,RealService)
  130. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  131. return setmetatable(t,FakeService_Metatable)
  132. end
  133.  
  134. --Fake game object
  135. local FakeGame = {
  136. GetService = function(self,s)
  137. return rawget(self,s) or RealGame:GetService(s)
  138. end,
  139. Players = FakeService({
  140. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  141. },"Players"),
  142. UserInputService = FakeService(UIS,"UserInputService"),
  143. ContextActionService = FakeService(CAS,"ContextActionService"),
  144. RunService = FakeService({
  145. _btrs = {},
  146. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  147. BindToRenderStep = function(self,name,_,fun)
  148. self._btrs[name] = self.Heartbeat:Connect(fun)
  149. end,
  150. UnbindFromRenderStep = function(self,name)
  151. self._btrs[name]:Disconnect()
  152. end,
  153. },"RunService")
  154. }
  155. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  156. FakeGame.service = FakeGame.GetService
  157. FakeService(FakeGame,game)
  158. --Changing owner to fake player object to support owner:GetMouse()
  159. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  160. end
  161.  
  162. wait(1 / 60)
  163. Effects = { }
  164. local Player = game.Players.localPlayer
  165. local Character = Player.Character
  166. local Humanoid = Character.Humanoid
  167. local Mouse = Player:GetMouse()
  168. local LeftArm = Character["Left Arm"]
  169. local RightArm = Character["Right Arm"]
  170. local LeftLeg = Character["Left Leg"]
  171. local RightLeg = Character["Right Leg"]
  172. local Head = Character.Head
  173. local Torso = Character.Torso
  174. local Camera = game.Workspace.CurrentCamera
  175. local RootPart = Character.HumanoidRootPart
  176. local RootJoint = RootPart.RootJoint
  177. local attack = false
  178. local Anim = 'Idle'
  179. local attacktype = 1
  180. local delays = false
  181. local play = true
  182. local targetted = nil
  183. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  184. local velocity = RootPart.Velocity.y
  185. local sine = 0
  186. local change = 1
  187. local Create = LoadLibrary("RbxUtility").Create
  188. Humanoid.WalkSpeed = 8
  189. local m = Create("Model"){
  190. Parent = Character,
  191. Name = "WeaponModel",
  192. }
  193.  
  194. Humanoid.Animator.Parent = nil
  195. Character.Animate.Parent = nil
  196.  
  197. local newMotor = function(part0, part1, c0, c1)
  198. local w = Create('Motor'){
  199. Parent = part0,
  200. Part0 = part0,
  201. Part1 = part1,
  202. C0 = c0,
  203. C1 = c1,
  204. }
  205. return w
  206. end
  207.  
  208. function clerp(a, b, t)
  209. return a:lerp(b, t)
  210. end
  211.  
  212. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  213. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  214.  
  215. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  216. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  217. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  218. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  219. RootJoint.C1 = CFrame.new(0, 0, 0)
  220. RootJoint.C0 = CFrame.new(0, 0, 0)
  221. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  222. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  223.  
  224. local rarmc1 = RW.C1
  225. local larmc1 = LW.C1
  226. local rlegc1 = RH.C1
  227. local llegc1 = LH.C1
  228.  
  229. local resetc1 = false
  230.  
  231. function PlayAnimationFromTable(table, speed, bool)
  232. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  233. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  234. RW.C0 = clerp(RW.C0, table[3], speed)
  235. LW.C0 = clerp(LW.C0, table[4], speed)
  236. RH.C0 = clerp(RH.C0, table[5], speed)
  237. LH.C0 = clerp(LH.C0, table[6], speed)
  238. if bool == true then
  239. if resetc1 == false then
  240. resetc1 = true
  241. RootJoint.C1 = RootJoint.C1
  242. Torso.Neck.C1 = Torso.Neck.C1
  243. RW.C1 = rarmc1
  244. LW.C1 = larmc1
  245. RH.C1 = rlegc1
  246. LH.C1 = llegc1
  247. end
  248. end
  249. end
  250.  
  251. ArtificialHB = Create("BindableEvent", script){
  252. Parent = script,
  253. Name = "Heartbeat",
  254. }
  255.  
  256. script:WaitForChild("Heartbeat")
  257.  
  258. frame = 1 / 30
  259. tf = 0
  260. allowframeloss = false
  261. tossremainder = false
  262. lastframe = tick()
  263. script.Heartbeat:Fire()
  264.  
  265. game:GetService("RunService").Heartbeat:connect(function(s, p)
  266. tf = tf + s
  267. if tf >= frame then
  268. if allowframeloss then
  269. script.Heartbeat:Fire()
  270. lastframe = tick()
  271. else
  272. for i = 1, math.floor(tf / frame) do
  273. script.Heartbeat:Fire()
  274. end
  275. lastframe = tick()
  276. end
  277. if tossremainder then
  278. tf = 0
  279. else
  280. tf = tf - frame * math.floor(tf / frame)
  281. end
  282. end
  283. end)
  284.  
  285. function swait(num)
  286. if num == 0 or num == nil then
  287. ArtificialHB.Event:wait()
  288. else
  289. for i = 0, num do
  290. ArtificialHB.Event:wait()
  291. end
  292. end
  293. end
  294.  
  295. function RemoveOutlines(part)
  296. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  297. end
  298.  
  299. CFuncs = {
  300. ["Part"] = {
  301. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  302. local Part = Create("Part"){
  303. Parent = Parent,
  304. Reflectance = Reflectance,
  305. Transparency = Transparency,
  306. CanCollide = false,
  307. Locked = true,
  308. BrickColor = BrickColor.new(tostring(BColor)),
  309. Name = Name,
  310. Size = Size,
  311. Material = Material,
  312. }
  313. RemoveOutlines(Part)
  314. return Part
  315. end;
  316. };
  317.  
  318. ["Mesh"] = {
  319. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  320. local Msh = Create(Mesh){
  321. Parent = Part,
  322. Offset = OffSet,
  323. Scale = Scale,
  324. }
  325. if Mesh == "SpecialMesh" then
  326. Msh.MeshType = MeshType
  327. Msh.MeshId = MeshId
  328. end
  329. return Msh
  330. end;
  331. };
  332.  
  333. ["Mesh"] = {
  334. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  335. local Msh = Create(Mesh){
  336. Parent = Part,
  337. Offset = OffSet,
  338. Scale = Scale,
  339. }
  340. if Mesh == "SpecialMesh" then
  341. Msh.MeshType = MeshType
  342. Msh.MeshId = MeshId
  343. end
  344. return Msh
  345. end;
  346. };
  347.  
  348. ["Weld"] = {
  349. Create = function(Parent, Part0, Part1, C0, C1)
  350. local Weld = Create("Weld"){
  351. Parent = Parent,
  352. Part0 = Part0,
  353. Part1 = Part1,
  354. C0 = C0,
  355. C1 = C1,
  356. }
  357. return Weld
  358. end;
  359. };
  360.  
  361. ["Sound"] = {
  362. Create = function(id, par, vol, pit)
  363. coroutine.resume(coroutine.create(function()
  364. local S = Create("Sound"){
  365. Volume = vol,
  366. Pitch = pit or 1,
  367. SoundId = id,
  368. Parent = par or workspace,
  369. }
  370. wait()
  371. S:play()
  372. game:GetService("Debris"):AddItem(S, 6)
  373. end))
  374. end;
  375. };
  376.  
  377. ["ParticleEmitter"] = {
  378. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  379. local fp = Create("ParticleEmitter"){
  380. Parent = Parent,
  381. Color = ColorSequence.new(Color1, Color2),
  382. LightEmission = LightEmission,
  383. Size = Size,
  384. Texture = Texture,
  385. Transparency = Transparency,
  386. ZOffset = ZOffset,
  387. Acceleration = Accel,
  388. Drag = Drag,
  389. LockedToPart = LockedToPart,
  390. VelocityInheritance = VelocityInheritance,
  391. EmissionDirection = EmissionDirection,
  392. Enabled = Enabled,
  393. Lifetime = LifeTime,
  394. Rate = Rate,
  395. Rotation = Rotation,
  396. RotSpeed = RotSpeed,
  397. Speed = Speed,
  398. VelocitySpread = VelocitySpread,
  399. }
  400. return fp
  401. end;
  402. };
  403.  
  404. CreateTemplate = {
  405.  
  406. };
  407. }
  408.  
  409.  
  410.  
  411. New = function(Object, Parent, Name, Data)
  412. local Object = Instance.new(Object)
  413. for Index, Value in pairs(Data or {}) do
  414. Object[Index] = Value
  415. end
  416. Object.Parent = Parent
  417. Object.Name = Name
  418. return Object
  419. end
  420.  
  421.  
  422. 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),})
  423. Mesh = New("SpecialMesh",ShadowHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
  424. 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),})
  425.  
  426. 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,})
  427. moter = New("Weld",Handle,"mot",{Part0 = RightArm,Part1 = Handle,})
  428. 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,})
  429. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.24608025, 0.123040132),})
  430. 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),})
  431. 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,})
  432. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.123040125, 1, 1),MeshType = Enum.MeshType.Cylinder,})
  433. 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),})
  434. 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,})
  435. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1.00999999, 1),})
  436. 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),})
  437. 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,})
  438. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.246080264, 1),})
  439. 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),})
  440. 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,})
  441. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.492160618, 0.492160439),MeshType = Enum.MeshType.Cylinder,})
  442. 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),})
  443. 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,})
  444. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.246080235, 0.123040132),})
  445. 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),})
  446. 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,})
  447. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.7382406),})
  448. 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),})
  449. 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),})
  450. Mesh = New("SpecialMesh",Partss,"Mesh",{Scale = Vector3.new(0.123040125, 1, 1),MeshType = Enum.MeshType.Cylinder,})
  451. 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),})
  452. 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,})
  453. 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,})
  454. 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),})
  455. 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),})
  456. 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),})
  457. 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,})
  458. 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),})
  459. 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,})
  460. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.492160618, 0.492160439),MeshType = Enum.MeshType.Cylinder,})
  461. 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),})
  462. 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,})
  463. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.24608025, 0.246080264, 0.615200639),MeshType = Enum.MeshType.Wedge,})
  464. 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),})
  465. 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,})
  466. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.861280859),MeshType = Enum.MeshType.Wedge,})
  467. 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),})
  468. 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,})
  469. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.24608025, 0.369120389, 0.861280918),MeshType = Enum.MeshType.Wedge,})
  470. 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),})
  471. 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,})
  472. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,})
  473. 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),})
  474. 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,})
  475. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,})
  476. 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),})
  477. 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,})
  478. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,})
  479. 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),})
  480. 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),})
  481. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.738240719),MeshType = Enum.MeshType.Wedge,})
  482. 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),})
  483. 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,})
  484. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.861280859),MeshType = Enum.MeshType.Wedge,})
  485. 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),})
  486. 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),})
  487. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.738240719),MeshType = Enum.MeshType.Wedge,})
  488. 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),})
  489.  
  490. for _,v in pairs(m:children()) do
  491. if v:IsA("Part") then
  492. v.CanCollide = false
  493. end
  494. end
  495. if Character.Name == "grgrgry21" or Character.Name == "Player1" then
  496. for _,v in pairs(Character:children()) do
  497. if v:IsA("Accessory") then
  498. v:Remove()
  499. end
  500. end
  501. 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),})
  502. Mesh = New("SpecialMesh",Handle,"Mesh",{Offset = Vector3.new(0, 0.100000001, 0),MeshId = "http://www.roblox.com/asset/?id=62246019",MeshType = Enum.MeshType.FileMesh,})
  503. Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=146022204",})
  504. 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),})
  505. 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),})
  506. 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,})
  507. 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),})
  508. end
  509.  
  510.  
  511. function rayCast(Position, Direction, Range, Ignore)
  512. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  513. end
  514.  
  515. --[[FindNearestTorso = function(pos)
  516. local list = (game.Workspace:children())
  517. local torso = nil
  518. local dist = 1000
  519. local temp, human, temp2 = nil, nil, nil
  520. for x = 1, #list do
  521. temp2 = list[x]
  522. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  523. temp = temp2:findFirstChild("Torso")
  524. human = temp2:findFirstChild("Humanoid")
  525. if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
  526. local dohit = true
  527. if dohit == true then
  528. torso = temp
  529. dist = (temp.Position - pos).magnitude
  530. end
  531. end
  532. end
  533. end
  534. return torso, dist
  535. end]]
  536. function FindNearestTorso(Position, Distance, SinglePlayer)
  537. if SinglePlayer then
  538. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  539. end
  540. local List = {}
  541. for i, v in pairs(workspace:GetChildren()) do
  542. if v:IsA("Model") then
  543. if v:findFirstChild("Torso") then
  544. if v ~= Character then
  545. if (v.Torso.Position - Position).magnitude <= Distance then
  546. table.insert(List, v)
  547. end
  548. end
  549. end
  550. end
  551. end
  552. return List
  553. end
  554. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  555. if hit.Parent == nil then
  556. return
  557. end
  558. local h = hit.Parent:FindFirstChild("Humanoid")
  559. for _, v in pairs(hit.Parent:children()) do
  560. if v:IsA("Humanoid") then
  561. h = v
  562. end
  563. end
  564. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  565. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  566. if hit.Parent.DebounceHit.Value == true then
  567. return
  568. end
  569. end
  570. local c = Create("ObjectValue"){
  571. Name = "creator",
  572. Value = game:service("Players").LocalPlayer,
  573. Parent = h,
  574. }
  575. game:GetService("Debris"):AddItem(c, .5)
  576. if HitSound ~= nil and HitPitch ~= nil then
  577. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  578. end
  579. local Damage = math.random(minim, maxim)
  580. local blocked = false
  581. local block = hit.Parent:findFirstChild("Block")
  582. if block ~= nil then
  583. if block.className == "IntValue" then
  584. if block.Value > 0 then
  585. blocked = true
  586. block.Value = block.Value - 1
  587. print(block.Value)
  588. end
  589. end
  590. end
  591. if blocked == false then
  592. h.Health = h.Health - Damage
  593. 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)
  594. else
  595. h.Health = h.Health - (Damage / 2)
  596. 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)
  597. end
  598. if Type == "Knockdown" then
  599. local hum = hit.Parent.Humanoid
  600. hum.PlatformStand = true
  601. coroutine.resume(coroutine.create(function(HHumanoid)
  602. swait(1)
  603. HHumanoid.PlatformStand = false
  604. end), hum)
  605. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  606. local bodvol = Create("BodyVelocity"){
  607. velocity = angle * knockback,
  608. P = 5000,
  609. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  610. Parent = hit,
  611. }
  612. local rl = Create("BodyAngularVelocity"){
  613. P = 3000,
  614. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  615. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  616. Parent = hit,
  617. }
  618. game:GetService("Debris"):AddItem(bodvol, .5)
  619. game:GetService("Debris"):AddItem(rl, .5)
  620. elseif Type == "Normal" then
  621. local vp = Create("BodyVelocity"){
  622. P = 500,
  623. maxForce = Vector3.new(math.huge, 0, math.huge),
  624. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  625. }
  626. if knockback > 0 then
  627. vp.Parent = hit.Parent.Torso
  628. end
  629. game:GetService("Debris"):AddItem(vp, .5)
  630. elseif Type == "Up" then
  631. local bodyVelocity = Create("BodyVelocity"){
  632. velocity = Vector3.new(0, 20, 0),
  633. P = 5000,
  634. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  635. Parent = hit,
  636. }
  637. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  638. elseif Type == "DarkUp" then
  639. coroutine.resume(coroutine.create(function()
  640. for i = 0, 1, 0.1 do
  641. swait()
  642. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  643. end
  644. end))
  645. local bodyVelocity = Create("BodyVelocity"){
  646. velocity = Vector3.new(0, 20, 0),
  647. P = 5000,
  648. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  649. Parent = hit,
  650. }
  651. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  652. elseif Type == "Snare" then
  653. local bp = Create("BodyPosition"){
  654. P = 2000,
  655. D = 100,
  656. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  657. position = hit.Parent.Torso.Position,
  658. Parent = hit.Parent.Torso,
  659. }
  660. game:GetService("Debris"):AddItem(bp, 1)
  661. elseif Type == "Freeze" then
  662. local BodPos = Create("BodyPosition"){
  663. P = 50000,
  664. D = 1000,
  665. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  666. position = hit.Parent.Torso.Position,
  667. Parent = hit.Parent.Torso,
  668. }
  669. local BodGy = Create("BodyGyro") {
  670. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  671. P = 20e+003,
  672. Parent = hit.Parent.Torso,
  673. cframe = hit.Parent.Torso.CFrame,
  674. }
  675. hit.Parent.Torso.Anchored = true
  676. coroutine.resume(coroutine.create(function(Part)
  677. swait(1.5)
  678. Part.Anchored = false
  679. end), hit.Parent.Torso)
  680. game:GetService("Debris"):AddItem(BodPos, 3)
  681. game:GetService("Debris"):AddItem(BodGy, 3)
  682. end
  683. local debounce = Create("BoolValue"){
  684. Name = "DebounceHit",
  685. Parent = hit.Parent,
  686. Value = true,
  687. }
  688. game:GetService("Debris"):AddItem(debounce, Delay)
  689. c = Create("ObjectValue"){
  690. Name = "creator",
  691. Value = Player,
  692. Parent = h,
  693. }
  694. game:GetService("Debris"):AddItem(c, .5)
  695. end
  696. end
  697.  
  698. function ShowDamage(Pos, Text, Time, Color)
  699. local Rate = (1 / 30)
  700. local Pos = (Pos or Vector3.new(0, 0, 0))
  701. local Text = (Text or "")
  702. local Time = (Time or 2)
  703. local Color = (Color or Color3.new(1, 0, 1))
  704. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  705. EffectPart.Anchored = true
  706. local BillboardGui = Create("BillboardGui"){
  707. Size = UDim2.new(3, 0, 3, 0),
  708. Adornee = EffectPart,
  709. Parent = EffectPart,
  710. }
  711. local TextLabel = Create("TextLabel"){
  712. BackgroundTransparency = 1,
  713. Size = UDim2.new(1, 0, 1, 0),
  714. Text = Text,
  715. Font = "SciFi",
  716. TextColor3 = Color,
  717. TextScaled = true,
  718. Parent = BillboardGui,
  719. }
  720. game.Debris:AddItem(EffectPart, (Time))
  721. EffectPart.Parent = game:GetService("Workspace")
  722. delay(0, function()
  723. local Frames = (Time / Rate)
  724. for Frame = 1, Frames do
  725. wait(Rate)
  726. local Percent = (Frame / Frames)
  727. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  728. TextLabel.TextTransparency = Percent
  729. end
  730. if EffectPart and EffectPart.Parent then
  731. EffectPart:Destroy()
  732. end
  733. end)
  734. end
  735.  
  736. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  737. for _, c in pairs(workspace:children()) do
  738. local hum = c:findFirstChild("Humanoid")
  739. if hum ~= nil then
  740. local head = c:findFirstChild("Torso")
  741. if head ~= nil then
  742. local targ = head.Position - Part.Position
  743. local mag = targ.magnitude
  744. if mag <= Magnitude and c.Name ~= Player.Name then
  745. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  746. end
  747. end
  748. end
  749. end
  750. end
  751.  
  752. EffectModel = Create("Model"){
  753. Parent = Character,
  754. Name = "Effects",
  755. }
  756.  
  757. Effects = {
  758. Block = {
  759. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  760. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  761. prt.Anchored = true
  762. prt.CFrame = cframe
  763. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  764. game:GetService("Debris"):AddItem(prt, 10)
  765. if Type == 1 or Type == nil then
  766. table.insert(Effects, {
  767. prt,
  768. "Block1",
  769. delay,
  770. x3,
  771. y3,
  772. z3,
  773. msh
  774. })
  775. elseif Type == 2 then
  776. table.insert(Effects, {
  777. prt,
  778. "Block2",
  779. delay,
  780. x3,
  781. y3,
  782. z3,
  783. msh
  784. })
  785. end
  786. end;
  787. };
  788.  
  789. Cylinder = {
  790. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  791. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  792. prt.Anchored = true
  793. prt.CFrame = cframe
  794. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  795. game:GetService("Debris"):AddItem(prt, 10)
  796. table.insert(Effects, {
  797. prt,
  798. "Cylinder",
  799. delay,
  800. x3,
  801. y3,
  802. z3,
  803. msh
  804. })
  805. end;
  806. };
  807. Head = {
  808. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  809. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  810. prt.Anchored = true
  811. prt.CFrame = cframe
  812. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  813. game:GetService("Debris"):AddItem(prt, 10)
  814. table.insert(Effects, {
  815. prt,
  816. "Cylinder",
  817. delay,
  818. x3,
  819. y3,
  820. z3,
  821. msh
  822. })
  823. end;
  824. };
  825.  
  826. Sphere = {
  827. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  828. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  829. prt.Anchored = true
  830. prt.CFrame = cframe
  831. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  832. game:GetService("Debris"):AddItem(prt, 10)
  833. table.insert(Effects, {
  834. prt,
  835. "Cylinder",
  836. delay,
  837. x3,
  838. y3,
  839. z3,
  840. msh
  841. })
  842. end;
  843. };
  844.  
  845. Elect = {
  846. Create = function(cff, x, y, z)
  847. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
  848. prt.Anchored = true
  849. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  850. prt.CFrame = CFrame.new(prt.Position)
  851. game:GetService("Debris"):AddItem(prt, 2)
  852. local xval = math.random() / 2
  853. local yval = math.random() / 2
  854. local zval = math.random() / 2
  855. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  856. table.insert(Effects, {
  857. prt,
  858. "Elec",
  859. 0.1,
  860. x,
  861. y,
  862. z,
  863. xval,
  864. yval,
  865. zval
  866. })
  867. end;
  868.  
  869. };
  870.  
  871. Ring = {
  872. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  873. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  874. prt.Anchored = true
  875. prt.CFrame = cframe
  876. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  877. game:GetService("Debris"):AddItem(prt, 10)
  878. table.insert(Effects, {
  879. prt,
  880. "Cylinder",
  881. delay,
  882. x3,
  883. y3,
  884. z3,
  885. msh
  886. })
  887. end;
  888. };
  889.  
  890.  
  891. Wave = {
  892. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  893. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  894. prt.Anchored = true
  895. prt.CFrame = cframe
  896. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  897. game:GetService("Debris"):AddItem(prt, 10)
  898. table.insert(Effects, {
  899. prt,
  900. "Cylinder",
  901. delay,
  902. x3,
  903. y3,
  904. z3,
  905. msh
  906. })
  907. end;
  908. };
  909.  
  910. Break = {
  911. Create = function(brickcolor, cframe, x1, y1, z1)
  912. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  913. prt.Anchored = true
  914. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  915. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  916. local num = math.random(10, 50) / 1000
  917. game:GetService("Debris"):AddItem(prt, 10)
  918. table.insert(Effects, {
  919. prt,
  920. "Shatter",
  921. num,
  922. prt.CFrame,
  923. math.random() - math.random(),
  924. 0,
  925. math.random(50, 100) / 100
  926. })
  927. end;
  928. };
  929.  
  930. Fire = {
  931. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  932. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  933. prt.Anchored = true
  934. prt.CFrame = cframe
  935. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  936. game:GetService("Debris"):AddItem(prt, 10)
  937. table.insert(Effects, {
  938. prt,
  939. "Fire",
  940. delay,
  941. 1,
  942. 1,
  943. 1,
  944. msh
  945. })
  946. end;
  947. };
  948.  
  949. FireWave = {
  950. Create = function(brickcolor, cframe, x1, y1, z1)
  951. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  952. prt.Anchored = true
  953. prt.CFrame = cframe
  954. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  955. local d = Create("Decal"){
  956. Parent = prt,
  957. Texture = "rbxassetid://26356434",
  958. Face = "Top",
  959. }
  960. local d = Create("Decal"){
  961. Parent = prt,
  962. Texture = "rbxassetid://26356434",
  963. Face = "Bottom",
  964. }
  965. game:GetService("Debris"):AddItem(prt, 10)
  966. table.insert(Effects, {
  967. prt,
  968. "FireWave",
  969. 1,
  970. 30,
  971. math.random(400, 600) / 100,
  972. msh
  973. })
  974. end;
  975. };
  976.  
  977. Lightning = {
  978. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  979. local magz = (p0 - p1).magnitude
  980. local curpos = p0
  981. local trz = {
  982. -ofs,
  983. ofs
  984. }
  985. for i = 1, tym do
  986. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  987. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  988. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  989. li.Material = "Neon"
  990. if tym == i then
  991. local magz2 = (curpos - p1).magnitude
  992. li.Size = Vector3.new(th, th, magz2)
  993. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  994. table.insert(Effects, {
  995. li,
  996. "Disappear",
  997. last
  998. })
  999. else
  1000. do
  1001. do
  1002. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  1003. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  1004. game.Debris:AddItem(li, 10)
  1005. table.insert(Effects, {
  1006. li,
  1007. "Disappear",
  1008. last
  1009. })
  1010. end
  1011. end
  1012. end
  1013. end
  1014. end
  1015. };
  1016.  
  1017. EffectTemplate = {
  1018.  
  1019. };
  1020. }
  1021.  
  1022. abss = Instance.new("BillboardGui",Character)
  1023. abss.Size = UDim2.new(10,0,10,0)
  1024. abss.Enabled = false
  1025. imgl = Instance.new("ImageLabel",abss)
  1026. imgl.Position = UDim2.new(0,0,0,0)
  1027. imgl.Size = UDim2.new(1,0,1,0)
  1028. imgl.Image = "rbxassetid://711463989"
  1029. imgl.BackgroundTransparency = 1
  1030. imgl.ImageColor3 = Color3.new(.9,0,0)
  1031. img2 = Instance.new("ImageLabel",abss)
  1032. img2.Position = UDim2.new(0,0,0,0)
  1033. img2.Size = UDim2.new(1,0,1,0)
  1034. img2.Image = "rbxassetid://711463989"
  1035. img2.BackgroundTransparency = 1
  1036. img2.ImageColor3 = Color3.new(.9,0,0)
  1037.  
  1038. function dmg(dude)
  1039. dude.Humanoid.PlatformStand = true
  1040.  
  1041. local partasdeff = Instance.new("ParticleEmitter",dude.Torso)
  1042. partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1043. partasdeff.LightEmission = .1
  1044. partasdeff.Size = NumberSequence.new(0.2)
  1045. partasdeff.Texture = "http://www.roblox.com/asset/?ID=771221224"
  1046. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1047. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1048. partasdeff.Transparency = bbb
  1049. partasdeff.Size = aaa
  1050. partasdeff.ZOffset = .9
  1051. partasdeff.Acceleration = Vector3.new(0, -2, 0)
  1052. partasdeff.LockedToPart = false
  1053. partasdeff.EmissionDirection = "Back"
  1054. partasdeff.Lifetime = NumberRange.new(1, 2)
  1055. partasdeff.Rate = 1000
  1056. partasdeff.Rotation = NumberRange.new(-100, 100)
  1057. partasdeff.RotSpeed = NumberRange.new(-100, 100)
  1058. partasdeff.Speed = NumberRange.new(10)
  1059. partasdeff.VelocitySpread = 20
  1060. partasdeff.Enabled=true
  1061. local bgf = Instance.new("BodyGyro",dude.Head)
  1062. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  1063. local val = Instance.new("BoolValue",dude)
  1064. val.Name = "IsHit"
  1065. for i = 1, 6 do
  1066. local blo = Instance.new("Part",game.Workspace)
  1067. blo.Size = Vector3.new(.6,.2,.6)
  1068. blo.Material = "SmoothPlastic"
  1069. blo.BrickColor = BrickColor.new("Crimson")
  1070. blo.Position = dude.Head.Position
  1071. blo.CFrame = dude.Head.CFrame
  1072. game:GetService("Debris"):AddItem(blo,30)
  1073. end
  1074. local ds = coroutine.wrap(function()
  1075. wait(.2)
  1076. dude.Torso:BreakJoints()
  1077. partasdeff.Enabled=false
  1078. wait(2)
  1079. partasdeff:Remove()
  1080. end)
  1081. ds()
  1082. end
  1083.  
  1084. function attackone()
  1085. attack = true
  1086. Humanoid.WalkSpeed = 0
  1087. for i = 0, 3, 0.1 do
  1088. swait()
  1089. PlayAnimationFromTable({
  1090. 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),
  1091. 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),
  1092. 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),
  1093. 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),
  1094. 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),
  1095. 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),
  1096. }, .1, false)
  1097. 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)
  1098. end
  1099. Effects.Block.Create(BrickColor.new("New Yeller"), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05)
  1100. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=136523485", Character, 1, .5)
  1101. dmg(targetted)
  1102. for i = 0, 1, 0.1 do
  1103. swait()
  1104. PlayAnimationFromTable({
  1105. 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),
  1106. 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),
  1107. 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),
  1108. 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),
  1109. 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),
  1110. 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),
  1111. }, .3, false)
  1112. 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)
  1113. end
  1114. for i = 0, 2, 0.1 do
  1115. swait()
  1116. PlayAnimationFromTable({
  1117. 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),
  1118. 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),
  1119. 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),
  1120. 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),
  1121. 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),
  1122. 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),
  1123. }, .3, false)
  1124. 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)
  1125. end
  1126. Humanoid.WalkSpeed = 8
  1127. attack = false
  1128. end
  1129. local Grabbed = false
  1130.  
  1131. function hedshoot()
  1132. attack = true
  1133.  
  1134. local GGyro = Instance.new("BodyPosition")
  1135. local WhoTfDidYouGrab = nil
  1136. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 10)) do
  1137. if v:FindFirstChild('Torso') then
  1138. Grabbed = true
  1139. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=260430060", v.Torso, 1, .8)
  1140. WhoTfDidYouGrab = v
  1141. end
  1142. end
  1143. 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)
  1144. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=200632211", RootPart, 1.5, .5)
  1145. for i = 0, 1, 0.1 do
  1146. swait()
  1147. if Grabbed == true then
  1148. WhoTfDidYouGrab.Humanoid.PlatformStand = true
  1149. GGyro.position = Partss.Position
  1150. GGyro.Parent = WhoTfDidYouGrab.Head
  1151. WhoTfDidYouGrab.Torso.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(90),0)
  1152. end
  1153. PlayAnimationFromTable({
  1154. 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),
  1155. 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),
  1156. 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),
  1157. 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),
  1158. 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),
  1159. 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),
  1160. }, .3, false)
  1161. RootPart.Velocity = RootPart.CFrame.lookVector * 90
  1162.  
  1163. 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)
  1164. end
  1165. if Grabbed == true then
  1166. Humanoid.WalkSpeed = 0
  1167. for i = 0, 2, 0.1 do
  1168. swait()
  1169. if Grabbed == true then
  1170. WhoTfDidYouGrab.Humanoid.PlatformStand = true
  1171. GGyro.position = Partss.Position
  1172. GGyro.Parent = WhoTfDidYouGrab.Head
  1173. WhoTfDidYouGrab.Torso.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(90),0)
  1174. end
  1175. PlayAnimationFromTable({
  1176. 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),
  1177. 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),
  1178. 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),
  1179. 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),
  1180. 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),
  1181. 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),
  1182. }, .3, false)
  1183. 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)
  1184. end
  1185.  
  1186.  
  1187. for i = 0, 2, 0.1 do
  1188. swait()
  1189. if Grabbed == true then
  1190. WhoTfDidYouGrab.Humanoid.PlatformStand = true
  1191. GGyro.position = Partss.Position
  1192. GGyro.Parent = WhoTfDidYouGrab.Head
  1193. WhoTfDidYouGrab.Torso.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(90),0)
  1194. end
  1195. PlayAnimationFromTable({
  1196. 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),
  1197. 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),
  1198. 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),
  1199. 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),
  1200. 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),
  1201. 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),
  1202. }, .1, false)
  1203. 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)
  1204. end
  1205. Effects.Block.Create(BrickColor.new("New Yeller"), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05)
  1206. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=136523485", Character, 1, .5)
  1207. dmg(WhoTfDidYouGrab)
  1208. WhoTfDidYouGrab.Head.Velocity = WhoTfDidYouGrab.Head.CFrame.lookVector * -60
  1209.  
  1210. for i = 0, 1, 0.1 do
  1211. swait()
  1212. PlayAnimationFromTable({
  1213. 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),
  1214. 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),
  1215. 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),
  1216. 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),
  1217. 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),
  1218. 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),
  1219. }, .3, false)
  1220. 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)
  1221. end
  1222. for i = 0, 2.5, 0.1 do
  1223. swait()
  1224. PlayAnimationFromTable({
  1225. 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),
  1226. 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),
  1227. 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),
  1228. 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),
  1229. 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),
  1230. 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),
  1231. }, .1, false)
  1232. 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)
  1233. end
  1234. end
  1235. GGyro.Parent = nil
  1236. attack = false
  1237. Grabbed = false
  1238. Humanoid.WalkSpeed = 8
  1239. end
  1240. function TargetSelect(person)
  1241. local dd=coroutine.wrap(function()
  1242. if targetted ~= person then
  1243. targetted = person
  1244. img2.Size = UDim2.new(1,0,1,0)
  1245. img2.ImageTransparency = 0
  1246. img2.Position = UDim2.new(0,0,0,0)
  1247. for i = 0, 2, 0.1 do
  1248. swait()
  1249. img2.Size = img2.Size + UDim2.new(.05,0,.05,0)
  1250. img2.Position = img2.Position + UDim2.new(-.025,0,-.025,0)
  1251. img2.ImageTransparency = img2.ImageTransparency + 0.05
  1252. end
  1253. end
  1254. end)
  1255. dd()
  1256. end
  1257.  
  1258. function LockOn()
  1259. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  1260. TargetSelect(Mouse.Target.Parent)
  1261. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=222213668", Character, 1, .8)
  1262. end
  1263. end
  1264.  
  1265.  
  1266. function ofmoosic() -- 2 lazi hoh
  1267. delays = true
  1268. while wait() and kkk and kkk.Volume >= 0.02 do
  1269. kkk.Volume = kkk.Volume - 0.05
  1270. end
  1271. wait(0.1)
  1272. kkk.Pitch = 0
  1273. kkk.PlaybackSpeed = 0
  1274. play = false
  1275. delays = false
  1276. end
  1277. function onmoosic()
  1278. delays = true
  1279. kkk.Pitch = .6
  1280. kkk.PlaybackSpeed = .6
  1281. while wait() and kkk and kkk.Volume <= 1.5 do
  1282. kkk.Volume = kkk.Volume + 0.05
  1283. end
  1284. wait(0.1)
  1285. play = true
  1286. delays = false
  1287. end
  1288. Mouse.Button1Down:connect(function()
  1289. if attack == false and targetted ~= nil then
  1290. attackone()
  1291. end
  1292. end)
  1293.  
  1294. Mouse.KeyDown:connect(function(k)
  1295. k = k:lower()
  1296. if attack == false and k == 'q' then
  1297. LockOn()
  1298. end
  1299. if k == 'z' and attack == false then
  1300. hedshoot()
  1301. elseif k == 'm' and play == true and delays == false then
  1302. ofmoosic()
  1303. elseif k == 'm' and play == false and delays == false then
  1304. onmoosic()
  1305. end
  1306. end)
  1307.  
  1308. kkk = Instance.new("Sound",Character)
  1309. kkk.Volume = 1.5
  1310. kkk.PlaybackSpeed = 1
  1311. kkk.Pitch = .7
  1312. kkk.SoundId = "rbxassetid://2142456858"
  1313. kkk:Play()
  1314. kkk.Name = "a"
  1315. kkk.Looped = true
  1316.  
  1317.  
  1318.  
  1319. while true do
  1320. swait()
  1321. for i, v in pairs(Character:GetChildren()) do
  1322. if v:IsA("Part") then
  1323. v.Material = "SmoothPlastic"
  1324. elseif v:IsA("Accessory") then
  1325. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1326. end
  1327. end
  1328. while true do
  1329. swait()
  1330. Character.Humanoid.MaxHealth = math.huge
  1331. Character.Humanoid.Health = math.huge
  1332. imgl.Rotation = imgl.Rotation + 3
  1333. img2.Rotation = img2.Rotation + 3
  1334. if targetted ~= nil then
  1335. abss.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
  1336. abss.Enabled = true
  1337. elseif targetted == nil then
  1338. abss.Adornee = nil
  1339. abss.Enabled = false
  1340. end
  1341. while true and imgl.Rotation >= 360 do
  1342. imgl.Rotation = 0
  1343. img2.Rotation = 0
  1344. end
  1345. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1346. velocity = RootPart.Velocity.y
  1347. sine = sine + change
  1348. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1349. if RootPart.Velocity.y > 1 and hit == nil then
  1350. Anim = "Jump"
  1351. if attack == false then
  1352. PlayAnimationFromTable({
  1353. 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),
  1354. 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),
  1355. 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),
  1356. 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),
  1357. 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),
  1358. 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),
  1359. }, .3, false)
  1360. 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)
  1361. end
  1362. elseif RootPart.Velocity.y < -1 and hit == nil then
  1363. Anim = "Fall"
  1364. if attack == false then
  1365. PlayAnimationFromTable({
  1366. 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),
  1367. 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),
  1368. 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),
  1369. 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),
  1370. 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),
  1371. 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),
  1372. }, .3, false)
  1373. 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)
  1374. end
  1375. elseif Torsovelocity < 1 and hit ~= nil then
  1376. Anim = "Idle"
  1377. if attack == false then
  1378. change = 1
  1379. PlayAnimationFromTable({
  1380. 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),
  1381. 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),
  1382. 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)),
  1383. 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)),
  1384. 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),
  1385. 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),
  1386. }, .3, false)
  1387. 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)
  1388. end
  1389. elseif Torsovelocity > 2 and hit ~= nil then
  1390. Anim = "Walk"
  1391. if attack == false then
  1392. PlayAnimationFromTable({
  1393. 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),
  1394. 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),
  1395. 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),
  1396. 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),
  1397. 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),
  1398. 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),
  1399. }, .3, false)
  1400. 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)
  1401. end
  1402. end
  1403. if 0 < #Effects then
  1404. for e = 1, #Effects do
  1405. if Effects[e] ~= nil then
  1406. local Thing = Effects[e]
  1407. if Thing ~= nil then
  1408. local Part = Thing[1]
  1409. local Mode = Thing[2]
  1410. local Delay = Thing[3]
  1411. local IncX = Thing[4]
  1412. local IncY = Thing[5]
  1413. local IncZ = Thing[6]
  1414. if Thing[2] == "Shoot" then
  1415. local Look = Thing[1]
  1416. local move = 30
  1417. if Thing[8] == 3 then
  1418. move = 10
  1419. end
  1420. local hit, pos = rayCast(Thing[4], Thing[1], move, m)
  1421. if Thing[10] ~= nil then
  1422. da = pos
  1423. cf2 = CFrame.new(Thing[4], Thing[10].Position)
  1424. cfa = CFrame.new(Thing[4], pos)
  1425. tehCF = cfa:lerp(cf2, 0.2)
  1426. Thing[1] = tehCF.lookVector
  1427. end
  1428. local mag = (Thing[4] - pos).magnitude
  1429. 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)
  1430. if Thing[8] == 2 then
  1431. 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)
  1432. end
  1433. Thing[4] = Thing[4] + Look * move
  1434. Thing[3] = Thing[3] - 1
  1435. if 2 < Thing[5] then
  1436. Thing[5] = Thing[5] - 0.3
  1437. Thing[6] = Thing[6] - 0.3
  1438. end
  1439. if hit ~= nil then
  1440. Thing[3] = 0
  1441. if Thing[8] == 1 or Thing[8] == 3 then
  1442. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  1443. else
  1444. if Thing[8] == 2 then
  1445. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  1446. if (hit.Parent:findFirstChild("Humanoid")) ~= nil or (hit.Parent.Parent:findFirstChild("Humanoid")) ~= nil then
  1447. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  1448. ref.Anchored = true
  1449. ref.CFrame = CFrame.new(pos)
  1450. CFuncs["Sound"].Create("161006093", ref, 1, 1.2)
  1451. game:GetService("Debris"):AddItem(ref, 0.2)
  1452. 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)
  1453. 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)
  1454. MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1)
  1455. end
  1456. end
  1457. end
  1458. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  1459. ref.Anchored = true
  1460. ref.CFrame = CFrame.new(pos)
  1461. Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
  1462. game:GetService("Debris"):AddItem(ref, 1)
  1463. end
  1464. if Thing[3] <= 0 then
  1465. table.remove(Effects, e)
  1466. end
  1467. end
  1468. do
  1469. do
  1470. if Thing[2] == "FireWave" then
  1471. if Thing[3] <= Thing[4] then
  1472. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  1473. Thing[3] = Thing[3] + 1
  1474. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  1475. else
  1476. Part.Parent = nil
  1477. table.remove(Effects, e)
  1478. end
  1479. end
  1480. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  1481. if Thing[1].Transparency <= 1 then
  1482. if Thing[2] == "Block1" then
  1483. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1484. Mesh = Thing[7]
  1485. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1486. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1487. else
  1488. if Thing[2] == "Block2" then
  1489. Thing[1].CFrame = Thing[1].CFrame
  1490. Mesh = Thing[7]
  1491. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1492. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1493. else
  1494. if Thing[2] == "Fire" then
  1495. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  1496. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1497. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1498. else
  1499. if Thing[2] == "Cylinder" then
  1500. Mesh = Thing[7]
  1501. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1502. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1503. else
  1504. if Thing[2] == "Blood" then
  1505. Mesh = Thing[7]
  1506. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  1507. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1508. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1509. else
  1510. if Thing[2] == "Elec" then
  1511. Mesh = Thing[10]
  1512. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1513. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1514. else
  1515. if Thing[2] == "Disappear" then
  1516. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1517. else
  1518. if Thing[2] == "Shatter" then
  1519. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1520. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1521. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1522. Thing[6] = Thing[6] + Thing[5]
  1523. end
  1524. end
  1525. end
  1526. end
  1527. end
  1528. end
  1529. end
  1530. end
  1531. else
  1532. Part.Parent = nil
  1533. table.remove(Effects, e)
  1534. end
  1535. end
  1536. end
  1537. end
  1538. end
  1539. end
  1540. end
  1541. end
  1542. end
  1543. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement