Advertisement
zerong2

Untitled

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