Advertisement
AsukaOS

Fe Genocider

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