Advertisement
epicboi

Untitled

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