Advertisement
AsukaOS

Fe Noobcider

Sep 20th, 2018
354
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 124.56 KB | None | 0 0
  1.  
  2. wait(1 / 60)
  3. --https://github.com/Mokiros/roblox-FE-compatibility
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,game,owner = owner,game
  6. local RealPlayer = Player
  7. do
  8. print("FE Compatibility code by Mokiros")
  9. local rp = RealPlayer
  10. script.Parent = rp.Character
  11.  
  12. --RemoteEvent for communicating
  13. local Event = Instance.new("RemoteEvent")
  14. Event.Name = "UserInput_Event"
  15.  
  16. --Fake event to make stuff like Mouse.KeyDown work
  17. local function fakeEvent()
  18. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  19. t.connect = t.Connect
  20. return t
  21. end
  22.  
  23. --Creating fake input objects with fake variables
  24. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  25. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  26. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  27. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  28. end}
  29. --Merged 2 functions into one by checking amount of arguments
  30. CAS.UnbindAction = CAS.BindAction
  31.  
  32. --This function will trigger the events that have been :Connect()'ed
  33. local function te(self,ev,...)
  34. local t = m[ev]
  35. if t and t._fakeEvent then
  36. for _,f in pairs(t.Functions) do
  37. f(...)
  38. end
  39. end
  40. end
  41. m.TrigEvent = te
  42. UIS.TrigEvent = te
  43.  
  44. Event.OnServerEvent:Connect(function(plr,io)
  45. if plr~=rp then return end
  46. m.Target = io.Target
  47. m.Hit = io.Hit
  48. if not io.isMouse then
  49. local b = io.UserInputState == Enum.UserInputState.Begin
  50. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  51. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  52. end
  53. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  54. return m:TrigEvent(b and "Button2Down" or "Button2Up")
  55. end
  56. for _,t in pairs(CAS.Actions) do
  57. for _,k in pairs(t.Keys) do
  58. if k==io.KeyCode then
  59. t.Function(t.Name,io.UserInputState,io)
  60. end
  61. end
  62. end
  63. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  64. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  65. end
  66. end)
  67. Event.Parent = NLS([==[
  68. local Player = game:GetService("Players").LocalPlayer
  69. local Event = script:WaitForChild("UserInput_Event")
  70.  
  71. local Mouse = Player:GetMouse()
  72. local UIS = game:GetService("UserInputService")
  73. local input = function(io,a)
  74. if a then return end
  75. --Since InputObject is a client-side instance, we create and pass table instead
  76. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  77. end
  78. UIS.InputBegan:Connect(input)
  79. UIS.InputEnded:Connect(input)
  80.  
  81. local h,t
  82. --Give the server mouse data 30 times every second, but only if the values changed
  83. --If player is not moving their mouse, client won't fire events
  84. while wait(1/30) do
  85. if h~=Mouse.Hit or t~=Mouse.Target then
  86. h,t=Mouse.Hit,Mouse.Target
  87. Event:FireServer({isMouse=true,Target=t,Hit=h})
  88. end
  89. end]==],Player.Character)
  90.  
  91. ----Sandboxed game object that allows the usage of client-side methods and services
  92. --Real game object
  93. local _rg = game
  94.  
  95. --Metatable for fake service
  96. local fsmt = {
  97. __index = function(self,k)
  98. local s = rawget(self,"_RealService")
  99. if s then
  100. return typeof(s[k])=="function"
  101. and function(_,...)return s[k](s,...)end or s[k]
  102. end
  103. end,
  104. __newindex = function(self,k,v)
  105. local s = rawget(self,"_RealService")
  106. if s then s[k]=v end
  107. end
  108. }
  109. local function FakeService(t,RealService)
  110. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  111. return setmetatable(t,fsmt)
  112. end
  113.  
  114. --Fake game object
  115. local g = {
  116. GetService = function(self,s)
  117. return rawget(self,s) or _rg:GetService(s)
  118. end,
  119. Players = FakeService({
  120. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  121. },"Players"),
  122. UserInputService = FakeService(UIS,"UserInputService"),
  123. ContextActionService = FakeService(CAS,"ContextActionService"),
  124. RunService = FakeService({
  125. _btrs = {},
  126. RenderStepped = _rg:GetService("RunService").Heartbeat,
  127. BindToRenderStep = function(self,name,_,fun)
  128. self._btrs[name] = self.Heartbeat:Connect(fun)
  129. end,
  130. UnbindFromRenderStep = function(self,name)
  131. self._btrs[name]:Disconnect()
  132. end,
  133. },"RunService")
  134. }
  135. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  136. g.service = g.GetService
  137. FakeService(g,game)
  138. --Changing owner to fake player object to support owner:GetMouse()
  139. game,owner = g,g.Players.LocalPlayer
  140. end
  141. Effects = { }
  142. local Player = game.Players.localPlayer
  143. local Character = Player.Character
  144. local Humanoid = Character.Humanoid
  145. local Mouse = Player:GetMouse()
  146. local LeftArm = Character["Left Arm"]
  147. local RightArm = Character["Right Arm"]
  148. local LeftLeg = Character["Left Leg"]
  149. local RightLeg = Character["Right Leg"]
  150. local Head = Character.Head
  151. local Torso = Character.Torso
  152. local Camera = game.Workspace.CurrentCamera
  153. local RootPart = Character.HumanoidRootPart
  154. local RootJoint = RootPart.RootJoint
  155. local attack = false
  156. local Anim = 'Idle'
  157. local attacktype = 1
  158. local delays = false
  159. local play = true
  160. local targetted = nil
  161. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  162. local velocity = RootPart.Velocity.y
  163. local sine = 0
  164. local change = 1
  165. local doe = 0
  166. local Create = LoadLibrary("RbxUtility").Create
  167. Humanoid.WalkSpeed = 8
  168. local m = Create("Model"){
  169. Parent = Character,
  170. Name = "WeaponModel",
  171. }
  172. local Orin = "rbxassetid://459924806"
  173. Head.face.Texture = Orin
  174. spawn(function()
  175. while wait() do
  176. Head.BrickColor = BrickColor.new("Bright yellow")
  177. RightArm.BrickColor = BrickColor.new("Bright yellow")
  178. LeftArm.BrickColor = BrickColor.new("Bright yellow")
  179. Torso.BrickColor = BrickColor.new("Bright blue")
  180. RightLeg.BrickColor = BrickColor.new("Br. yellowish green")
  181. LeftLeg.BrickColor = BrickColor.new("Br. yellowish green")
  182. end
  183. end)
  184. for i,v in pairs(Character:children()) do
  185. if v:IsA("Hat") then
  186. v:Destroy()
  187. end
  188. end
  189. for i,v in pairs(Character:children()) do
  190. if v:IsA("Accessory") then
  191. v:Destroy()
  192. end
  193. end
  194. for i,v in pairs(Character:children()) do
  195. if v:IsA("Hair") then
  196. v:Destroy()
  197. end
  198. end
  199. for i,v in pairs(Character:children()) do
  200. if v:IsA("Shirt") then
  201. v:Destroy()
  202. end
  203. end
  204. for i,v in pairs(Character:children()) do
  205. if v:IsA("Pants") then
  206. v:Destroy()
  207. end
  208. end
  209. for i,v in pairs(Character:children()) do
  210. if v:IsA("Graphic Shirt") then
  211. v:Destroy()
  212. end
  213. end
  214. Humanoid.Animator.Parent = nil
  215. Character.Animate.Parent = nil
  216.  
  217. local newMotor = function(part0, part1, c0, c1)
  218. local w = Create('Motor'){
  219. Parent = part0,
  220. Part0 = part0,
  221. Part1 = part1,
  222. C0 = c0,
  223. C1 = c1,
  224. }
  225. return w
  226. end
  227.  
  228. function clerp(a, b, t)
  229. return a:lerp(b, t)
  230. end
  231.  
  232. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  233. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  234.  
  235. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  236. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  237. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  238. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  239. RootJoint.C1 = CFrame.new(0, 0, 0)
  240. RootJoint.C0 = CFrame.new(0, 0, 0)
  241. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  242. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  243.  
  244. local rarmc1 = RW.C1
  245. local larmc1 = LW.C1
  246. local rlegc1 = RH.C1
  247. local llegc1 = LH.C1
  248.  
  249. local resetc1 = false
  250.  
  251. function PlayAnimationFromTable(table, speed, bool)
  252. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  253. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  254. RW.C0 = clerp(RW.C0, table[3], speed)
  255. LW.C0 = clerp(LW.C0, table[4], speed)
  256. RH.C0 = clerp(RH.C0, table[5], speed)
  257. LH.C0 = clerp(LH.C0, table[6], speed)
  258. if bool == true then
  259. if resetc1 == false then
  260. resetc1 = true
  261. RootJoint.C1 = RootJoint.C1
  262. Torso.Neck.C1 = Torso.Neck.C1
  263. RW.C1 = rarmc1
  264. LW.C1 = larmc1
  265. RH.C1 = rlegc1
  266. LH.C1 = llegc1
  267. end
  268. end
  269. end
  270.  
  271. ArtificialHB = Create("BindableEvent", script){
  272. Parent = script,
  273. Name = "Heartbeat",
  274. }
  275.  
  276. script:WaitForChild("Heartbeat")
  277.  
  278. frame = 1 / 30
  279. tf = 0
  280. allowframeloss = false
  281. tossremainder = false
  282. lastframe = tick()
  283. script.Heartbeat:Fire()
  284.  
  285. game:GetService("RunService").Heartbeat:connect(function(s, p)
  286. tf = tf + s
  287. if tf >= frame then
  288. if allowframeloss then
  289. script.Heartbeat:Fire()
  290. lastframe = tick()
  291. else
  292. for i = 1, math.floor(tf / frame) do
  293. script.Heartbeat:Fire()
  294. end
  295. lastframe = tick()
  296. end
  297. if tossremainder then
  298. tf = 0
  299. else
  300. tf = tf - frame * math.floor(tf / frame)
  301. end
  302. end
  303. end)
  304.  
  305. function swait(num)
  306. if num == 0 or num == nil then
  307. ArtificialHB.Event:wait()
  308. else
  309. for i = 0, num do
  310. ArtificialHB.Event:wait()
  311. end
  312. end
  313. end
  314.  
  315. function RemoveOutlines(part)
  316. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  317. end
  318.  
  319. CFuncs = {
  320. ["Part"] = {
  321. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  322. local Part = Create("Part"){
  323. Parent = Parent,
  324. Reflectance = Reflectance,
  325. Transparency = Transparency,
  326. CanCollide = false,
  327. Locked = true,
  328. BrickColor = BrickColor.new(tostring(BColor)),
  329. Name = Name,
  330. Size = Size,
  331. Material = Material,
  332. }
  333. RemoveOutlines(Part)
  334. return Part
  335. end;
  336. };
  337.  
  338. ["Mesh"] = {
  339. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  340. local Msh = Create(Mesh){
  341. Parent = Part,
  342. Offset = OffSet,
  343. Scale = Scale,
  344. }
  345. if Mesh == "SpecialMesh" then
  346. Msh.MeshType = MeshType
  347. Msh.MeshId = MeshId
  348. end
  349. return Msh
  350. end;
  351. };
  352.  
  353. ["Mesh"] = {
  354. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  355. local Msh = Create(Mesh){
  356. Parent = Part,
  357. Offset = OffSet,
  358. Scale = Scale,
  359. }
  360. if Mesh == "SpecialMesh" then
  361. Msh.MeshType = MeshType
  362. Msh.MeshId = MeshId
  363. end
  364. return Msh
  365. end;
  366. };
  367.  
  368. ["Weld"] = {
  369. Create = function(Parent, Part0, Part1, C0, C1)
  370. local Weld = Create("Weld"){
  371. Parent = Parent,
  372. Part0 = Part0,
  373. Part1 = Part1,
  374. C0 = C0,
  375. C1 = C1,
  376. }
  377. return Weld
  378. end;
  379. };
  380.  
  381. ["Sound"] = {
  382. Create = function(id, par, vol, pit)
  383. coroutine.resume(coroutine.create(function()
  384. local S = Create("Sound"){
  385. Volume = vol,
  386. Pitch = pit or 1,
  387. SoundId = id,
  388. Parent = par or workspace,
  389. }
  390. wait()
  391. S:play()
  392. game:GetService("Debris"):AddItem(S, 6)
  393. end))
  394. end;
  395. };
  396.  
  397. ["ParticleEmitter"] = {
  398. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  399. local fp = Create("ParticleEmitter"){
  400. Parent = Parent,
  401. Color = ColorSequence.new(Color1, Color2),
  402. LightEmission = LightEmission,
  403. Size = Size,
  404. Texture = Texture,
  405. Transparency = Transparency,
  406. ZOffset = ZOffset,
  407. Acceleration = Accel,
  408. Drag = Drag,
  409. LockedToPart = LockedToPart,
  410. VelocityInheritance = VelocityInheritance,
  411. EmissionDirection = EmissionDirection,
  412. Enabled = Enabled,
  413. Lifetime = LifeTime,
  414. Rate = Rate,
  415. Rotation = Rotation,
  416. RotSpeed = RotSpeed,
  417. Speed = Speed,
  418. VelocitySpread = VelocitySpread,
  419. }
  420. return fp
  421. end;
  422. };
  423.  
  424. CreateTemplate = {
  425.  
  426. };
  427. }
  428.  
  429.  
  430.  
  431. New = function(Object, Parent, Name, Data)
  432. local Object = Instance.new(Object)
  433. for Index, Value in pairs(Data or {}) do
  434. Object[Index] = Value
  435. end
  436. Object.Parent = Parent
  437. Object.Name = Name
  438. return Object
  439. end
  440.  
  441. 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,})
  442. moter = New("Weld",Handle,"mot",{Part0 = RightArm,Part1 = Handle,})
  443. 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,})
  444. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.24608025, 0.123040132),})
  445. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098838, 0.999853015, -0.000738022442, 1.18836761e-05, 0.000737924012, 1.00000048, 0.999851942, -0.0172098614, 1.52736902e-06),C1 = CFrame.new(0.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),})
  446. 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,})
  447. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.123040125, 1, 1),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.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),})
  449. 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,})
  450. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1.00999999, 1),})
  451. 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),})
  452. 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,})
  453. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.246080264, 1),})
  454. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.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),})
  455. 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,})
  456. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.492160618, 0.492160439),MeshType = Enum.MeshType.Cylinder,})
  457. 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),})
  458. 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,})
  459. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.246080235, 0.123040132),})
  460. 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),})
  461. 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,})
  462. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.7382406),})
  463. 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),})
  464. Partss = New("Part",m,"Part",{BrickColor = BrickColor.new("Yellow"),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),})
  465. Mesh = New("SpecialMesh",Partss,"Mesh",{Scale = Vector3.new(0.123040125, 1, 1),MeshType = Enum.MeshType.Cylinder,})
  466. 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),})
  467. 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,})
  468. 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,})
  469. 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),})
  470. 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),})
  471. 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),})
  472. 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,})
  473. 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),})
  474. 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,})
  475. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.492160618, 0.492160439),MeshType = Enum.MeshType.Cylinder,})
  476. 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),})
  477. 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,})
  478. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.24608025, 0.246080264, 0.615200639),MeshType = Enum.MeshType.Wedge,})
  479. 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),})
  480. 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,})
  481. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.861280859),MeshType = Enum.MeshType.Wedge,})
  482. 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),})
  483. 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,})
  484. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.24608025, 0.369120389, 0.861280918),MeshType = Enum.MeshType.Wedge,})
  485. 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),})
  486. 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,})
  487. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,})
  488. 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),})
  489. 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,})
  490. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,})
  491. 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),})
  492. 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,})
  493. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,})
  494. 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),})
  495. 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),})
  496. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.738240719),MeshType = Enum.MeshType.Wedge,})
  497. 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),})
  498. 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,})
  499. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.861280859),MeshType = Enum.MeshType.Wedge,})
  500. 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),})
  501. 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),})
  502. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.738240719),MeshType = Enum.MeshType.Wedge,})
  503. 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),})
  504.  
  505. for _,v in pairs(m:children()) do
  506. if v:IsA("Part") then
  507. v.CanCollide = false
  508. end
  509. end
  510. for _,v in pairs(m:children()) do
  511. if v:IsA("Part") then
  512. v.Material = "Neon"
  513. end
  514. end
  515. spawn(function()
  516. while wait() do
  517. for _,v in pairs(m:children()) do
  518. if v:IsA("Part") then
  519. v.BrickColor=BrickColor.random()
  520. end
  521. end
  522. end
  523. end)
  524.  
  525.  
  526. function rayCast(Position, Direction, Range, Ignore)
  527. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  528. end
  529.  
  530. --[[FindNearestTorso = function(pos)
  531. local list = (game.Workspace:children())
  532. local torso = nil
  533. local dist = 1000
  534. local temp, human, temp2 = nil, nil, nil
  535. for x = 1, #list do
  536. temp2 = list[x]
  537. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  538. temp = temp2:findFirstChild("Torso")
  539. human = temp2:findFirstChild("Humanoid")
  540. if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
  541. local dohit = true
  542. if dohit == true then
  543. torso = temp
  544. dist = (temp.Position - pos).magnitude
  545. end
  546. end
  547. end
  548. end
  549. return torso, dist
  550. end]]
  551. function FindNearestTorso(Position, Distance, SinglePlayer)
  552. if SinglePlayer then
  553. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  554. end
  555. local List = {}
  556. for i, v in pairs(workspace:GetChildren()) do
  557. if v:IsA("Model") then
  558. if v:findFirstChild("Torso") then
  559. if v ~= Character then
  560. if (v.Torso.Position - Position).magnitude <= Distance then
  561. table.insert(List, v)
  562. end
  563. end
  564. end
  565. end
  566. end
  567. return List
  568. end
  569. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  570. if hit.Parent == nil then
  571. return
  572. end
  573. local h = hit.Parent:FindFirstChild("Humanoid")
  574. for _, v in pairs(hit.Parent:children()) do
  575. if v:IsA("Humanoid") then
  576. h = v
  577. end
  578. end
  579. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  580. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  581. if hit.Parent.DebounceHit.Value == true then
  582. return
  583. end
  584. end
  585. local c = Create("ObjectValue"){
  586. Name = "creator",
  587. Value = game:service("Players").LocalPlayer,
  588. Parent = h,
  589. }
  590. game:GetService("Debris"):AddItem(c, .5)
  591. if HitSound ~= nil and HitPitch ~= nil then
  592. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  593. end
  594. local Damage = math.random(minim, maxim)
  595. local blocked = false
  596. local block = hit.Parent:findFirstChild("Block")
  597. if block ~= nil then
  598. if block.className == "IntValue" then
  599. if block.Value > 0 then
  600. blocked = true
  601. block.Value = block.Value - 1
  602. print(block.Value)
  603. end
  604. end
  605. end
  606. if blocked == false then
  607. h.Health = h.Health - Damage
  608. 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)
  609. else
  610. h.Health = h.Health - (Damage / 2)
  611. 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)
  612. end
  613. if Type == "Knockdown" then
  614. local hum = hit.Parent.Humanoid
  615. hum.PlatformStand = true
  616. coroutine.resume(coroutine.create(function(HHumanoid)
  617. swait(1)
  618. HHumanoid.PlatformStand = false
  619. end), hum)
  620. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  621. local bodvol = Create("BodyVelocity"){
  622. velocity = angle * knockback,
  623. P = 5000,
  624. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  625. Parent = hit,
  626. }
  627. local rl = Create("BodyAngularVelocity"){
  628. P = 3000,
  629. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  630. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  631. Parent = hit,
  632. }
  633. game:GetService("Debris"):AddItem(bodvol, .5)
  634. game:GetService("Debris"):AddItem(rl, .5)
  635. elseif Type == "Normal" then
  636. local vp = Create("BodyVelocity"){
  637. P = 500,
  638. maxForce = Vector3.new(math.huge, 0, math.huge),
  639. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  640. }
  641. if knockback > 0 then
  642. vp.Parent = hit.Parent.Torso
  643. end
  644. game:GetService("Debris"):AddItem(vp, .5)
  645. elseif Type == "Up" then
  646. local bodyVelocity = Create("BodyVelocity"){
  647. velocity = Vector3.new(0, 20, 0),
  648. P = 5000,
  649. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  650. Parent = hit,
  651. }
  652. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  653. elseif Type == "DarkUp" then
  654. coroutine.resume(coroutine.create(function()
  655. for i = 0, 1, 0.1 do
  656. swait()
  657. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  658. end
  659. end))
  660. local bodyVelocity = Create("BodyVelocity"){
  661. velocity = Vector3.new(0, 20, 0),
  662. P = 5000,
  663. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  664. Parent = hit,
  665. }
  666. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  667. elseif Type == "Snare" then
  668. local bp = Create("BodyPosition"){
  669. P = 2000,
  670. D = 100,
  671. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  672. position = hit.Parent.Torso.Position,
  673. Parent = hit.Parent.Torso,
  674. }
  675. game:GetService("Debris"):AddItem(bp, 1)
  676. elseif Type == "Freeze" then
  677. local BodPos = Create("BodyPosition"){
  678. P = 50000,
  679. D = 1000,
  680. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  681. position = hit.Parent.Torso.Position,
  682. Parent = hit.Parent.Torso,
  683. }
  684. local BodGy = Create("BodyGyro") {
  685. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  686. P = 20e+003,
  687. Parent = hit.Parent.Torso,
  688. cframe = hit.Parent.Torso.CFrame,
  689. }
  690. hit.Parent.Torso.Anchored = true
  691. coroutine.resume(coroutine.create(function(Part)
  692. swait(1.5)
  693. Part.Anchored = false
  694. end), hit.Parent.Torso)
  695. game:GetService("Debris"):AddItem(BodPos, 3)
  696. game:GetService("Debris"):AddItem(BodGy, 3)
  697. end
  698. local debounce = Create("BoolValue"){
  699. Name = "DebounceHit",
  700. Parent = hit.Parent,
  701. Value = true,
  702. }
  703. game:GetService("Debris"):AddItem(debounce, Delay)
  704. c = Create("ObjectValue"){
  705. Name = "creator",
  706. Value = Player,
  707. Parent = h,
  708. }
  709. game:GetService("Debris"):AddItem(c, .5)
  710. end
  711. end
  712.  
  713. function ShowDamage(Pos, Text, Time, Color)
  714. local Rate = (1 / 30)
  715. local Pos = (Pos or Vector3.new(0, 0, 0))
  716. local Text = (Text or "")
  717. local Time = (Time or 2)
  718. local Color = (Color or Color3.new(1, 0, 1))
  719. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  720. EffectPart.Anchored = true
  721. local BillboardGui = Create("BillboardGui"){
  722. Size = UDim2.new(3, 0, 3, 0),
  723. Adornee = EffectPart,
  724. Parent = EffectPart,
  725. }
  726. local TextLabel = Create("TextLabel"){
  727. BackgroundTransparency = 1,
  728. Size = UDim2.new(1, 0, 1, 0),
  729. Text = Text,
  730. Font = "SciFi",
  731. TextColor3 = Color,
  732. TextScaled = true,
  733. Parent = BillboardGui,
  734. }
  735. game.Debris:AddItem(EffectPart, (Time))
  736. EffectPart.Parent = game:GetService("Workspace")
  737. delay(0, function()
  738. local Frames = (Time / Rate)
  739. for Frame = 1, Frames do
  740. wait(Rate)
  741. local Percent = (Frame / Frames)
  742. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  743. TextLabel.TextTransparency = Percent
  744. end
  745. if EffectPart and EffectPart.Parent then
  746. EffectPart:Destroy()
  747. end
  748. end)
  749. end
  750.  
  751. function dmg(dude)
  752. if dude.Name ~= Character then
  753. dude.Humanoid.PlatformStand = true
  754. local bgf = Instance.new("BodyGyro",dude.Head)
  755. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  756. local val = Instance.new("BoolValue",dude)
  757. val.Name = "IsHit"
  758. for i = 1, 6 do
  759. local blo = Instance.new("Part",game.Workspace)
  760. blo.Size = Vector3.new(.6,.2,.6)
  761. blo.Material = "Neon"
  762. blo.BrickColor = BrickColor.new("Crimson")
  763. --blo.Position = dude.Head.Position
  764. blo.CFrame = dude.Head.CFrame
  765. game:GetService("Debris"):AddItem(blo,30)
  766. end
  767. local ds = coroutine.wrap(function()
  768. wait(.2)
  769. dude.Torso:BreakJoints()
  770. end)
  771. ds()
  772. end
  773. end
  774.  
  775. function mdmg(Part, Magnitude)--, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  776. --local buddy
  777. for _, c in pairs(workspace:children()) do
  778. local hum = c:findFirstChild("Humanoid")
  779. if hum ~= nil then
  780. local head = c:findFirstChild("Torso")
  781. if head ~= nil then
  782. local targ = head.Position - Part.Position
  783. local mag = targ.magnitude
  784. if mag <= Magnitude and c.Name ~= Player.Name then
  785. if c.Name ~= Character then
  786. if c.Name ~= "CKbackup" then
  787. local asd = Instance.new("ParticleEmitter",c.Torso)
  788. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  789. asd.LightEmission = .1
  790. asd.Size = NumberSequence.new(0.2)
  791. asd.Texture = "http://www.roblox.com/asset/?ID=183711814"
  792. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  793. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  794. asd.Transparency = bbb
  795. asd.Size = aaa
  796. asd.ZOffset = .9
  797. asd.Acceleration = Vector3.new(0, -5, 0)
  798. asd.LockedToPart = false
  799. asd.EmissionDirection = "Back"
  800. asd.Lifetime = NumberRange.new(1, 2)
  801. asd.Rate = 1000
  802. asd.Rotation = NumberRange.new(-100, 100)
  803. asd.RotSpeed = NumberRange.new(-100, 100)
  804. asd.Speed = NumberRange.new(6)
  805. asd.VelocitySpread = 10000
  806. asd.Enabled=true
  807. --Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  808. dmg(c)
  809. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=836454385", c.Torso, 1.2, 1)
  810. coroutine.wrap(function()
  811. wait(.2)
  812. asd.Enabled = false
  813. wait(2)
  814. asd:Remove()
  815. end)()
  816. else
  817. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=836454385", c.Torso, 1.5, 1)
  818. Effects.Sphere.Create(BrickColor.random(), c.Torso.CFrame, 30, 30, 30, .5, .5, .5, 0.04)
  819.  
  820. end
  821. end
  822. end
  823. end
  824. end
  825. end
  826. end
  827. EffectModel = Create("Model"){
  828. Parent = Character,
  829. Name = "Effects",
  830. }
  831.  
  832. Effects = {
  833. Block = {
  834. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  835. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  836. prt.Anchored = true
  837. prt.CFrame = cframe
  838. prt.Material = "Neon"
  839. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  840. game:GetService("Debris"):AddItem(prt, 10)
  841. if Type == 1 or Type == nil then
  842. table.insert(Effects, {
  843. prt,
  844. "Block1",
  845. delay,
  846. x3,
  847. y3,
  848. z3,
  849. msh
  850. })
  851. elseif Type == 2 then
  852. table.insert(Effects, {
  853. prt,
  854. "Block2",
  855. delay,
  856. x3,
  857. y3,
  858. z3,
  859. msh
  860. })
  861. end
  862. end;
  863. };
  864.  
  865. Cylinder = {
  866. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  867. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  868. prt.Anchored = true
  869. prt.Material = "Neon"
  870. prt.CFrame = cframe
  871. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  872. game:GetService("Debris"):AddItem(prt, 10)
  873. table.insert(Effects, {
  874. prt,
  875. "Cylinder",
  876. delay,
  877. x3,
  878. y3,
  879. z3,
  880. msh
  881. })
  882. end;
  883. };
  884. Head = {
  885. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  886. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  887. prt.Anchored = true
  888. prt.Material = "Neon"
  889. prt.CFrame = cframe
  890. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  891. game:GetService("Debris"):AddItem(prt, 10)
  892. table.insert(Effects, {
  893. prt,
  894. "Cylinder",
  895. delay,
  896. x3,
  897. y3,
  898. z3,
  899. msh
  900. })
  901. end;
  902. };
  903.  
  904. Sphere = {
  905. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  906. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  907. prt.Anchored = true
  908. prt.Material = "Neon"
  909. prt.CFrame = cframe
  910. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  911. game:GetService("Debris"):AddItem(prt, 10)
  912. table.insert(Effects, {
  913. prt,
  914. "Cylinder",
  915. delay,
  916. x3,
  917. y3,
  918. z3,
  919. msh
  920. })
  921. end;
  922. };
  923.  
  924. Elect = {
  925. Create = function(cff, x, y, z)
  926. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
  927. prt.Anchored = true
  928. prt.Material = "Neon"
  929. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  930. prt.CFrame = CFrame.new(prt.Position)
  931. game:GetService("Debris"):AddItem(prt, 2)
  932. local xval = math.random() / 2
  933. local yval = math.random() / 2
  934. local zval = math.random() / 2
  935. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  936. table.insert(Effects, {
  937. prt,
  938. "Elec",
  939. 0.1,
  940. x,
  941. y,
  942. z,
  943. xval,
  944. yval,
  945. zval
  946. })
  947. end;
  948.  
  949. };
  950.  
  951. Ring = {
  952. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  953. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  954. prt.Anchored = true
  955. prt.CFrame = cframe
  956. prt.Material = "Neon"
  957. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  958. game:GetService("Debris"):AddItem(prt, 10)
  959. table.insert(Effects, {
  960. prt,
  961. "Cylinder",
  962. delay,
  963. x3,
  964. y3,
  965. z3,
  966. msh
  967. })
  968. end;
  969. };
  970.  
  971.  
  972. Wave = {
  973. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  974. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  975. prt.Anchored = true
  976. prt.CFrame = cframe
  977. prt.Material = "Neon"
  978. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  979. game:GetService("Debris"):AddItem(prt, 10)
  980. table.insert(Effects, {
  981. prt,
  982. "Cylinder",
  983. delay,
  984. x3,
  985. y3,
  986. z3,
  987. msh
  988. })
  989. end;
  990. };
  991.  
  992. Break = {
  993. Create = function(brickcolor, cframe, x1, y1, z1)
  994. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  995. prt.Anchored = true
  996. prt.Material = "Neon"
  997. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  998. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  999. local num = math.random(10, 50) / 1000
  1000. game:GetService("Debris"):AddItem(prt, 10)
  1001. table.insert(Effects, {
  1002. prt,
  1003. "Shatter",
  1004. num,
  1005. prt.CFrame,
  1006. math.random() - math.random(),
  1007. 0,
  1008. math.random(50, 100) / 100
  1009. })
  1010. end;
  1011. };
  1012.  
  1013. Fire = {
  1014. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  1015. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1016. prt.Anchored = true
  1017. prt.Material = "Neon"
  1018. prt.CFrame = cframe
  1019. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1020. game:GetService("Debris"):AddItem(prt, 10)
  1021. table.insert(Effects, {
  1022. prt,
  1023. "Fire",
  1024. delay,
  1025. 1,
  1026. 1,
  1027. 1,
  1028. msh
  1029. })
  1030. end;
  1031. };
  1032.  
  1033. FireWave = {
  1034. Create = function(brickcolor, cframe, x1, y1, z1)
  1035. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  1036. prt.Anchored = true
  1037. prt.CFrame = cframe
  1038. prt.Material = "Neon"
  1039. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1040. local d = Create("Decal"){
  1041. Parent = prt,
  1042. Texture = "rbxassetid://26356434",
  1043. Face = "Top",
  1044. }
  1045. local d = Create("Decal"){
  1046. Parent = prt,
  1047. Texture = "rbxassetid://26356434",
  1048. Face = "Bottom",
  1049. }
  1050. game:GetService("Debris"):AddItem(prt, 10)
  1051. table.insert(Effects, {
  1052. prt,
  1053. "FireWave",
  1054. 1,
  1055. 30,
  1056. math.random(400, 600) / 100,
  1057. msh
  1058. })
  1059. end;
  1060. };
  1061.  
  1062. Lightning = {
  1063. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  1064. local magz = (p0 - p1).magnitude
  1065. local curpos = p0
  1066. local trz = {
  1067. -ofs,
  1068. ofs
  1069. }
  1070. for i = 1, tym do
  1071. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  1072. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  1073. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  1074. li.Material = "Neon"
  1075. if tym == i then
  1076. local magz2 = (curpos - p1).magnitude
  1077. li.Size = Vector3.new(th, th, magz2)
  1078. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  1079. table.insert(Effects, {
  1080. li,
  1081. "Disappear",
  1082. last
  1083. })
  1084. else
  1085. do
  1086. do
  1087. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  1088. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  1089. game.Debris:AddItem(li, 10)
  1090. table.insert(Effects, {
  1091. li,
  1092. "Disappear",
  1093. last
  1094. })
  1095. end
  1096. end
  1097. end
  1098. end
  1099. end
  1100. };
  1101.  
  1102. EffectTemplate = {
  1103.  
  1104. };
  1105. }
  1106.  
  1107. function chatfunc(text)
  1108. local chat = coroutine.wrap(function()
  1109. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1110. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1111. end
  1112. local naeeym2 = Instance.new("BillboardGui",Character)
  1113. naeeym2.Size = UDim2.new(0,100,0,40)
  1114. naeeym2.StudsOffset = Vector3.new(0,3,0)
  1115. naeeym2.Adornee = Character.Head
  1116. naeeym2.Name = "TalkingBillBoard"
  1117. local tecks2 = Instance.new("TextLabel",naeeym2)
  1118. tecks2.BackgroundTransparency = 1
  1119. tecks2.BorderSizePixel = 0
  1120. tecks2.Text = ""
  1121. tecks2.Font = "Cartoon"
  1122. tecks2.TextSize = 30
  1123. tecks2.TextStrokeTransparency = 0
  1124. tecks2.TextColor3 = Color3.new(.6,0,0)
  1125. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  1126. tecks2.Size = UDim2.new(1,0,0.5,0)
  1127. local tecks3 = Instance.new("TextLabel",naeeym2)
  1128. tecks3.BackgroundTransparency = 1
  1129. tecks3.BorderSizePixel = 0
  1130. tecks3.Text = ""
  1131. tecks3.Font = "Cartoon"
  1132. tecks3.TextSize = 30
  1133. tecks3.TextStrokeTransparency = 0
  1134. tecks3.TextColor3 = BrickColor.new("Hot white").Color
  1135. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  1136. tecks3.Size = UDim2.new(1,0,0.5,0)
  1137. spawn(function()
  1138. while wait() do
  1139. tecks3.TextColor3 = BrickColor.random().Color
  1140. tecks2.TextColor3 = BrickColor.random().Color
  1141. end
  1142. end)
  1143. for i = 1,string.len(text),1 do
  1144. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=178104975", Character, 1, 1)
  1145. tecks2.Text = string.sub(text,1,i)
  1146. tecks3.Text = string.sub(text,1,i)
  1147. wait(0.01)
  1148. end
  1149. wait(2)
  1150. for i = 1, 50 do
  1151. swait()
  1152. tecks2.Position = tecks2.Position - UDim2.new(math.random(-1,1),math.random(-5,5),.05,math.random(-5,5))
  1153. tecks2.Rotation = tecks2.Rotation - .8
  1154. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  1155. tecks2.TextTransparency = tecks2.TextTransparency + .04
  1156. tecks3.Position = tecks2.Position - UDim2.new(math.random(-1,1),math.random(-5,5),.05,math.random(-5,5))
  1157. tecks3.Rotation = tecks2.Rotation + .8
  1158. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  1159. tecks3.TextTransparency = tecks2.TextTransparency + .04
  1160. end
  1161. naeeym2:Destroy()
  1162. end)
  1163. chat()
  1164. end
  1165. function onChatted(msg)
  1166. chatfunc(msg)
  1167. end
  1168. Player.Chatted:connect(onChatted)
  1169.  
  1170. abss = Instance.new("BillboardGui",Character)
  1171. abss.Size = UDim2.new(10,0,10,0)
  1172. abss.Enabled = false
  1173. imgl = Instance.new("ImageLabel",abss)
  1174. imgl.Position = UDim2.new(0,0,0,0)
  1175. imgl.Size = UDim2.new(1,0,1,0)
  1176. imgl.Image = "rbxassetid://183711814"
  1177. imgl.BackgroundTransparency = 1
  1178. imgl.ImageColor3 = Color3.new(.9,0,0)
  1179. img2 = Instance.new("ImageLabel",abss)
  1180. img2.Position = UDim2.new(0,0,0,0)
  1181. img2.Size = UDim2.new(1,0,1,0)
  1182. img2.Image = "rbxassetid://183711814"
  1183. img2.BackgroundTransparency = 1
  1184. img2.ImageColor3 = Color3.new(.9,0,0)
  1185. spawn(function()
  1186. while wait() do
  1187. imgl.ImageColor3 = BrickColor.random().Color
  1188. img2.ImageColor3 = BrickColor.random().Color
  1189. end
  1190. end)
  1191.  
  1192. spawn(function()
  1193. chatfunc("Noobcider By Skrubl0rdzI")
  1194. wait(3)
  1195. chatfunc("Modified Date : 06/16/2017")
  1196. wait(3)
  1197. chatfunc("Original Script : Genocider")
  1198. wait(3)
  1199. chatfunc("Have Fun!1!!")
  1200. end)
  1201.  
  1202. spawn(function()
  1203. while wait(1) do
  1204. Effects.Sphere.Create(BrickColor.random(), RootPart.CFrame, 40,40,40, 1, 1, 1, 0.07)
  1205. end
  1206. end)
  1207. function attackone()
  1208. attack = true
  1209. Humanoid.WalkSpeed = 0
  1210. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=138080313", Character, 1, .5)
  1211. if targetted.Name ~= "Skrubl0rdzI" then
  1212. local partasdeff = Instance.new("ParticleEmitter",targetted.Torso)
  1213. partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1214. partasdeff.LightEmission = .1
  1215. partasdeff.Size = NumberSequence.new(0.2)
  1216. partasdeff.Texture = "http://www.roblox.com/asset/?ID=183711814"
  1217. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1218. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1219. partasdeff.Transparency = bbb
  1220. partasdeff.Size = aaa
  1221. partasdeff.ZOffset = .9
  1222. partasdeff.Acceleration = Vector3.new(0, -5, 0)
  1223. partasdeff.LockedToPart = false
  1224. partasdeff.EmissionDirection = "Back"
  1225. partasdeff.Lifetime = NumberRange.new(1, 2)
  1226. partasdeff.Rate = 1000
  1227. partasdeff.Rotation = NumberRange.new(-100, 100)
  1228. partasdeff.RotSpeed = NumberRange.new(-100, 100)
  1229. partasdeff.Speed = NumberRange.new(6)
  1230. partasdeff.VelocitySpread = 10000
  1231. partasdeff.Enabled=false
  1232. for i = 0, 3, 0.1 do
  1233. swait()
  1234. PlayAnimationFromTable({
  1235. 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),
  1236. 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),
  1237. 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),
  1238. 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),
  1239. 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),
  1240. 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),
  1241. }, .1, false)
  1242. 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)
  1243. end
  1244. Effects.Block.Create(BrickColor.random(), Partss.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05)
  1245. Effects.Block.Create(BrickColor.random(), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05)
  1246. dmg(targetted)
  1247. local ex = Instance.new("Explosion",workspace)
  1248. ex.Position = Partss.Position
  1249. ex.BlastRadius = 0
  1250. partasdeff.Enabled=true
  1251. for i = 0, 1, 0.1 do
  1252. swait()
  1253. PlayAnimationFromTable({
  1254. 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),
  1255. 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),
  1256. 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),
  1257. 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),
  1258. 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),
  1259. 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),
  1260. }, .3, false)
  1261. 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)
  1262. end
  1263. partasdeff.Enabled=false
  1264. for i = 0, 2, 0.1 do
  1265. swait()
  1266. PlayAnimationFromTable({
  1267. 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),
  1268. 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),
  1269. 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),
  1270. 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),
  1271. 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),
  1272. 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),
  1273. }, .3, false)
  1274. 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)
  1275. end
  1276. coroutine.wrap(function()
  1277. wait(2)
  1278. partasdeff:Remove()
  1279. end)()
  1280. else
  1281. sel = math.random(1,3)
  1282. if sel == 1 then
  1283. chatfunc("...")
  1284. elseif sel == 2 then
  1285. chatfunc("No...")
  1286. elseif sel == 3 then
  1287. chatfunc("I can't do that...")
  1288. end
  1289. for i = 0, 5, 0.1 do
  1290. swait()
  1291. PlayAnimationFromTable({
  1292. CFrame.new(0, 0, 0, 0.999999881, 5.04870979e-29, -4.21790838e-43, 5.04870979e-29, 1, -5.04870979e-29, -4.21790838e-43, -5.04870979e-29, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1293. CFrame.new(-0.055980958, 1.49253583, -0.318915963, 0.999889553, 0.0107171191, -0.0102898544, -0.00218299939, 0.791040659, 0.611759722, 0.0146959936, -0.61166966, 0.790976703) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0- .4 * math.cos((sine) / 5), 0),
  1294. CFrame.new(1.54004693, 0.0494250022, 1.90734852e-06, 0.997847795, -0.0655719861, 0, 0.0655719936, 0.997847855, 7.53468894e-22, -4.94064563e-23, -7.51847299e-22, 0.99999994) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1295. CFrame.new(-1.51232088, 0.0410207808, -3.73942044e-06, 0.998558879, 0.053665854, -2.33806347e-07, -0.0536658242, 0.998558939, -1.04548817e-05, -3.27600219e-07, 1.04523697e-05, 0.99999994) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1296. CFrame.new(0.540300906, -1.99793804, -2.11055158e-06, 0.998698354, -0.0510031469, 6.26438805e-07, 0.0510031544, 0.998698473, -1.04335422e-05, -9.34800966e-08, 1.04519122e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1297. CFrame.new(-0.539562821, -1.99794102, -5.75710146e-09, 0.998630941, 0.0523070693, -1.67712614e-07, -0.0523070768, 0.99863106, -1.0458818e-05, -3.79587107e-07, 1.04532719e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1298. }, .3, false)
  1299. moter.C0 = clerp(moter.C0, CFrame.new(0.0111967381, -1.6377008, -0.318754196, -0.0172117949, 0, -0.999851942, 0.999851942, 0, -0.0172117949, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1300. end
  1301. end
  1302. Humanoid.WalkSpeed = 8
  1303. attack = false
  1304. end
  1305. local Grabbed = false
  1306.  
  1307. function shoot()
  1308. attack = true
  1309. for i = 0, 3, 0.1 do
  1310. swait()
  1311. PlayAnimationFromTable({
  1312. 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),
  1313. 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),
  1314. 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),
  1315. 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),
  1316. 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),
  1317. 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),
  1318. }, .1, false)
  1319. 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)
  1320. end
  1321. for i = 1,10 do
  1322. Effects.Block.Create(BrickColor.random(), Partss.CFrame, 11,11,11, -1,-1,-1, 0.07)
  1323. wait(0.01)
  1324. end
  1325. wait(0.5)
  1326. local ref1 = New("Part",m,"ref",{Transparency = 1,Size = Vector3.new(.2,.2,.2),CFrame = Mouse.Hit,Anchored = true,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,})
  1327. local fc = Instance.new("Explosion",workspace) fc.Position = ref1.Position
  1328. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=141679994", Character, 1.5, 1)
  1329. for i = 1,10 do
  1330. Effects.Block.Create(BrickColor.random(), ref1.CFrame, 33,33,33, 9,9,9, 0.07)
  1331. end
  1332. wait(0.75)
  1333. ref1:Destroy()
  1334. attack = false
  1335. end
  1336.  
  1337. function hedshoot()
  1338. attack = true
  1339.  
  1340. --local GGyro = Instance.new("BodyPosition")
  1341. local grab = nil
  1342. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 10)) do
  1343. if v:FindFirstChild('Torso') then
  1344. Grabbed = true
  1345. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=160718677", v.Torso, 1, .8)
  1346. grab = v
  1347. end
  1348. end
  1349. spawn(function()
  1350. for i = 1,10 do
  1351. Effects.Wave.Create(BrickColor.random(), RootPart.CFrame * CFrame.Angles(0,math.rad(90),math.rad(90)), .5, .5, .5, 1, .2, 1, 0.07)
  1352. wait(0.03)
  1353. end
  1354. end)
  1355. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=721590903", RootPart, 0, .5)
  1356. for i = 0, 1, 0.1 do
  1357. swait()
  1358. if Grabbed == true then
  1359. grab.Humanoid.PlatformStand = true
  1360. --GGyro.position = Partss.Position
  1361. --GGyro.Parent = grab.Head
  1362. grab.Torso.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(-90),0)
  1363. end
  1364. PlayAnimationFromTable({
  1365. 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),
  1366. 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),
  1367. 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),
  1368. 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),
  1369. 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),
  1370. 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),
  1371. }, .3, false)
  1372. RootPart.Velocity = RootPart.CFrame.lookVector * 90
  1373. 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)
  1374. end
  1375. if Grabbed == true then
  1376. Humanoid.WalkSpeed = 0
  1377. for i = 0, 2, 0.1 do
  1378. swait()
  1379. if Grabbed == true then
  1380. grab.Humanoid.PlatformStand = true
  1381. --GGyro.position = Partss.Position
  1382. --GGyro.Parent = grab.Head
  1383. grab.Torso.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(-90),0)
  1384. end
  1385. PlayAnimationFromTable({
  1386. 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),
  1387. 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),
  1388. 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),
  1389. 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),
  1390. 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),
  1391. 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),
  1392. }, .3, false)
  1393. 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)
  1394. end
  1395. if grab.Name ~= "CKbackup" then
  1396. local partasdeff = Instance.new("ParticleEmitter",grab.Torso)
  1397. partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1398. partasdeff.LightEmission = .1
  1399. partasdeff.Size = NumberSequence.new(0.2)
  1400. partasdeff.Texture = "http://www.roblox.com/asset/?ID=183711814"
  1401. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1402. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1403. partasdeff.Transparency = bbb
  1404. partasdeff.Size = aaa
  1405. partasdeff.ZOffset = .9
  1406. partasdeff.Acceleration = Vector3.new(0, -5, 0)
  1407. partasdeff.LockedToPart = false
  1408. partasdeff.EmissionDirection = "Back"
  1409. partasdeff.Lifetime = NumberRange.new(1, 2)
  1410. partasdeff.Rate = 1000
  1411. partasdeff.Rotation = NumberRange.new(-100, 100)
  1412. partasdeff.RotSpeed = NumberRange.new(-100, 100)
  1413. partasdeff.Speed = NumberRange.new(10)
  1414. partasdeff.VelocitySpread = 20
  1415. partasdeff.Enabled=false
  1416. sel = math.random(1,3)
  1417. if sel == 1 then
  1418. chatfunc("im teting sori")
  1419. end
  1420. for i = 0, 2, 0.1 do
  1421. swait()
  1422. if Grabbed == true then
  1423. grab.Humanoid.PlatformStand = true
  1424. --GGyro.position = Partss.Position
  1425. --GGyro.Parent = grab.Head
  1426. grab.Torso.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(-90),0)
  1427. end
  1428. PlayAnimationFromTable({
  1429. 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),
  1430. 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),
  1431. 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),
  1432. 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),
  1433. 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),
  1434. 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),
  1435. }, .1, false)
  1436. 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)
  1437. end
  1438. Effects.Block.Create(BrickColor.random(), Partss.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05)
  1439. Effects.Block.Create(BrickColor.random(), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05)
  1440. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=836454385", Character, 1, .5)
  1441. dmg(grab)
  1442. grab.Head.Velocity = grab.Head.CFrame.lookVector * -60
  1443. partasdeff.Enabled=true
  1444. for i = 0, 1, 0.1 do
  1445. swait()
  1446. PlayAnimationFromTable({
  1447. 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),
  1448. 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),
  1449. 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),
  1450. 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),
  1451. 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),
  1452. 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),
  1453. }, .3, false)
  1454. 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)
  1455. end
  1456. partasdeff.Enabled=false
  1457. for i = 0, 2.5, 0.1 do
  1458. swait()
  1459. PlayAnimationFromTable({
  1460. 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),
  1461. 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),
  1462. 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),
  1463. 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),
  1464. 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),
  1465. 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),
  1466. }, .2, false)
  1467. 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)
  1468. end
  1469. coroutine.wrap(function()
  1470. wait(2)
  1471. partasdeff:Remove()
  1472. end)()
  1473. else
  1474. grab.Humanoid.PlatformStand = false
  1475. for i = 0, 3, 0.1 do
  1476. swait()
  1477. PlayAnimationFromTable({
  1478. CFrame.new(0.104280457, -1.46030498e-22, -0.179343686, 0.249860913, 5.18448626e-22, 0.968281686, -5.82335151e-22, 1, -5.29395592e-22, -0.968281686, -3.70576914e-22, 0.249860913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1479. CFrame.new(0.00671941042, 1.48144531, -0.121562012, 0.0679168552, 0.388981611, -0.918738663, 0.158512011, 0.904961228, 0.394866198, 0.985018492, -0.172449201, -0.000196114182) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1480. CFrame.new(1.5714488, -0.100437641, -0.219321564, 0.297819793, -0.653239965, -0.696118593, -0.0311920028, 0.722160041, -0.691022456, 0.954112411, 0.227513462, 0.194697708) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1481. CFrame.new(-1.5814501, 0.177012652, 5.41775626e-06, 0.939689815, 0.342028022, -2.68220901e-06, -0.342027992, 0.939689755, -6.1805149e-06, 4.17232513e-07, 6.72787428e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1482. CFrame.new(0.569012046, -1.89856982, -0.00933695585, 0.266445845, -0.0764764398, -0.960811257, 0.0135949478, 0.997046292, -0.075590536, 0.963754177, 0.00707861409, 0.266698539) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1483. CFrame.new(-0.849534154, -2.01595497, 0.241721377, 0.948572636, 0.308689058, 0.070150286, -0.312330276, 0.948733151, 0.0485308319, -0.0515729487, -0.067945078, 0.996355295) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1484. }, .1, false)
  1485. moter.C0 = clerp(moter.C0, CFrame.new(0.0111981034, -1.63767779, -0.318741798, -0.0172085222, -1.4077872e-05, -0.999851882, 0.999851942, 7.4505806e-06, -0.0172085222, 7.68899918e-06, -1.00000012, 1.39512122e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1486. end
  1487. sel = math.random(1,3)
  1488. if sel == 1 then
  1489. chatfunc("im testing sori!")
  1490. end
  1491. for i = 0, 5, 0.1 do
  1492. swait()
  1493. PlayAnimationFromTable({
  1494. CFrame.new(0, 0, 0, 0.999999881, 5.04870979e-29, -4.21790838e-43, 5.04870979e-29, 1, -5.04870979e-29, -4.21790838e-43, -5.04870979e-29, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1495. CFrame.new(-0.0399715528, 1.42130852, -0.217550665, 0.985933542, -0.136098281, -0.097015582, 0.166522697, 0.849608123, 0.500436008, 0.0143167432, -0.509551942, 0.860320628) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0- .4 * math.cos((sine) / 5), 0),
  1496. CFrame.new(1.57258642, 0.0433240086, 3.83948304e-08, 0.990993857, -0.133906633, -2.60571618e-08, 0.133906662, 0.990993977, 5.96046341e-08, 1.78410318e-08, -6.25570422e-08, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1497. CFrame.new(-0.693957031, 0.999676406, -0.811627388, 0.817211449, -0.569911301, -0.0858340934, -0.499626935, -0.626295447, -0.598442137, 0.287295371, 0.531934083, -0.796558976) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1498. CFrame.new(0.540301144, -1.99792778, 1.70425119e-06, 0.998698354, -0.0510031469, 6.26438805e-07, 0.0510031544, 0.998698473, -1.04335422e-05, -9.34800966e-08, 1.04519122e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1499. CFrame.new(-0.539563119, -1.99793291, 1.9016752e-06, 0.998630941, 0.0523070693, -1.67712614e-07, -0.0523070768, 0.99863106, -1.0458818e-05, -3.79587107e-07, 1.04532719e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1500. }, .3, false)
  1501. moter.C0 = clerp(moter.C0, CFrame.new(0.0111991819, -1.63769639, -0.318748534, -0.0172109455, -5.96046448e-08, -0.999852002, 0.999852061, -1.19209318e-07, -0.0172108412, 5.96046519e-08, -0.99999994, -1.19209275e-07) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1502. end
  1503. end
  1504. end
  1505. --GGyro.Parent = nil
  1506. attack = false
  1507. Grabbed = false
  1508. Humanoid.WalkSpeed = 20
  1509.  
  1510. end
  1511. function moarblood()
  1512. attack = true
  1513. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=160718677", Character, 1, .8)
  1514. RootPart.CFrame = targetted.Torso.CFrame * CFrame.new(0,0,4)
  1515. local k = New("Part",LeftArm,"k",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.200000003, 0.221472204, 0.221472189),CFrame = CFrame.new(4.93319941, -1.31948221, -45.7696877, 0.141969427, -5.55023435e-05, -0.989871144, 0.989874005, 1.80069164e-05, 0.141970903, 1.06166653e-05, -1.00000143, 5.59078326e-05),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),})
  1516. mot = New("Weld",k,"mot",{Part0 = k,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0.141969457, 0.989873946, 1.06166663e-05, -5.55023507e-05, 1.80069164e-05, -1.00000167, -0.989871264, 0.141970903, 5.59078399e-05),C1 = CFrame.new(6.67572021e-06, -1.40000057, -3.81469727e-06, 0.989870846, -0.14197053, -1.2531201e-06, 0.141970515, 0.989870906, 1.03843358e-05, -2.33842215e-07, -1.04570581e-05, 0.99999994),})
  1517. wait(.5)
  1518. for i = 0, 1.2, 0.1 do
  1519. swait()
  1520. PlayAnimationFromTable({
  1521. CFrame.new(0.0246932413, -0.0966757834, -0.0092370566, 0.713696778, 5.59592329e-22, 0.700454772, -9.27150216e-22, 1, 1.45779223e-22, -0.700454772, -7.53468894e-22, 0.713696778) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1522. CFrame.new(0.098094359, 1.53651738, -0.281765848, 0.593379974, 0.280785412, -0.754360616, -0.0276839901, 0.943748772, 0.329502523, 0.804446399, -0.174636483, 0.567774832) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1523. CFrame.new(1.58677018, 0.143787161, 0.0495693758, 0.968102753, -0.250522822, -0.00394502282, 0.250228018, 0.965921044, 0.0662006512, -0.0127741396, -0.0650762022, 0.997798622) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1524. CFrame.new(-1.74332106, 0.446618229, -0.859300971, 0.795205951, 0.606264353, -0.0095520094, -0.0538869984, 0.0549720451, -0.997032762, -0.603940368, 0.793361068, 0.0763838589) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1525. CFrame.new(0.648194611, -1.97843742, -0.088139981, 0.954304218, -0.129303336, -0.269414723, 0.107585981, 0.989748061, -0.0939367935, 0.278798997, 0.0606590137, 0.958431959) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1526. CFrame.new(-0.671899676, -2.02211809, 0.00866907835, 0.94230175, 0.108399026, -0.316728801, -0.108764999, 0.993929207, 0.0165804606, 0.316603303, 0.0188252106, 0.948371291) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1527. }, .2, false)
  1528. moter.C0 = clerp(moter.C0, CFrame.new(0.0111978557, -1.63769853, -0.318748116, -0.0172083378, 3.06963921e-06, -0.999852002, 0.999851942, -2.01165676e-07, -0.0172083378, -2.4586916e-07, -1, -3.09944153e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1529. end
  1530. if targetted.Name ~= "CKbackup" then
  1531. local grab = nil
  1532. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 7)) do
  1533. if v:FindFirstChild('Head') then
  1534. Grabbed = true
  1535. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=160718677", v.Head, 1, .8)
  1536. grab = v
  1537. end
  1538. end
  1539. Humanoid.WalkSpeed = 0
  1540. for i = 0, 2, 0.1 do
  1541. swait()
  1542. if Grabbed == true then
  1543. grab.Humanoid.PlatformStand = true
  1544. --GGyro.position = Partss.Position
  1545. --GGyro.Parent = grab.Head
  1546. grab.Head.CFrame = k.CFrame * CFrame.Angles(0,math.rad(-90),0)
  1547. end
  1548. PlayAnimationFromTable({
  1549. CFrame.new(-0.203895777, -0.0966757089, 0.221102715, 0.860356927, 5.59592329e-22, -0.509691954, -9.74120787e-23, 1, 9.33471908e-22, 0.509691954, -7.53468894e-22, 0.860356927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1550. CFrame.new(-0.0263810754, 1.49789393, -0.36129567, 0.83927381, -0.177804202, 0.513814509, -0.0293880031, 0.928800881, 0.369412124, -0.542914331, -0.325137854, 0.774292946) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1551. CFrame.new(1.70567894, 0.192227185, 0.324310064, 0.910149336, -0.402004361, -0.100104719, 0.41140601, 0.848634601, 0.332512379, -0.0487190783, -0.343819588, 0.937771142) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1552. CFrame.new(-0.925376594, 0.275374949, -0.912649989, 0.847262561, -0.507846355, 0.155686736, 0.278232396, 0.17463918, -0.944503605, 0.452473402, 0.84355998, 0.289265245) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1553. CFrame.new(0.648186982, -1.97843516, -0.0881449506, 0.954305232, -0.129303262, -0.269411147, 0.107586049, 0.989748061, -0.0939371213, 0.278795511, 0.0606598109, 0.958432913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1554. CFrame.new(-0.671897829, -2.02211738, 0.00865991414, 0.942302644, 0.108399101, -0.316726208, -0.108764961, 0.993929207, 0.0165806562, 0.31660068, 0.0188247077, 0.948372126) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1555. }, .25, false)
  1556. moter.C0 = clerp(moter.C0, CFrame.new(0.0111928731, -1.63769662, -0.318741947, -0.0172089636, 8.2552433e-06, -0.999852061, 0.999852061, 7.4505806e-07, -0.0172089189, 5.66244125e-07, -1.00000012, -8.2552433e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1557. end
  1558. if Grabbed == true then
  1559. sel = math.random(1,3)
  1560. if sel == 1 then
  1561. chatfunc("im testing sori")
  1562. end
  1563. local partasdeff = Instance.new("ParticleEmitter",targetted.Head)
  1564. partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1565. partasdeff.LightEmission = .1
  1566. partasdeff.Size = NumberSequence.new(0.2)
  1567. partasdeff.Texture = "http://www.roblox.com/asset/?ID=183711814"
  1568. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1569. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1570. partasdeff.Transparency = bbb
  1571. partasdeff.Size = aaa
  1572. partasdeff.ZOffset = .9
  1573. partasdeff.Acceleration = Vector3.new(0, -5, 0)
  1574. partasdeff.LockedToPart = false
  1575. partasdeff.EmissionDirection = "Back"
  1576. partasdeff.Lifetime = NumberRange.new(1, 2)
  1577. partasdeff.Rate = 1000
  1578. partasdeff.Rotation = NumberRange.new(-100, 100)
  1579. partasdeff.RotSpeed = NumberRange.new(-100, 100)
  1580. partasdeff.Speed = NumberRange.new(6)
  1581. partasdeff.VelocitySpread = 10000
  1582. partasdeff.Enabled=false
  1583. for i = 0, 3, 0.1 do
  1584. swait()
  1585. if Grabbed == true then
  1586. grab.Humanoid.PlatformStand = true
  1587. --GGyro.position = Partss.Position
  1588. --GGyro.Parent = grab.Head
  1589. grab.Head.CFrame = k.CFrame * CFrame.Angles(0,math.rad(-90),0)
  1590. end
  1591. PlayAnimationFromTable({
  1592. CFrame.new(-0.203895777, -0.0966757089, 0.221102715, 0.860356927, 5.59592329e-22, -0.509691954, -9.74120787e-23, 1, 9.33471908e-22, 0.509691954, -7.53468894e-22, 0.860356927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1593. CFrame.new(0.0996288583, 1.46053851, -0.148588806, 0.834862471, 0.0359686315, 0.549282432, -0.0103890011, 0.998714745, -0.0496083908, -0.550360739, 0.0357096791, 0.83416307) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1594. CFrame.new(1.70567894, 0.192227185, 0.324310064, 0.910149336, -0.402004361, -0.100104719, 0.41140601, 0.848634601, 0.332512379, -0.0487190783, -0.343819588, 0.937771142) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1595. CFrame.new(-1.5511272, 1.22937977, -0.634234905, 0.785770595, 0.333147645, 0.521131098, 0.522403002, -0.808557391, -0.270795107, 0.331149668, 0.485022962, -0.809378147) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1596. CFrame.new(0.648186982, -1.97843516, -0.0881449506, 0.954305232, -0.129303262, -0.269411147, 0.107586049, 0.989748061, -0.0939371213, 0.278795511, 0.0606598109, 0.958432913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1597. CFrame.new(-0.684103072, -2.02189779, 0.0673112273, 0.973016024, 0.108399175, -0.203689545, -0.109960191, 0.993929327, 0.00367253274, 0.202851087, 0.0188243091, 0.979028702) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1598. }, .1, false)
  1599. moter.C0 = clerp(moter.C0, CFrame.new(0.0111928731, -1.63769662, -0.318741947, -0.0172089636, 8.2552433e-06, -0.999852061, 0.999852061, 7.4505806e-07, -0.0172089189, 5.66244125e-07, -1.00000012, -8.2552433e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1600. end
  1601. partasdeff.Enabled=true
  1602. grab.Torso.Transparency = 1
  1603. dmg(grab)
  1604. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=160718677", grab.Head, .8, .8)
  1605. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=160718677", grab.Head, 1, .7)
  1606.  
  1607. coroutine.wrap(function()
  1608. wait(.4)
  1609. partasdeff.Enabled=false
  1610. end)()
  1611. for i = 0, 3.5, 0.1 do
  1612. swait()
  1613. PlayAnimationFromTable({
  1614. CFrame.new(-0.203895777, -0.0966757089, 0.221102715, 0.860356927, 5.59592329e-22, -0.509691954, -9.74120787e-23, 1, 9.33471908e-22, 0.509691954, -7.53468894e-22, 0.860356927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1615. CFrame.new(0.0996288583, 1.46053851, -0.148588806, 0.834862471, 0.0359686315, 0.549282432, -0.0103890011, 0.998714745, -0.0496083908, -0.550360739, 0.0357096791, 0.83416307) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1616. CFrame.new(1.70567894, 0.192227185, 0.324310064, 0.910149336, -0.402004361, -0.100104719, 0.41140601, 0.848634601, 0.332512379, -0.0487190783, -0.343819588, 0.937771142) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1617. CFrame.new(-1.40260935, 1.29555511, -0.560751677, 0.832364976, 0.188659444, 0.521130562, 0.370884001, -0.88832134, -0.2707977, 0.411842346, 0.418681324, -0.809378505) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1618. CFrame.new(0.648186982, -1.97843516, -0.0881449506, 0.954305232, -0.129303262, -0.269411147, 0.107586049, 0.989748061, -0.0939371213, 0.278795511, 0.0606598109, 0.958432913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1619. CFrame.new(-0.684103072, -2.02189779, 0.0673112273, 0.973016024, 0.108399175, -0.203689545, -0.109960191, 0.993929327, 0.00367253274, 0.202851087, 0.0188243091, 0.979028702) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1620. }, .3, false)
  1621. moter.C0 = clerp(moter.C0, CFrame.new(0.0111928731, -1.63769662, -0.318741947, -0.0172089636, 8.2552433e-06, -0.999852061, 0.999852061, 7.4505806e-07, -0.0172089189, 5.66244125e-07, -1.00000012, -8.2552433e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1622. end
  1623. end
  1624. else
  1625. Humanoid.WalkSpeed = 0
  1626. for i = 0, 3, 0.1 do
  1627. swait()
  1628. PlayAnimationFromTable({
  1629. CFrame.new(0.0246932413, -0.0966757834, -0.0092370566, 0.713696778, 5.59592329e-22, 0.700454772, -9.27150216e-22, 1, 1.45779223e-22, -0.700454772, -7.53468894e-22, 0.713696778) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1630. CFrame.new(0.098094359, 1.53651738, -0.281765848, 0.593379974, 0.280785412, -0.754360616, -0.0276839901, 0.943748772, 0.329502523, 0.804446399, -0.174636483, 0.567774832) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1631. CFrame.new(1.58677018, 0.143787161, 0.0495693758, 0.968102753, -0.250522822, -0.00394502282, 0.250228018, 0.965921044, 0.0662006512, -0.0127741396, -0.0650762022, 0.997798622) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1632. CFrame.new(-1.74332106, 0.446618229, -0.859300971, 0.795205951, 0.606264353, -0.0095520094, -0.0538869984, 0.0549720451, -0.997032762, -0.603940368, 0.793361068, 0.0763838589) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1633. CFrame.new(0.648194611, -1.97843742, -0.088139981, 0.954304218, -0.129303336, -0.269414723, 0.107585981, 0.989748061, -0.0939367935, 0.278798997, 0.0606590137, 0.958431959) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1634. CFrame.new(-0.671899676, -2.02211809, 0.00866907835, 0.94230175, 0.108399026, -0.316728801, -0.108764999, 0.993929207, 0.0165804606, 0.316603303, 0.0188252106, 0.948371291) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1635. }, .2, false)
  1636. moter.C0 = clerp(moter.C0, CFrame.new(0.0111978557, -1.63769853, -0.318748116, -0.0172083378, 3.06963921e-06, -0.999852002, 0.999851942, -2.01165676e-07, -0.0172083378, -2.4586916e-07, -1, -3.09944153e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1637. end
  1638. sel = math.random(1,3)
  1639. if sel == 1 then
  1640. chatfunc("Aahhh...")
  1641. elseif sel == 2 then
  1642. chatfunc("Oh Sugarie, I thought you're enemy...")
  1643. elseif sel == 3 then
  1644. chatfunc("Sigh...")
  1645. end
  1646. for i = 0, 5, 0.1 do
  1647. swait()
  1648. PlayAnimationFromTable({
  1649. CFrame.new(0, 0, 0, 0.999999881, 5.04870979e-29, -4.21790838e-43, 5.04870979e-29, 1, -5.04870979e-29, -4.21790838e-43, -5.04870979e-29, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1650. CFrame.new(-0.0399715528, 1.42130852, -0.217550665, 0.985933542, -0.136098281, -0.097015582, 0.166522697, 0.849608123, 0.500436008, 0.0143167432, -0.509551942, 0.860320628) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0- .4 * math.cos((sine) / 5), 0),
  1651. CFrame.new(1.57258642, 0.0433240086, 3.83948304e-08, 0.990993857, -0.133906633, -2.60571618e-08, 0.133906662, 0.990993977, 5.96046341e-08, 1.78410318e-08, -6.25570422e-08, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1652. CFrame.new(-0.693957031, 0.999676406, -0.811627388, 0.817211449, -0.569911301, -0.0858340934, -0.499626935, -0.626295447, -0.598442137, 0.287295371, 0.531934083, -0.796558976) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1653. CFrame.new(0.540301144, -1.99792778, 1.70425119e-06, 0.998698354, -0.0510031469, 6.26438805e-07, 0.0510031544, 0.998698473, -1.04335422e-05, -9.34800966e-08, 1.04519122e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1654. CFrame.new(-0.539563119, -1.99793291, 1.9016752e-06, 0.998630941, 0.0523070693, -1.67712614e-07, -0.0523070768, 0.99863106, -1.0458818e-05, -3.79587107e-07, 1.04532719e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1655. }, .3, false)
  1656. moter.C0 = clerp(moter.C0, CFrame.new(0.0111991819, -1.63769639, -0.318748534, -0.0172109455, -5.96046448e-08, -0.999852002, 0.999852061, -1.19209318e-07, -0.0172108412, 5.96046519e-08, -0.99999994, -1.19209275e-07) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1657. end
  1658. end
  1659. attack = false
  1660. Grabbed = false
  1661. k:Remove()
  1662. Humanoid.WalkSpeed = 8
  1663. end
  1664.  
  1665. function painlessrain2()
  1666. attack = true
  1667. Humanoid.WalkSpeed = 0
  1668. local ref1 = New("Part",m,"ref",{Transparency = 1,Size = Vector3.new(.2,.2,.2),CFrame = Torso.CFrame,Anchored = true,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,})
  1669.  
  1670. coroutine.wrap(function()
  1671. for i = 0, 4 do
  1672. wait(.2)
  1673. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=158475221", RootPart, 1, 1)
  1674. end
  1675. end)()
  1676. for i = 0, 4, 0.1 do
  1677. swait()
  1678. PlayAnimationFromTable({
  1679. CFrame.new(0.160091802, -3.66497677e-23, -0.0753167868, 0.153125972, 2.95760942e-22, 0.988206744, 9.50910858e-23, 1, -3.14025256e-22, -0.988206744, 1.42055005e-22, 0.153125986) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1680. CFrame.new(-0.115934461, 1.42953098, -0.0387745127, 0.0422455594, -0.156738758, -0.986736298, 0.091215007, 0.984098434, -0.152414545, 0.994934857, -0.083566308, 0.0558707118) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1681. CFrame.new(1.88563442, 0.849646449, -0.150348112, 0.134151325, -0.917590559, 0.374207288, 0.151069015, -0.354270071, -0.922860146, 0.979378283, 0.180334046, 0.0910937041) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1682. CFrame.new(-1.53188074, 0.0735950321, 2.69606994e-06, 0.978446901, 0.206499115, 2.48849392e-06, -0.2064991, 0.978446841, -1.05276868e-05, -4.61935997e-06, 9.78447497e-06, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1683. CFrame.new(0.6596874, -2.0274992, -0.0100709619, 0.00881013274, -0.161221251, -0.986878991, 0.00903601572, 0.986890376, -0.161142424, 0.999920428, -0.0074977763, 0.0101515204) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1684. CFrame.new(-0.56669867, -2.04759455, -0.0995163321, 0.988194227, 0.0786855519, 0.131456956, -0.0635150596, 0.991232872, -0.115859069, -0.139420897, 0.106141761, 0.984528303) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1685. }, .07, false)
  1686. moter.C0 = clerp(moter.C0, CFrame.new(0.00354172289, -1.19249964, -0.318736732, -0.017209189, -1.8668361e-06, -0.999851942, 0.999851882, 1.90734863e-06, -0.0172091946, 1.93715096e-06, -1.00000012, 1.82725489e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, math.rad(doe * 22)), 0.3)
  1687. end
  1688. for i = 0, 1.5, 0.1 do
  1689. swait()
  1690. PlayAnimationFromTable({
  1691. CFrame.new(0.160091802, -3.66497677e-23, -0.0753167868, 0.153125972, 2.95760942e-22, 0.988206744, 9.50910858e-23, 1, -3.14025256e-22, -0.988206744, 1.42055005e-22, 0.153125986) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1692. CFrame.new(-0.181723118, 1.42154801, -0.0812263489, 0.0422911495, -0.473342478, -0.879862845, 0.0912349299, 0.878800809, -0.468385875, 0.994931221, -0.0604656339, 0.0803508535) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1693. CFrame.new(1.46608233, 1.280774, -0.0335922651, 0.00761340559, -0.0420075022, 0.999088407, 0.0443810038, -0.998118579, -0.0423049256, 0.998985708, 0.044662632, -0.00573477149) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1694. CFrame.new(-1.53188074, 0.0735950321, 2.69606994e-06, 0.978446901, 0.206499115, 2.48849392e-06, -0.2064991, 0.978446841, -1.05276868e-05, -4.61935997e-06, 9.78447497e-06, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1695. CFrame.new(0.6596874, -2.0274992, -0.0100709619, 0.00881013274, -0.161221251, -0.986878991, 0.00903601572, 0.986890376, -0.161142424, 0.999920428, -0.0074977763, 0.0101515204) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1696. CFrame.new(-0.56669867, -2.04759455, -0.0995163321, 0.988194227, 0.0786855519, 0.131456956, -0.0635150596, 0.991232872, -0.115859069, -0.139420897, 0.106141761, 0.984528303) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1697. }, .2, false)
  1698. moter.C0 = clerp(moter.C0, CFrame.new(0.0112083405, -1.63769615, -0.31873402, -0.0172121376, -2.89082527e-06, -0.999851882, 0.999851942, 4.58210707e-07, -0.0172121413, 5.06639481e-07, -1.00000012, 2.89082527e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1699. end
  1700. for i = 0, 0 do
  1701. Effects.Block.Create(BrickColor.random(), Partss.CFrame, 33,33,33, -1,-1,-1, 0.07)
  1702. wait(2)
  1703. end
  1704. attack = false
  1705. Humanoid.WalkSpeed = 8
  1706. for i = 0, 99 do
  1707. wait(0.01)
  1708. mdmg(ref1, 3)
  1709. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=141679994", Character, 1.5, 1)
  1710. ref1.Position = Mouse.hit.p
  1711. ref1.CFrame = ref1.CFrame * CFrame.new(math.random(-.5,.5),0,math.random(-.5,.5))
  1712. Effects.Cylinder.Create(BrickColor.random(), ref1.CFrame, 5, 9999, 5, -5, 0, -5, 0.07)
  1713. Effects.Sphere.Create(BrickColor.random(), ref1.CFrame, 7,7,7, -9,-9,-9, 0.07)
  1714. end
  1715. ref1:Remove()
  1716. end
  1717.  
  1718. function painlessrain()
  1719. attack = true
  1720. Humanoid.WalkSpeed = 0
  1721. local ref1 = New("Part",m,"ref",{Transparency = 1,Size = Vector3.new(.2,.2,.2),CFrame = Torso.CFrame,Anchored = true,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,})
  1722.  
  1723. coroutine.wrap(function()
  1724. for i = 0, 4 do
  1725. wait(.2)
  1726. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=158475221", RootPart, 1, 1)
  1727. end
  1728. end)()
  1729. for i = 0, 4, 0.1 do
  1730. swait()
  1731. PlayAnimationFromTable({
  1732. CFrame.new(0.160091802, -3.66497677e-23, -0.0753167868, 0.153125972, 2.95760942e-22, 0.988206744, 9.50910858e-23, 1, -3.14025256e-22, -0.988206744, 1.42055005e-22, 0.153125986) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1733. CFrame.new(-0.115934461, 1.42953098, -0.0387745127, 0.0422455594, -0.156738758, -0.986736298, 0.091215007, 0.984098434, -0.152414545, 0.994934857, -0.083566308, 0.0558707118) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1734. CFrame.new(1.88563442, 0.849646449, -0.150348112, 0.134151325, -0.917590559, 0.374207288, 0.151069015, -0.354270071, -0.922860146, 0.979378283, 0.180334046, 0.0910937041) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1735. CFrame.new(-1.53188074, 0.0735950321, 2.69606994e-06, 0.978446901, 0.206499115, 2.48849392e-06, -0.2064991, 0.978446841, -1.05276868e-05, -4.61935997e-06, 9.78447497e-06, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1736. CFrame.new(0.6596874, -2.0274992, -0.0100709619, 0.00881013274, -0.161221251, -0.986878991, 0.00903601572, 0.986890376, -0.161142424, 0.999920428, -0.0074977763, 0.0101515204) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1737. CFrame.new(-0.56669867, -2.04759455, -0.0995163321, 0.988194227, 0.0786855519, 0.131456956, -0.0635150596, 0.991232872, -0.115859069, -0.139420897, 0.106141761, 0.984528303) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1738. }, .07, false)
  1739. moter.C0 = clerp(moter.C0, CFrame.new(0.00354172289, -1.19249964, -0.318736732, -0.017209189, -1.8668361e-06, -0.999851942, 0.999851882, 1.90734863e-06, -0.0172091946, 1.93715096e-06, -1.00000012, 1.82725489e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, math.rad(doe * 22)), 0.3)
  1740. end
  1741. for i = 0, 1.5, 0.1 do
  1742. swait()
  1743. PlayAnimationFromTable({
  1744. CFrame.new(0.160091802, -3.66497677e-23, -0.0753167868, 0.153125972, 2.95760942e-22, 0.988206744, 9.50910858e-23, 1, -3.14025256e-22, -0.988206744, 1.42055005e-22, 0.153125986) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1745. CFrame.new(-0.181723118, 1.42154801, -0.0812263489, 0.0422911495, -0.473342478, -0.879862845, 0.0912349299, 0.878800809, -0.468385875, 0.994931221, -0.0604656339, 0.0803508535) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1746. CFrame.new(1.46608233, 1.280774, -0.0335922651, 0.00761340559, -0.0420075022, 0.999088407, 0.0443810038, -0.998118579, -0.0423049256, 0.998985708, 0.044662632, -0.00573477149) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1747. CFrame.new(-1.53188074, 0.0735950321, 2.69606994e-06, 0.978446901, 0.206499115, 2.48849392e-06, -0.2064991, 0.978446841, -1.05276868e-05, -4.61935997e-06, 9.78447497e-06, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1748. CFrame.new(0.6596874, -2.0274992, -0.0100709619, 0.00881013274, -0.161221251, -0.986878991, 0.00903601572, 0.986890376, -0.161142424, 0.999920428, -0.0074977763, 0.0101515204) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1749. CFrame.new(-0.56669867, -2.04759455, -0.0995163321, 0.988194227, 0.0786855519, 0.131456956, -0.0635150596, 0.991232872, -0.115859069, -0.139420897, 0.106141761, 0.984528303) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1750. }, .2, false)
  1751. moter.C0 = clerp(moter.C0, CFrame.new(0.0112083405, -1.63769615, -0.31873402, -0.0172121376, -2.89082527e-06, -0.999851882, 0.999851942, 4.58210707e-07, -0.0172121413, 5.06639481e-07, -1.00000012, 2.89082527e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1752. end
  1753. for i = 0, 2 do
  1754. Effects.Block.Create(BrickColor.random(), Partss.CFrame, 66,66,66, -1,-1,-1, 0.07)
  1755. wait(1)
  1756. end
  1757. attack = false
  1758. Humanoid.WalkSpeed = 8
  1759. for i = 0, 1 do
  1760. wait(0.01)
  1761. mdmg(ref1, 50)
  1762. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=141679994", Character, 1.5, 1)
  1763. ref1.Position = Mouse.hit.p
  1764. ref1.CFrame = ref1.CFrame * CFrame.new(math.random(-.5,.5),0,math.random(-.5,.5))
  1765. for i = 1,10 do
  1766. Effects.Cylinder.Create(BrickColor.random(), ref1.CFrame, 520, 9999, 520, -1, 0, -1, 0.07)
  1767. Effects.Sphere.Create(BrickColor.random(), ref1.CFrame, 700,700,700,-1,-1,-1, 0.07)
  1768. end
  1769. end
  1770. ref1:Remove()
  1771. end
  1772.  
  1773. function TargetSelect(person)
  1774. local dd=coroutine.wrap(function()
  1775. if targetted ~= person then
  1776. targetted = person
  1777. img2.Size = UDim2.new(1,0,1,0)
  1778. img2.ImageTransparency = 0
  1779. img2.Position = UDim2.new(0,0,0,0)
  1780. for i = 0, 2, 0.1 do
  1781. swait()
  1782. img2.Size = img2.Size + UDim2.new(.05,0,.05,0)
  1783. img2.Position = img2.Position + UDim2.new(-.025,0,-.025,0)
  1784. img2.ImageTransparency = img2.ImageTransparency + 0.05
  1785. end
  1786. end
  1787. end)
  1788. dd()
  1789. end
  1790.  
  1791. function LockOn()
  1792. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  1793. TargetSelect(Mouse.Target.Parent)
  1794. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=606862847", Character, 1, 1)
  1795. end
  1796. end
  1797.  
  1798.  
  1799. function ofmoosic() -- 2 lazi hoh
  1800. delays = true
  1801. while wait() and kkk and kkk.Volume >= 0.02 do
  1802. kkk.Volume = kkk.Volume - 0.05
  1803. end
  1804. wait(0.1)
  1805. kkk.Pitch = 0
  1806. kkk.PlaybackSpeed = 0
  1807. play = false
  1808. delays = false
  1809. end
  1810. function onmoosic()
  1811. delays = true
  1812. kkk.Pitch = 1
  1813. kkk.PlaybackSpeed = 1
  1814. while wait() and kkk and kkk.Volume <= 1.5 do
  1815. kkk.Volume = kkk.Volume + 0.05
  1816. end
  1817. wait(0.1)
  1818. play = true
  1819. delays = false
  1820. end
  1821. Mouse.Button1Down:connect(function()
  1822. if attack == false and targetted ~= nil then
  1823. attackone()
  1824. end
  1825. end)
  1826.  
  1827. Mouse.KeyDown:connect(function(k)
  1828. k = k:lower()
  1829. if attack == false and k == 'q' then
  1830. LockOn()
  1831. end
  1832. if k == 'z' and attack == false then
  1833. spawn(function()
  1834. Head.face.Texture = "http://www.roblox.com/asset/?id=664468442"
  1835. wait(2)
  1836. Head.face.Texture = Orin
  1837. end)
  1838. hedshoot()
  1839. elseif k == 'x' and attack == false and targetted ~= nil then
  1840. spawn(function()
  1841. Head.face.Texture = "http://www.roblox.com/asset/?id=183711814"
  1842. wait(2)
  1843. Head.face.Texture = Orin
  1844. end)
  1845. moarblood()
  1846. elseif k == 'c' and attack == false then
  1847. spawn(function()
  1848. Head.face.Texture = "http://www.roblox.com/asset/?id=168092687"
  1849. wait(2)
  1850. Head.face.Texture = Orin
  1851. end)
  1852. painlessrain()
  1853. chatfunc("Boom.")
  1854. elseif k == 'v' and attack == false then
  1855. spawn(function()
  1856. Head.face.Texture = "http://www.roblox.com/asset/?id=183708981"
  1857. wait(2)
  1858. Head.face.Texture = Orin
  1859. end)
  1860. painlessrain2()
  1861. wait(6)
  1862. chatfunc("Ded!")
  1863. elseif k == 'e' and attack == false then
  1864. shoot()
  1865. elseif k == 'g' and delays == false and Character.Name == "Skrubl0rdzI" then
  1866. delays = true
  1867. chatfunc("Finally!")
  1868. wait(3)
  1869. chatfunc("i pay 999 tix for dis gun.")
  1870. wait(4)
  1871. chatfunc("Now let testing!")
  1872. delays = false
  1873. elseif k == 'm' and play == true and delays == false then
  1874. ofmoosic()
  1875. elseif k == 'm' and play == false and delays == false then
  1876. onmoosic()
  1877. end
  1878. end)
  1879.  
  1880. kkk = Instance.new("Sound",Character)
  1881. kkk.Volume = 3
  1882. kkk.Pitch = 1
  1883. kkk.SoundId = "rbxassetid://494244670"
  1884. kkk:Play()
  1885. kkk.Name = "a"
  1886. kkk.Looped = true
  1887.  
  1888.  
  1889. coroutine.wrap(function()
  1890. while true do
  1891. swait()
  1892. for i, v in pairs(Character.WeaponModel:GetChildren()) do
  1893. if v:IsA("Part") then
  1894. v.Anchored = false
  1895. end
  1896. end
  1897. for i, v in pairs(Character:GetChildren()) do
  1898. if v:IsA("Part") then
  1899. v.Anchored = false
  1900. elseif v:IsA("Accessory") then
  1901. v.Handle.Anchored = false
  1902. end
  1903. end
  1904. end
  1905. end)()
  1906. coroutine.wrap(function()
  1907. while 1 do
  1908. swait()
  1909. if doe <= 360 then
  1910. doe = doe + 2
  1911. else
  1912. doe = 0
  1913. end
  1914. end
  1915. end)()
  1916. while true do
  1917. swait()
  1918. for i, v in pairs(Character:GetChildren()) do
  1919. if v:IsA("Part") then
  1920. v.Material = "SmoothPlastic"
  1921. elseif v:IsA("Accessory") then
  1922. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1923. end
  1924. end
  1925. while true do
  1926. swait()
  1927. Character.Humanoid.MaxHealth = math.huge
  1928. Character.Humanoid.Health = math.huge
  1929. imgl.Rotation = imgl.Rotation + 3
  1930. img2.Rotation = img2.Rotation + 3
  1931. if targetted ~= nil then
  1932. abss.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
  1933. abss.Enabled = true
  1934. elseif targetted == nil then
  1935. abss.Adornee = nil
  1936. abss.Enabled = false
  1937. end
  1938.  
  1939. P=Instance.new("ForceField",Character)
  1940. P.Visible = false
  1941.  
  1942. while true and imgl.Rotation >= 360 do
  1943. imgl.Rotation = 0
  1944. img2.Rotation = 0
  1945. end
  1946. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1947. velocity = RootPart.Velocity.y
  1948. sine = sine + change
  1949. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1950. if RootPart.Velocity.y > 1 and hit == nil then
  1951. Anim = "Jump"
  1952. if attack == false then
  1953. PlayAnimationFromTable({
  1954. 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),
  1955. 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),
  1956. 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),
  1957. 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),
  1958. 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),
  1959. 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),
  1960. }, .3, false)
  1961. 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)
  1962. end
  1963. elseif RootPart.Velocity.y < -1 and hit == nil then
  1964. Anim = "Fall"
  1965. if attack == false then
  1966. PlayAnimationFromTable({
  1967. 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),
  1968. 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),
  1969. 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),
  1970. 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),
  1971. 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),
  1972. 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),
  1973. }, .3, false)
  1974. 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)
  1975. end
  1976. elseif Torsovelocity < 1 and hit ~= nil then
  1977. Anim = "Idle"
  1978. if attack == false then
  1979. change = 1
  1980. PlayAnimationFromTable({
  1981. 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),
  1982. CFrame.new(-0.0575585738, 1.52553558, 0, 0, 0, 0, 0, 0, 0, 0.0143168001, 0, 0.897985697) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1983. 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)),
  1984. 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)),
  1985. 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),
  1986. 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),
  1987. }, .3, false)
  1988. 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)
  1989. end
  1990. elseif Torsovelocity > 2 and hit ~= nil then
  1991. Anim = "Walk"
  1992. if attack == false then
  1993. PlayAnimationFromTable({
  1994. 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),
  1995. 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),
  1996. 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.5, -0.5) * CFrame.Angles(math.rad(90), 0, 0),
  1997. 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.5, -0.5) * CFrame.Angles(math.rad(90), 0, 0),
  1998. 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),
  1999. 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),
  2000. }, .3, false)
  2001. 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)
  2002. end
  2003. end
  2004. if 0 < #Effects then
  2005. for e = 1, #Effects do
  2006. if Effects[e] ~= nil then
  2007. local Thing = Effects[e]
  2008. if Thing ~= nil then
  2009. local Part = Thing[1]
  2010. local Mode = Thing[2]
  2011. local Delay = Thing[3]
  2012. local IncX = Thing[4]
  2013. local IncY = Thing[5]
  2014. local IncZ = Thing[6]
  2015. if Thing[2] == "Shoot" then
  2016. local Look = Thing[1]
  2017. local move = 30
  2018. if Thing[8] == 3 then
  2019. move = 10
  2020. end
  2021. local hit, pos = rayCast(Thing[4], Thing[1], move, m)
  2022. if Thing[10] ~= nil then
  2023. da = pos
  2024. cf2 = CFrame.new(Thing[4], Thing[10].Position)
  2025. cfa = CFrame.new(Thing[4], pos)
  2026. tehCF = cfa:lerp(cf2, 0.2)
  2027. Thing[1] = tehCF.lookVector
  2028. end
  2029. local mag = (Thing[4] - pos).magnitude
  2030. 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)
  2031. if Thing[8] == 2 then
  2032. 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)
  2033. end
  2034. Thing[4] = Thing[4] + Look * move
  2035. Thing[3] = Thing[3] - 1
  2036. if 2 < Thing[5] then
  2037. Thing[5] = Thing[5] - 0.3
  2038. Thing[6] = Thing[6] - 0.3
  2039. end
  2040. if hit ~= nil then
  2041. Thing[3] = 0
  2042. if Thing[8] == 1 or Thing[8] == 3 then
  2043. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  2044. else
  2045. if Thing[8] == 2 then
  2046. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  2047. if (hit.Parent:findFirstChild("Humanoid")) ~= nil or (hit.Parent.Parent:findFirstChild("Humanoid")) ~= nil then
  2048. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  2049. ref.Anchored = true
  2050. ref.CFrame = CFrame.new(pos)
  2051. CFuncs["Sound"].Create("161006093", ref, 1, 1.2)
  2052. game:GetService("Debris"):AddItem(ref, 0.2)
  2053. 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)
  2054. 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)
  2055. MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1)
  2056. end
  2057. end
  2058. end
  2059. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  2060. ref.Anchored = true
  2061. ref.CFrame = CFrame.new(pos)
  2062. Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
  2063. game:GetService("Debris"):AddItem(ref, 1)
  2064. end
  2065. if Thing[3] <= 0 then
  2066. table.remove(Effects, e)
  2067. end
  2068. end
  2069. do
  2070. do
  2071. if Thing[2] == "FireWave" then
  2072. if Thing[3] <= Thing[4] then
  2073. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  2074. Thing[3] = Thing[3] + 1
  2075. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  2076. else
  2077. Part.Parent = nil
  2078. table.remove(Effects, e)
  2079. end
  2080. end
  2081. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  2082. if Thing[1].Transparency <= 1 then
  2083. if Thing[2] == "Block1" then
  2084. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2085. Mesh = Thing[7]
  2086. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2087. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2088. else
  2089. if Thing[2] == "Block2" then
  2090. Thing[1].CFrame = Thing[1].CFrame
  2091. Mesh = Thing[7]
  2092. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2093. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2094. else
  2095. if Thing[2] == "Fire" then
  2096. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  2097. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2098. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2099. else
  2100. if Thing[2] == "Cylinder" then
  2101. Mesh = Thing[7]
  2102. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2103. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2104. else
  2105. if Thing[2] == "Blood" then
  2106. Mesh = Thing[7]
  2107. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  2108. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2109. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2110. else
  2111. if Thing[2] == "Elec" then
  2112. Mesh = Thing[10]
  2113. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2114. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2115. else
  2116. if Thing[2] == "Disappear" then
  2117. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2118. else
  2119. if Thing[2] == "Shatter" then
  2120. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2121. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2122. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2123. Thing[6] = Thing[6] + Thing[5]
  2124. end
  2125. end
  2126. end
  2127. end
  2128. end
  2129. end
  2130. end
  2131. end
  2132. else
  2133. Part.Parent = nil
  2134. table.remove(Effects, e)
  2135. end
  2136. end
  2137. end
  2138. end
  2139. end
  2140. end
  2141. end
  2142. end
  2143. end
  2144. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement