Advertisement
wamandnj

Untitled

Jun 12th, 2019
479
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.  
  304. --Fixed by Scenius(On ROBLOX)
  305. wait(0.016666666666666666)
  306. Effects = {}
  307. Instance.new("ForceField", game.Players.LocalPlayer.Character)
  308. local char = game.Players.localPlayer.Character
  309. ssbm = Instance.new("Sound",char)
  310. ssbm.Volume = 5
  311. ssbm.Looped = true
  312. ssbm.Pitch = 0.5
  313. ssbm.SoundId = "rbxassetid://570556587"
  314. ssbm:Play()
  315. local txt = Instance.new("BillboardGui", char)
  316. txt.Adornee = char .Head
  317. txt.Name = "_status"
  318. txt.Size = UDim2.new(2, 0, 1.2, 0)
  319. txt.StudsOffset = Vector3.new(-9, 10, 0)
  320. local text = Instance.new("TextLabel", txt)
  321. text.Size = UDim2.new(10, 0, 7, 0)
  322. text.FontSize = "Size24"
  323. text.TextScaled = true
  324. text.TextTransparency = 0
  325. text.BackgroundTransparency = 1
  326. text.TextTransparency = 0
  327. text.TextStrokeTransparency = 0
  328. text.Font = "Arcade"
  329. text.TextStrokeColor3 = Color3.new(0,0,0)
  330. text.Text = "Pixelated Sniper"
  331. spawn(function()
  332. while wait(0.1) do
  333. text.TextStrokeColor3 = BrickColor.new("Gold").Color
  334. text.TextColor3 = BrickColor.new("Really black").Color
  335. end
  336. end)
  337. local Player = game.Players.localPlayer
  338. script.Parent = Player.PlayerGui
  339. local Character = Player.Character
  340. local Humanoid = Character.Humanoid
  341. local Mouse = Player:GetMouse()
  342. local LeftArm = Character["Left Arm"]
  343. local RightArm = Character["Right Arm"]
  344. local LeftLeg = Character["Left Leg"]
  345. local RightLeg = Character["Right Leg"]
  346. local Head = Character.Head
  347. local Torso = Character.Torso
  348.  
  349. local Camera = game.Workspace.CurrentCamera
  350. local RootPart = Character.HumanoidRootPart
  351. local RootJoint = RootPart.RootJoint
  352. local attack = false
  353. local Anim = "Idle"
  354. local attacktype = 1
  355. local Headvelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  356. local velocity = RootPart.Velocity.y
  357. local sine = 0
  358. local change = 1
  359. local Create = LoadLibrary("RbxUtility").Create
  360. local m = Create("Model")({
  361. Parent = Character,
  362. Name = "WeaponModel"
  363. })
  364. Humanoid.Animator.Parent = nil
  365. Character.Animate.Parent = nil
  366. Humanoid.MaxHealth = math.huge
  367. Humanoid.Health = math.huge
  368. Humanoid.WalkSpeed = 130
  369. Humanoid.JumpPower = 135
  370. LeftArm.CanCollide = false
  371. RightArm.CanCollide = false
  372. LeftLeg.CanCollide = false
  373. RightLeg.CanCollide = false
  374. Torso.CanCollide = false
  375. Head.CanCollide = false
  376.  
  377. function chatfunc(text)
  378. local chat = coroutine.wrap(function()
  379. if char:FindFirstChild("TalkingBillBoard")~= nil then
  380. char:FindFirstChild("TalkingBillBoard"):destroy()
  381. end
  382. local naeeym2 = Instance.new("BillboardGui",char)
  383. naeeym2.Size = UDim2.new(0,100,0,40)
  384. naeeym2.StudsOffset = Vector3.new(0,3,0)
  385. naeeym2.Adornee = char.Head
  386. naeeym2.Name = "TalkingBillBoard"
  387. local tecks2 = Instance.new("TextLabel",naeeym2)
  388. tecks2.BackgroundTransparency = 1
  389. tecks2.BorderSizePixel = 0
  390. tecks2.Text = ""
  391. tecks2.Font = "Fantasy"
  392. tecks2.TextSize = 30
  393. tecks2.TextStrokeTransparency = 0
  394. tecks2.TextColor3 = Color3.new(0,0,0)
  395. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  396. tecks2.Size = UDim2.new(1,0,0.5,0)
  397. local tecks3 = Instance.new("TextLabel",naeeym2)
  398. tecks3.BackgroundTransparency = 1
  399. tecks3.BorderSizePixel = 0
  400. tecks3.Text = ""
  401. tecks3.Font = "Fantasy"
  402. tecks3.TextSize = 30
  403. tecks3.TextStrokeTransparency = 0
  404. tecks3.TextColor3 = Color3.new(0,0,0)
  405. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  406. tecks3.Size = UDim2.new(1,0,0.5,0)
  407. spawn(function()
  408. while wait(0.04) do
  409. tecks3.TextStrokeColor3 = BrickColor.new("Gold").Color
  410. tecks2.TextStrokeColor3 = BrickColor.new("Really black").Color
  411. end
  412. end)
  413. for i = 1,string.len(text),1 do
  414.  
  415. tecks2.Text = string.sub(text,1,i)
  416. tecks3.Text = string.sub(text,1,i)
  417. wait(0.01)
  418. end
  419. wait(2)
  420. for i = 1, 50 do
  421.  
  422. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  423. tecks2.Rotation = tecks2.Rotation - .8
  424. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  425. tecks2.TextTransparency = tecks2.TextTransparency + .04
  426. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  427. tecks3.Rotation = tecks2.Rotation + .8
  428. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  429. tecks3.TextTransparency = tecks2.TextTransparency + .04
  430. end
  431. naeeym2:Destroy()
  432. end)
  433. chat()
  434.  
  435. end
  436. function onChatted(msg)
  437. chatfunc(msg)
  438.  
  439. end
  440. Player.Chatted:connect(onChatted)
  441.  
  442. local ColorsArray ={ColorSequenceKeypoint.new(0, Color3.new(1,1,0)),
  443. ColorSequenceKeypoint.new(0.16, Color3.new(1,1,0)),
  444. ColorSequenceKeypoint.new(0.32, Color3.new(1,1,0)),
  445. ColorSequenceKeypoint.new(0.48, Color3.new(1,1,0)),
  446. ColorSequenceKeypoint.new(0.64, Color3.new(1,1,0)),
  447. ColorSequenceKeypoint.new(0.80, Color3.new(1,1,0)),
  448. ColorSequenceKeypoint.new(0.96, Color3.new(1,1,0)),
  449. ColorSequenceKeypoint.new(1, Color3.new(1,1,0))}
  450. local Atch1 = Instance.new("Attachment",Torso)Atch1.Position = Vector3.new(0,2,0)
  451. local Atch2 = Instance.new("Attachment",Torso)Atch2.Position = Vector3.new(0,-2.5,0)
  452. local Trail = Instance.new("Trail",Torso)Trail.Attachment0 = Atch1 Trail.Attachment1 = Atch2
  453. Trail.Texture = "rbxassetid://22636887" Trail.Lifetime = 0.2 Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  454. Trail.Color = ColorSequence.new(ColorsArray) Trail.LightEmission = 1
  455. Trail.Enabled = true
  456. local function newMotor(part0, part1, c0, c1)
  457. local w = Create("Motor")({
  458. Parent = part0,
  459. Part0 = part0,
  460. Part1 = part1,
  461. C0 = c0,
  462. C1 = c1
  463. })
  464. return w
  465. end
  466. function clerp(a, b, t)
  467. return a:lerp(b, t)
  468. end
  469. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  470. NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  471. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  472. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  473. local RH = newMotor(Torso, RightLeg, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0))
  474. local LH = newMotor(Torso, LeftLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0))
  475. RootJoint.C1 = CFrame.new(0, 0, 0)
  476. RootJoint.C0 = CFrame.new(0, 0, 0)
  477. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  478. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  479. local rarmc1 = RW.C1
  480. local larmc1 = LW.C1
  481. local rlegc1 = RH.C1
  482. local llegc1 = LH.C1
  483. local resetc1 = false
  484. function PlayAnimationFromTable(table, speed, bool)
  485. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  486. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  487. RW.C0 = clerp(RW.C0, table[3], speed)
  488. LW.C0 = clerp(LW.C0, table[4], speed)
  489. RH.C0 = clerp(RH.C0, table[5], speed)
  490. LH.C0 = clerp(LH.C0, table[6], speed)
  491. if bool == true and resetc1 == false then
  492. resetc1 = true
  493. RootJoint.C1 = RootJoint.C1
  494. Torso.Neck.C1 = Torso.Neck.C1
  495. RW.C1 = rarmc1
  496. LW.C1 = larmc1
  497. RH.C1 = rlegc1
  498. LH.C1 = llegc1
  499. end
  500. end
  501. ArtificialHB = Create("BindableEvent", script)({Parent = script, Name = "Heartbeat"})
  502. script:WaitForChild("Heartbeat")
  503. frame = 0.03333333333333333
  504. tf = 0
  505. allowframeloss = false
  506. tossremainder = false
  507. lastframe = tick()
  508. script.Heartbeat:Fire()
  509. game:GetService("RunService").Heartbeat:connect(function(s, p)
  510. tf = tf + s
  511. if tf >= frame then
  512. if allowframeloss then
  513. script.Heartbeat:Fire()
  514. lastframe = tick()
  515. else
  516. for i = 1, math.floor(tf / frame) do
  517. script.Heartbeat:Fire()
  518. end
  519. lastframe = tick()
  520. end
  521. if tossremainder then
  522. tf = 0
  523. else
  524. tf = tf - frame * math.floor(tf / frame)
  525. end
  526. end
  527. end)
  528. function swait(num)
  529. if num == 0 or num == nil then
  530. ArtificialHB.Event:wait()
  531. else
  532. for i = 0, num do
  533. ArtificialHB.Event:wait()
  534. end
  535. end
  536. end
  537. function RemoveOutlines(part)
  538. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  539. end
  540. CFuncs = {
  541. Part = {
  542. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  543. local Part = Create("Part")({
  544. Parent = Parent,
  545. Reflectance = Reflectance,
  546. Transparency = Transparency,
  547. CanCollide = false,
  548. Locked = true,
  549. BrickColor = BrickColor.new(tostring(BColor)),
  550. Name = Name,
  551. Size = Size,
  552. Material = Material
  553. })
  554. RemoveOutlines(Part)
  555. return Part
  556. end
  557. },
  558. Mesh = {
  559. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  560. local Msh = Create(Mesh)({
  561. Parent = Part,
  562. Offset = OffSet,
  563. Scale = Scale
  564. })
  565. if Mesh == "SpecialMesh" then
  566. Msh.MeshType = MeshType
  567. Msh.MeshId = MeshId
  568. end
  569. return Msh
  570. end
  571. },
  572. Weld = {
  573. Create = function(Parent, Part0, Part1, C0, C1)
  574. local Weld = Create("Weld")({
  575. Parent = Parent,
  576. Part0 = Part0,
  577. Part1 = Part1,
  578. C0 = C0,
  579. C1 = C1
  580. })
  581. return Weld
  582. end
  583. },
  584. Sound = {
  585. Create = function(id, par, vol, pit)
  586. coroutine.resume(coroutine.create(function()
  587. local Sound = Create("Sound")({
  588. Volume = vol,
  589. Pitch = pit or 1,
  590. SoundId = "rbxassetid://" .. id,
  591. Parent = par or workspace
  592. })
  593. Sound:play()
  594. game:GetService("Debris"):AddItem(Sound, 10)
  595. end))
  596. end
  597. },
  598. Decal = {
  599. Create = function(Color, Texture, Transparency, Name, Parent)
  600. local Decal = Create("Decal")({
  601. Color3 = Color,
  602. Texture = "rbxassetid://" .. Texture,
  603. Transparency = Transparency,
  604. Name = Name,
  605. Parent = Parent
  606. })
  607. return Decal
  608. end
  609. },
  610. BillboardGui = {
  611. Create = function(Parent, Image, Position, Size)
  612. local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
  613. BillPar.CFrame = CFrame.new(Position)
  614. local Bill = Create("BillboardGui")({
  615. Parent = BillPar,
  616. Adornee = BillPar,
  617. Size = UDim2.new(1, 0, 1, 0),
  618. SizeOffset = Vector2.new(Size, Size)
  619. })
  620. local d = Create("ImageLabel", Bill)({
  621. Parent = Bill,
  622. BackgroundTransparency = 1,
  623. Size = UDim2.new(1, 0, 1, 0),
  624. Image = "rbxassetid://" .. Image
  625. })
  626. return BillPar
  627. end
  628. },
  629. ParticleEmitter = {
  630. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  631. local Particle = Create("ParticleEmitter")({
  632. Parent = Parent,
  633. Color = ColorSequence.new(Color1, Color2),
  634. LightEmission = LightEmission,
  635. Size = Size,
  636. Texture = Texture,
  637. Transparency = Transparency,
  638. ZOffset = ZOffset,
  639. Acceleration = Accel,
  640. Drag = Drag,
  641. LockedToPart = LockedToPart,
  642. VelocityInheritance = VelocityInheritance,
  643. EmissionDirection = EmissionDirection,
  644. Enabled = Enabled,
  645. Lifetime = LifeTime,
  646. Rate = Rate,
  647. Rotation = Rotation,
  648. RotSpeed = RotSpeed,
  649. Speed = Speed,
  650. VelocitySpread = VelocitySpread
  651. })
  652. return Particle
  653. end
  654. },
  655. CreateTemplate = {}
  656. }
  657. function rayCast(Position, Direction, Range, Ignore)
  658. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  659. end
  660. function findNearestHead(pos)
  661. local list = game.Workspace:children()
  662. local head
  663. local dist = 1000
  664. local temp, human, temp2
  665. for x = 1, #list do
  666. temp2 = list[x]
  667. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  668. temp = temp2:findFirstChild("Head")
  669. human = temp2:findFirstChild("Humanoid")
  670. if temp ~= nil and human ~= nil and human.Health > 0 and dist > (temp.Position - pos).magnitude then
  671. head = temp
  672. dist = (temp.Position - pos).magnitude
  673. end
  674. end
  675. end
  676. return head, dist
  677. end
  678. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  679. if hit.Parent == nil then
  680. return
  681. end
  682. local h = hit.Parent:FindFirstChild("Humanoid")
  683. for _, v in pairs(hit.Parent:children()) do
  684. if v:IsA("Humanoid") then
  685. h = v
  686. end
  687. end
  688. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  689. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  690. return
  691. end
  692. local c = Create("ObjectValue")({
  693. Name = "creator",
  694. Value = game:service("Players").LocalPlayer,
  695. Parent = h
  696. })
  697. game:GetService("Debris"):AddItem(c, 0.5)
  698. if HitSound ~= nil and HitPitch ~= nil then
  699. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  700. end
  701. local Damage = math.random(1,1)
  702. local blocked = false
  703. local block = hit.Parent:findFirstChild("Block")
  704. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  705. blocked = true
  706. block.Value = block.Value - 1
  707. print(block.Value)
  708. end
  709. if blocked == false then
  710. h.Health = h.Health - Damage
  711. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.random().Color)
  712. else
  713. h.Health = h.Health - Damage / 2
  714. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.random().Color)
  715. end
  716. if Type == "Knockdown" then
  717. local hum = hit.Parent.Humanoid
  718. hum.PlatformStand = true
  719. coroutine.resume(coroutine.create(function(HHumanoid)
  720. swait(1)
  721. HHumanoid.PlatformStand = false
  722. end), hum)
  723. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  724. local bodvol = Create("BodyVelocity")({
  725. velocity = angle * knockback,
  726. P = math.huge,
  727. maxForce = Vector3.new(math.huge, math.huge, math.huge) * math.huge * math.huge,
  728. Parent = hit
  729. })
  730. local rl = Create("BodyAngularVelocity")({
  731. P = 3000,
  732. maxTorque = Vector3.new(math.huge, math.huge, math.huge) * math.huge,
  733. angularvelocity = Vector3.new(math.random(math.huge, math.huge), math.random(math.huge, math.huge), math.random(math.huge, math.huge)),
  734. Parent = hit
  735. })
  736. game:GetService("Debris"):AddItem(bodvol, 0.5)
  737. game:GetService("Debris"):AddItem(rl, 0.5)
  738. elseif Type == "Normal" then
  739. local vp = Create("BodyVelocity")({
  740. P = 500,
  741. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  742. velocity = Property.CFrame.lookVector * knockback + Property.Velocity * math.huge
  743. })
  744. if knockback > 0 then
  745. vp.Parent = hit.Parent.Head
  746. end
  747. game:GetService("Debris"):AddItem(vp, 0.5)
  748. elseif Type == "Up" then
  749. local bodvol = Create("BodyVelocity")({
  750. velocity = angle * knockback,
  751. P = math.huge,
  752. maxForce = Vector3.new(math.huge, math.huge, math.huge) * math.huge * math.huge,
  753. Parent = hit
  754. })
  755. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  756. elseif Type == "DarkUp" then
  757. coroutine.resume(coroutine.create(function()
  758. for i = 0, 1, 0.1 do
  759. swait()
  760. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Head.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
  761. end
  762. end))
  763. local bodvol = Create("BodyVelocity")({
  764. velocity = angle * knockback,
  765. P = math.huge,
  766. maxForce = Vector3.new(math.huge, math.huge, math.huge) * math.huge * math.huge,
  767. Parent = hit
  768. })
  769. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  770. elseif Type == "Snare" then
  771. local bp = Create("BodyPosition")({
  772. P = math.huge,
  773. D = math.huge,
  774. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  775. position = hit.Parent.Head.Position,
  776. Parent = hit.Parent.Head
  777. })
  778. game:GetService("Debris"):AddItem(bp, 1)
  779. elseif Type == "Freeze" then
  780. local BodPos = Create("BodyPosition")({
  781. P = math.huge,
  782. D = math.huge,
  783. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  784. position = hit.Parent.Head.Position,
  785. Parent = hit.Parent.Head
  786. })
  787. local BodGy = Create("BodyGyro")({
  788. maxTorque = Vector3.new(math.huge, math.huge, math.huge) * math.huge,
  789. P = math.huge,
  790. Parent = hit.Parent.Head,
  791. cframe = hit.Parent.Head.CFrame
  792. })
  793. hit.Parent.Head.Anchored = true
  794. coroutine.resume(coroutine.create(function(Part)
  795. swait(1.5)
  796. Part.Anchored = false
  797. end), hit.Parent.Head)
  798. game:GetService("Debris"):AddItem(BodPos, 3)
  799. game:GetService("Debris"):AddItem(BodGy, 3)
  800. end
  801. local debounce = Create("BoolValue")({
  802. Name = "DebounceHit",
  803. Parent = hit.Parent,
  804. Value = true
  805. })
  806. game:GetService("Debris"):AddItem(debounce, Delay)
  807. c = Create("ObjectValue")({
  808. Name = "creator",
  809. Value = Player,
  810. Parent = h
  811. })
  812. game:GetService("Debris"):AddItem(c, 0.5)
  813. end
  814. end
  815. function ShowDamage(Pos, Text, Time, Color)
  816. local Rate = 0.03333333333333333
  817. local Pos = Pos or Vector3.new(0, 0, 0)
  818. local Text = Text or ""
  819. local Time = Time or 2
  820. local Color = Color or Color3.new(1, 0, 1)
  821. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  822. EffectPart.Anchored = true
  823. local BillboardGui = Create("BillboardGui")({
  824. Size = UDim2.new(3, 0, 3, 0),
  825. Adornee = EffectPart,
  826. Parent = EffectPart
  827. })
  828. local TextLabel = Create("TextLabel")({
  829. BackgroundTransparency = 1,
  830. Size = UDim2.new(1, 0, 1, 0),
  831. Text = Text,
  832. Font = "SciFi",
  833. TextColor3 = Color,
  834. TextScaled = true,
  835. Parent = BillboardGui
  836. })
  837. game.Debris:AddItem(EffectPart, Time)
  838. EffectPart.Parent = game:GetService("Workspace")
  839. delay(0, function()
  840. local Frames = Time / Rate
  841. for Frame = 1, Frames do
  842. wait(Rate)
  843. local Percent = Frame / Frames
  844. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  845. TextLabel.TextTransparency = Percent
  846. end
  847. if EffectPart and EffectPart.Parent then
  848. EffectPart:Destroy()
  849. end
  850. end)
  851. end
  852. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  853. for _, c in pairs(workspace:children()) do
  854. local hum = c:findFirstChild("Humanoid")
  855. if hum ~= nil then
  856. local head = c:findFirstChild("Head")
  857. if head ~= nil then
  858. local targ = head.Position - Part.Position
  859. local mag = targ.magnitude
  860. if Magnitude >= mag and c.Name ~= Player.Name then
  861. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, 0, HitSound, HitPitch)
  862. end
  863. end
  864. end
  865. end
  866. end
  867. Handle = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, BrickColor.Random(), "Handle", Vector3.new(0.400000036, 0.400000006, 1.20000005))
  868. HandleWeld = CFuncs.Weld.Create(m, Character["Right Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0921096802, -1.06268024, -0.143123627, 1, 0, 0, 0, -1, 0, 0, 0, -1))
  869. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.28000009, 0.200000003, 0.200000003))
  870. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.503977776, -0.339992523, -5.56945801E-4, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  871. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.840000033))
  872. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.400000006, 0.200000003))
  873. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.0959959, -0.579998016, -0.0817871094, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  874. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 1, 0.400000036))
  875. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.560000062, 0.200000003))
  876. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.0959959, -0.579998016, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  877. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 1, 0.400000036))
  878. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.400000006))
  879. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.303993225, -1.18399811, 0.00179290771, 0, 1, 0, 0, 0, 1, 1, 0, 0))
  880. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 1))
  881. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.60000002, 0.200000003, 0.24000001))
  882. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.69602108, -1.02399826, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  883. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1))
  884. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.60000002, 0.24000001, 0.200000003))
  885. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.696018219, -1.10399246, -0.16178894, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  886. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.400000036))
  887. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.400000066, 0.24000001, 0.400000006))
  888. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.360696793, 0.00178527832, 0.64538765, 0, -0.866025388, 0.500000238, 1, 0, 0, 0, 0.500000238, 0.866025388))
  889. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  890. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.960000217, 0.200000003, 0.24000001))
  891. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.994522095, 0.660827637, -0.00178527832, 0, -0.866025388, -0.500000238, 0, -0.500000238, 0.866025388, -1, 0, 0))
  892. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1))
  893. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.400000006, 0.200000003))
  894. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.0959959, -0.579998016, 0.0782165527, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  895. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 1, 0.400000036))
  896. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.480000079, 0.24000001, 0.400000006))
  897. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.44069862, 0.00178527832, 0.64538765, 0, -0.866025388, 0.500000238, 1, 0, 0, 0, 0.500000238, 0.866025388))
  898. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  899. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.240000039, 0.56400001, 0.200000003))
  900. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.54615593, 0.105833054, -5.56945801E-4, 0, -0.866025388, 0.500000238, 0, 0.500000238, 0.866025388, -1, 0, 0))
  901. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.840000033))
  902. Part1 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.24000001))
  903. PartWeld = CFuncs.Weld.Create(m, Handle, Part1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.143982887, -0.459991455, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  904. CFuncs.Mesh.Create("BlockMesh", Part1, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.800000072, 1))
  905. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  906. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00579071045, -4.09999514, -0.459999084, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  907. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 0.400000036, 0.800000072))
  908. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.28000009, 0.200000003, 0.24000001))
  909. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.69600773, -0.779994965, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  910. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000191, 1))
  911. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.24000001, 0.200000003, 0.24000001))
  912. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0160188675, -0.579998016, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  913. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1))
  914. Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.400000006, 0.200000003))
  915. PartWeld = CFuncs.Weld.Create(m, Handle, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.66395569, -0.739994049, -5.56945801E-4, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  916. CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 1, 0.800000072))
  917. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.240000054, 0.200000003))
  918. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.0999918, -0.579998016, -0.00579071045, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  919. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 1, 0.800000072))
  920. Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.400000006))
  921. PartWeld = CFuncs.Weld.Create(m, Handle, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.69601679, -1.18399429, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  922. CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 1))
  923. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  924. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00579071045, -4.09999704, -0.700000763, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  925. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 0.400000036, 0.800000072))
  926. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.28000009, 0.351999998, 0.24000001))
  927. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.341727257, 0.16400528, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  928. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  929. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.183994293, -1.14399719, -0.158203125, 0, 1, 0, 0, 0, 1, 1, 0, 0))
  930. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000191, 0.800000072, 0.400000036))
  931. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  932. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.183990479, -1.14399338, 0.161781311, 0, 1, 0, 0, 0, 1, 1, 0, 0))
  933. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000191, 0.800000072, 0.400000036))
  934. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.92000008, 0.200000003, 0.24000001))
  935. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.69602108, -1.18399429, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  936. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1))
  937. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.720000148, 0.351999998, 0.24000001))
  938. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.640586853, 0.0887641907, -0.00178527832, 0, -0.965925872, 0.258818984, 0, 0.258818984, 0.965925872, -1, 0, 0))
  939. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.75999987, 0.240000039, 0.24000001))
  940. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.1760211, -0.179992676, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  941. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.960000038, 0.200000003, 0.200000003))
  942. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.663973808, -0.81999588, -5.56945801E-4, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  943. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.800000072))
  944. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.319999993, 0.560000002, 0.24000001))
  945. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.30395985, -0.659992218, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  946. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.720000029, 0.200000003, 0.24000001))
  947. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.69600916, -0.779994965, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  948. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.799999952, 1))
  949. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.24000001, 0.200000003))
  950. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0639743805, -0.179992676, -5.56945801E-4, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  951. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 1, 0.840000033))
  952. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.399999976, 0.24000001))
  953. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.54395485, -0.739994049, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  954. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.799999833, 1, 1))
  955. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.960000038, 0.400000006, 0.24000001))
  956. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.663974762, -0.579998016, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  957. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.28000009, 0.200000003, 0.24000001))
  958. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.69600916, -0.139995575, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  959. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000191, 1))
  960. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.480000019, 0.319999993, 0.200000003))
  961. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.38396263, -0.379989624, -5.56945801E-4, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  962. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000072))
  963. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.320000052, 0.200000003, 0.24000001))
  964. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.023979187, -0.899997711, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  965. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1))
  966. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.12, 0.400000006, 0.24000001))
  967. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.880693436, 0.645389557, -0.00178527832, 0, -0.866025388, 0.500000238, 0, 0.500000238, 0.866025388, -1, 0, 0))
  968. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.20000017, 0.200000003, 0.24000001))
  969. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.11452484, 0.796833038, -0.00178527832, 0, -0.866025388, -0.500000238, 0, -0.500000238, 0.866025388, -1, 0, 0))
  970. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.960000098, 1))
  971. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.43599987, 0.488000005, 0.200000003))
  972. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.77400494, -0.460571289, -0.00179290771, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  973. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000072))
  974. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.60000002, 0.24000001, 0.200000003))
  975. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.696018219, -1.10399246, 0.158210754, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  976. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.400000036))
  977. Part24 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.84000003, 0.320000023, 0.200000003))
  978. PartWeld = CFuncs.Weld.Create(m, Handle, Part24, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.13602066, -0.456577301, -0.00179290771, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  979. CFuncs.Mesh.Create("BlockMesh", Part24, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000072))
  980. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.560000062, 0.200000003, 0.24000001))
  981. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.77600718, -0.619998932, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  982. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.799999952, 1))
  983. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.240000159, 0.200000003, 0.200000003))
  984. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0960187912, -0.299991608, -5.56945801E-4, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  985. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.800000072))
  986. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  987. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.57601833, -1.14399338, -0.16178894, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  988. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000191, 0.800000072, 0.400000036))
  989. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(2.24000001, 0.240000039, 0.24000001))
  990. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.936019897, -0.740001678, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  991. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.24000001))
  992. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0239887238, -0.947994232, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  993. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 0.400000036, 1))
  994. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.24000001))
  995. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.41601658, -0.947994232, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  996. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 0.400000036, 1))
  997. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.559999943, 0.200000003, 0.200000003))
  998. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.303974152, -0.0199928284, -5.56945801E-4, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  999. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.840000033))
  1000. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.800000012, 0.24000001, 0.200000003))
  1001. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.697479248, -0.204208374, -5.56945801E-4, 0, -0.866025388, -0.500000238, 0, -0.500000238, 0.866025388, -1, 0, 0))
  1002. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000072))
  1003. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.43999994, 0.200000003, 0.24000001))
  1004. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.696018219, -0.899993896, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  1005. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1))
  1006. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.27999985, 0.320000023, 0.24000001))
  1007. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.69599819, -0.379993439, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  1008. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.24000001))
  1009. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0960140228, -0.459991455, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  1010. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000066, 0.800000072, 1))
  1011. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.43999994, 0.200000003, 0.200000003))
  1012. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.696018219, -0.979995728, 0.00221252441, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  1013. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.720000088))
  1014. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.320000052, 0.200000003, 0.24000001))
  1015. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.41601706, -0.900001526, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  1016. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1))
  1017. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.720000148, 0.200000003, 0.200000003))
  1018. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.783975601, -0.299995422, -5.56945801E-4, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  1019. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.800000072))
  1020. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.720000029, 0.24000001, 0.24000001))
  1021. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.69600821, -0.419994354, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  1022. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1023. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.57601833, -1.14399338, 0.158210754, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  1024. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000191, 0.800000072, 0.400000036))
  1025. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1026. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.16178894, -1.69601536, -1.10400009, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1027. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036))
  1028. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1029. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.158210754, -0.303990364, -1.10399246, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  1030. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036))
  1031. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.480000019, 0.320000023))
  1032. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, -0.376020432, -0.459991455, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1033. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1034. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.320000023, 0.200000003))
  1035. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, 0.376021385, 0.379989624, 1, 0, 0, 0, -1, 0, 0, 0, -1))
  1036. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000072))
  1037. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1038. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.16178894, -0.303990364, -1.10399246, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  1039. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036))
  1040. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.319999993))
  1041. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, 0.339988708, 1.30396938, 1, 0, 0, 0, 0, -1, 0, 1, 0))
  1042. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1))
  1043. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003))
  1044. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00178527832, -0.023979187, -0.459991455, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  1045. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.800000072))
  1046. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  1047. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00178527832, -0.183997154, -1.02399826, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  1048. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.400000036))
  1049. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1050. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.09599924, -0.0782165527, -0.340000153, 0, -1, 0, 1, 0, 0, 0, 0, 1))
  1051. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036))
  1052. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003))
  1053. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00178527832, 0.143980026, 0.579998016, -1, 0, 0, 0, 1, 0, 0, 0, -1))
  1054. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.400000036))
  1055. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.239999995))
  1056. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00178527832, -0.819999695, 0.303976059, -1, 0, 0, 0, 0, 1, 0, 1, 0))
  1057. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1))
  1058. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003))
  1059. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00178527832, -0.143980026, -0.579998016, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  1060. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.400000036))
  1061. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003))
  1062. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, -0.459991455, -0.023979187, 1, 0, 0, 0, 0, 1, 0, -1, 0))
  1063. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.800000072))
  1064. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003))
  1065. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, 3.45600224, 0.579998016, 1, 0, 0, 0, -1, 0, 0, 0, -1))
  1066. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.400000036))
  1067. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1068. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.09599924, -0.0817871094, -0.340000153, 0, 1, 0, -1, 0, 0, 0, 0, 1))
  1069. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036))
  1070. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.248000011, 0.320000023, 0.200000003))
  1071. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, -0.296023369, -0.477993011, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1072. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.980000019))
  1073. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.320000023, 0.24000001))
  1074. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, 1.89601326, 0.419994354, 1, 0, 0, 0, -1, 0, 0, 0, -1))
  1075. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1076. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003))
  1077. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00178527832, 3.4560008, -0.659992218, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  1078. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.400000036))
  1079. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.239999995))
  1080. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, -0.859996796, -1.02396774, 1, 0, 0, 0, 0, 1, 0, -1, 0))
  1081. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 1))
  1082. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003))
  1083. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00178527832, 0.0960197449, -0.339992523, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  1084. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.400000036))
  1085. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  1086. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, -1.57602215, -1.02399826, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1087. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.400000036))
  1088. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003))
  1089. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, 0.299995422, 1.22396374, 1, 0, 0, 0, 0, -1, 0, 1, 0))
  1090. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.800000072))
  1091. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 1.20000005, 0.200000003))
  1092. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00178527832, -1.13601112, 0.379993439, -1, 0, 0, 0, 1, 0, 0, 0, -1))
  1093. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000072))
  1094. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.248000011, 0.22800003, 0.200000003))
  1095. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00178527832, 0.0220222473, -0.477993011, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  1096. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.980000019))
  1097. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0.80000001192093, "Toothpaste", "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003))
  1098. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, -1.69601536, -1.10400009, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1099. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.400000036))
  1100. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1101. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.09599543, -0.0782165527, 0.81999588, 0, 1, 0, 1, 0, 0, 0, 0, -1))
  1102. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036))
  1103. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1104. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.158210754, -1.69601536, -1.10400009, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1105. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036))
  1106. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.320000023, 0.200000003))
  1107. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(5.56945801E-4, 0.379993439, 1.66396999, 1, 0, 0, 0, 0, -1, 0, 1, 0))
  1108. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 1, 0.400000036))
  1109. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.24000001, 0.200000003))
  1110. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, 0.179988861, -0.2560215, 1, 0, 0, 0, 0, -1, 0, 1, 0))
  1111. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.400000036))
  1112. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1113. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.09599543, -0.0817871094, 0.81999588, 0, -1, 0, -1, 0, 0, 0, 0, -1))
  1114. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036))
  1115. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.239999995))
  1116. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00178527832, 0.299995422, -1.02396679, -1, 0, 0, 0, 0, -1, 0, -1, 0))
  1117. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 1))
  1118. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003))
  1119. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, 0.459991455, 1.54396248, 1, 0, 0, 0, 0, -1, 0, 1, 0))
  1120. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.799999952))
  1121. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.320000023, 0.200000003))
  1122. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, -2.21600771, -0.659992218, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1123. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.400000036))
  1124. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.640000045, 0.319999933))
  1125. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.56945801E-4, 0.299995422, 0.136026382, -1, 0, 0, 0, 0, -1, 0, -1, 0))
  1126. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.840000153, 1, 1))
  1127. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.239999995))
  1128. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(5.56945801E-4, -0.899993896, -1.02397919, 1, 0, 0, 0, 0, 1, 0, -1, 0))
  1129. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 0.400000036, 1))
  1130. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.720000029, 0.239999995))
  1131. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, -3.69600487, -0.17999649, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1132. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1133. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0.80000001192093, "Toothpaste", "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003))
  1134. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00178527832, -0.303975105, -1.10400009, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  1135. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.400000036))
  1136. Barrel = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, BrickColor.Random(), "Barrel", Vector3.new(0.200000003, 0.200000003, 0.600000024))
  1137. BarrelWeld = CFuncs.Weld.Create(m, Handle, Barrel, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00579071045, -4.09999704, -0.500003815, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1138. CFuncs.Mesh.Create("CylinderMesh", Barrel, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 0.400000036, 0.800000072))
  1139. JetpackHandle = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "JetpackHandle", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1140. JetpackHandleWeld = CFuncs.Weld.Create(m, Character.Torso, JetpackHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(7.62939453E-6, -0.400000662, -2.30000019, 0.999999821, -3.64178788E-7, -8.94072372E-8, 3.63716538E-7, 1, 7.422572E-10, 2.98025853E-8, -1.13686838E-13, 0.999999881))
  1141. EffectPartR1 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "EffectPartR1", Vector3.new(0.5, 0.5, 0.300000012))
  1142. EffectPartR1Weld = CFuncs.Weld.Create(m, JetpackHandle, EffectPartR1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.09364891, -0.187623501, -0.0701560974, 0.906307757, 3.29325474E-7, -0.422617853, -0.144542456, 0.939694047, -0.309971899, 0.397131324, 0.34201628, 0.851652086))
  1143. EffectPartL1 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "EffectPartL1", Vector3.new(0.5, 0.5, 0.300000012))
  1144. EffectPartL1Weld = CFuncs.Weld.Create(m, JetpackHandle, EffectPartL1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.02251816, -0.220495224, 0.120153427, 0.965927601, 1.32644391E-6, 0.258812487, 0.0885165557, 0.939698577, -0.330363601, -0.243205622, 0.342014492, 0.907681763))
  1145. EffectPartR2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "EffectPartR2", Vector3.new(0.5, 0.5, 0.300000012))
  1146. EffectPartR2Weld = CFuncs.Weld.Create(m, JetpackHandle, EffectPartR2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.093647, 0.123265266, 0.0195560455, 0.906307757, 3.29325474E-7, -0.422617853, -0.109380148, 0.965926826, -0.234566003, 0.408217847, 0.25881511, 0.875427186))
  1147. EffectPartL2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "EffectPartL2", Vector3.new(0.5, 0.5, 0.300000012))
  1148. EffectPartL2Weld = CFuncs.Weld.Create(m, JetpackHandle, EffectPartL2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.02252197, 0.0983912945, 0.212385654, 0.96592772, 1.15327362E-6, 0.258813411, 0.0669838786, 0.965926588, -0.249997437, -0.249995068, 0.258815855, 0.933015227))
  1149. EffectPartL3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "EffectPartL3", Vector3.new(0.400000006, 0.5, 0.300000012))
  1150. EffectPartL3Weld = CFuncs.Weld.Create(m, JetpackHandle, EffectPartL3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.86114502, 1.02306592, -0.343766928, 0.981060922, -0.0278283078, 0.19168894, -0.0858270004, 0.824720919, 0.558989346, -0.173645675, -0.56485492, 0.806713104))
  1151. EffectPartR3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "EffectPartR3", Vector3.new(0.400000006, 0.5, 0.300000012))
  1152. EffectPartR3Weld = CFuncs.Weld.Create(m, JetpackHandle, EffectPartR3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.83058548, 1.0264864, -0.312187195, 0.981061339, 0.0278254021, -0.191695988, 0.0858334452, 0.824721098, 0.558989942, 0.173649624, -0.564855158, 0.806710064))
  1153. CFuncs.Mesh.Create("SpecialMesh", JetpackHandle, Enum.MeshType.FileMesh, "rbxassetid://665940542", Vector3.new(0, 0, 0), Vector3.new(1.29999995, 1.29999995, 1.29999995))
  1154. JetpackHandle.Mesh.TextureId = "rbxassetid://665940699"
  1155. EffectModel = Create("Model")({Parent = Character, Name = "Effects"})
  1156. Effects = {
  1157. Block = {
  1158. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1159. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1160. prt.Anchored = true
  1161. prt.CFrame = cframe
  1162. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1163. game:GetService("Debris"):AddItem(prt, 10)
  1164. if Type == 1 or Type == nil then
  1165. table.insert(Effects, {
  1166. prt,
  1167. "Block1",
  1168. delay,
  1169. x3,
  1170. y3,
  1171. z3,
  1172. msh
  1173. })
  1174. elseif Type == 2 then
  1175. table.insert(Effects, {
  1176. prt,
  1177. "Block2",
  1178. delay,
  1179. x3,
  1180. y3,
  1181. z3,
  1182. msh
  1183. })
  1184. end
  1185. end
  1186. },
  1187. Cylinder = {
  1188. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1189. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  1190. prt.Anchored = true
  1191. prt.CFrame = cframe
  1192. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1193. game:GetService("Debris"):AddItem(prt, 2)
  1194. Effects[#Effects + 1] = {
  1195. prt,
  1196. "Cylinder",
  1197. delay,
  1198. x3,
  1199. y3,
  1200. z3,
  1201. msh
  1202. }
  1203. end
  1204. },
  1205. Head = {
  1206. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1207. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1208. prt.Anchored = true
  1209. prt.CFrame = cframe
  1210. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1211. game:GetService("Debris"):AddItem(prt, 10)
  1212. table.insert(Effects, {
  1213. prt,
  1214. "Cylinder",
  1215. delay,
  1216. x3,
  1217. y3,
  1218. z3,
  1219. msh
  1220. })
  1221. end
  1222. },
  1223. Sphere = {
  1224. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1225. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1226. prt.Anchored = true
  1227. prt.CFrame = cframe
  1228. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1229. game:GetService("Debris"):AddItem(prt, 10)
  1230. table.insert(Effects, {
  1231. prt,
  1232. "Cylinder",
  1233. delay,
  1234. x3,
  1235. y3,
  1236. z3,
  1237. msh
  1238. })
  1239. end
  1240. },
  1241. Elect = {
  1242. Create = function(cff, x, y, z)
  1243. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
  1244. prt.Anchored = true
  1245. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  1246. prt.CFrame = CFrame.new(prt.Position)
  1247. game:GetService("Debris"):AddItem(prt, 2)
  1248. local xval = math.random() / 2
  1249. local yval = math.random() / 2
  1250. local zval = math.random() / 2
  1251. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  1252. table.insert(Effects, {
  1253. prt,
  1254. "Elec",
  1255. 0.1,
  1256. x,
  1257. y,
  1258. z,
  1259. xval,
  1260. yval,
  1261. zval
  1262. })
  1263. end
  1264. },
  1265. Ring = {
  1266. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1267. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1268. prt.Anchored = true
  1269. prt.CFrame = cframe
  1270. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1271. game:GetService("Debris"):AddItem(prt, 10)
  1272. table.insert(Effects, {
  1273. prt,
  1274. "Cylinder",
  1275. delay,
  1276. x3,
  1277. y3,
  1278. z3,
  1279. msh
  1280. })
  1281. end
  1282. },
  1283. Wave = {
  1284. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1285. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1286. prt.Anchored = true
  1287. prt.CFrame = cframe
  1288. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1289. game:GetService("Debris"):AddItem(prt, 10)
  1290. table.insert(Effects, {
  1291. prt,
  1292. "Cylinder",
  1293. delay,
  1294. x3,
  1295. y3,
  1296. z3,
  1297. msh
  1298. })
  1299. end
  1300. },
  1301. Break = {
  1302. Create = function(brickcolor, cframe, x1, y1, z1)
  1303. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1304. prt.Anchored = true
  1305. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1306. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1307. local num = math.random(10, 50) / 1000
  1308. game:GetService("Debris"):AddItem(prt, 10)
  1309. table.insert(Effects, {
  1310. prt,
  1311. "Shatter",
  1312. num,
  1313. prt.CFrame,
  1314. math.random() - math.random(),
  1315. 0,
  1316. math.random(50, 100) / 100
  1317. })
  1318. end
  1319. },
  1320. Fire = {
  1321. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  1322. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1323. prt.Anchored = true
  1324. prt.CFrame = cframe
  1325. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1326. game:GetService("Debris"):AddItem(prt, 10)
  1327. table.insert(Effects, {
  1328. prt,
  1329. "Fire",
  1330. delay,
  1331. 1,
  1332. 1,
  1333. 1,
  1334. msh
  1335. })
  1336. end
  1337. },
  1338. FireWave = {
  1339. Create = function(brickcolor, cframe, x1, y1, z1)
  1340. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  1341. prt.Anchored = true
  1342. prt.CFrame = cframe
  1343. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1344. local d = Create("Decal")({
  1345. Parent = prt,
  1346. Texture = "rbxassetid://26356434",
  1347. Face = "Top"
  1348. })
  1349. local d = Create("Decal")({
  1350. Parent = prt,
  1351. Texture = "rbxassetid://26356434",
  1352. Face = "Bottom"
  1353. })
  1354. game:GetService("Debris"):AddItem(prt, 10)
  1355. table.insert(Effects, {
  1356. prt,
  1357. "FireWave",
  1358. 1,
  1359. 30,
  1360. math.random(400, 600) / 100,
  1361. msh
  1362. })
  1363. end
  1364. },
  1365. Lightning = {
  1366. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  1367. local magz = (p0 - p1).magnitude
  1368. local curpos = p0
  1369. local trz = {
  1370. -ofs,
  1371. ofs
  1372. }
  1373. for i = 1, tym do
  1374. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  1375. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  1376. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  1377. li.Material = "Neon"
  1378. if tym == i then
  1379. local magz2 = (curpos - p1).magnitude
  1380. li.Size = Vector3.new(th, th, magz2)
  1381. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  1382. table.insert(Effects, {
  1383. li,
  1384. "Disappear",
  1385. last
  1386. })
  1387. else
  1388. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  1389. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  1390. game.Debris:AddItem(li, 10)
  1391. table.insert(Effects, {
  1392. li,
  1393. "Disappear",
  1394. last
  1395. })
  1396. end
  1397. end
  1398. end
  1399. },
  1400. EffectTemplate = {}
  1401. }
  1402. function Bullet(Part)
  1403. local bullet = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 0, BrickColor.new("Black"), "Bullet", Vector3.new())
  1404. local bmsh = CFuncs.Mesh.Create("CylinderMesh", bullet, "", "", Vector3.new(0, 0, 0), Vector3.new(1.3, 1.5, 1.3))
  1405. bullet.CanCollide = true
  1406. bullet.CFrame = Part.CFrame * CFrame.new(math.random(-100, 100) / 100, math.random(-100, 100) / 100, math.random(-100, 100) / 100)
  1407. bullet.Velocity = Torso.CFrame.lookVector * math.random(10, 40) + Vector3.new(1, 0, 0) * math.random(0, 1000) / 100 + Vector3.new(0, 1, 0) * math.random(0, 1000) / 100 + Vector3.new(0, 0, 1) * math.random(0, 1000) / 100
  1408. game:GetService("Debris"):AddItem(bullet, 3)
  1409. end
  1410. function Shootcombo()
  1411. local MouseLook = CFrame.new((Barrel.Position + Mouse.Hit.p) / 2, Mouse.Hit.p)
  1412. CFuncs.Sound.Create("186083909", Barrel, 1, 1.2)
  1413. CFuncs.Sound.Create("406722373", Barrel, 1, 1.1)
  1414. Effects.Sphere.Create(BrickColor.new("Really red"), Barrel.CFrame, 0.5, 0.5, 0.5, 1, 1, 1, 0.09)
  1415. Effects.Sphere.Create(BrickColor.new("Really red"), Barrel.CFrame, 1, 1, 1, 2, 2, 2, 0.09)
  1416. Effects.Block.Create(BrickColor.new("Really red"), Barrel.CFrame, 1, 1, 1, 2, 2, 2, 0.09, 1)
  1417. table.insert(Effects, {
  1418. MouseLook.lookVector,
  1419. "Shoot",
  1420. 30,
  1421. Barrel.Position,
  1422. 6,
  1423. 8,
  1424. 0,
  1425. 1
  1426. })
  1427. end
  1428. function Bolt()
  1429. for i = 0, 1, 0.13 do
  1430. swait()
  1431. PlayAnimationFromTable({
  1432. CFrame.new(-0.319091141, -0.800000012, -0.20328027, 0.422617137, 0, -0.906308293, 0, 1, 0, 0.906308293, 0, 0.422617137) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1433. CFrame.new(0, 1.49998784, 0, 0.866023839, 0, 0.500000119, 0, 1, 0, -0.500000119, 0, 0.866023839) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1434. CFrame.new(0.998740196, 0.416736871, -0.5858199, 0.422617137, 0.851651311, -0.309975445, 0, -0.342019916, -0.939692736, -0.906308293, 0.397130251, -0.144543469) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1435. CFrame.new(-1.29375136, 1.10341132, -0.830147505, 0.627507746, 0.439378917, -0.642791271, -0.234787911, -0.680352092, -0.694258928, -0.742367566, 0.586572289, -0.323765248) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1436. CFrame.new(0.610143065, -1.6490345, 0.494668663, 0.984807849, -3.09944153E-6, -0.173640966, 0.157373026, 0.422616184, 0.892542183, 0.0733809769, -0.90630877, 0.416197568) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1437. CFrame.new(-0.849825501, -1.36450362, -0.291514039, 0.866527259, 0.0320672095, 0.498098612, -0.0868243203, 0.992404044, 0.0871554837, -0.491520047, -0.11876969, 0.86272943) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1438. }, 0.4, false)
  1439. end
  1440. Bullet(Handle)
  1441. CFuncs.Sound.Create("318369098", Handle, 1, 1.1)
  1442. for i = 0, 1, 0.2 do
  1443. swait()
  1444. PlayAnimationFromTable({
  1445. CFrame.new(-0.319091141, -0.800000012, -0.20328027, 0.422617137, 0, -0.906308293, 0, 1, 0, 0.906308293, 0, 0.422617137) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1446. CFrame.new(0, 1.49998784, 0, 0.939692438, 0, 0.342020601, 0, 1, 0, -0.342020601, 0, 0.939692438) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1447. CFrame.new(1.1690712, 0.348333716, -0.506393492, 0.422617137, 0.851651311, -0.309975445, 0, -0.342019916, -0.939692736, -0.906308293, 0.397130251, -0.144543469) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1448. CFrame.new(-0.816940069, 1.04093611, -0.407359332, 0.739941239, 0.198263437, -0.642789721, -0.453320742, -0.559019029, -0.694260836, -0.496978402, 0.805101991, -0.323764324) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1449. CFrame.new(0.61014241, -1.64903653, 0.494667768, 0.984807849, -3.09944153E-6, -0.173640966, 0.157373026, 0.422616184, 0.892542183, 0.0733809769, -0.90630877, 0.416197568) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1450. CFrame.new(-0.849824548, -1.3645035, -0.29151243, 0.866527259, 0.0320672095, 0.498098612, -0.0868243203, 0.992404044, 0.0871554837, -0.491520047, -0.11876969, 0.86272943) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1451. }, 0.35, false)
  1452. end
  1453. CFuncs.Sound.Create("318369288", Handle, 1, 1.1)
  1454. for i = 0, 1, 0.13 do
  1455. swait()
  1456. PlayAnimationFromTable({
  1457. CFrame.new(-0.319091141, -0.800000012, -0.20328027, 0.422617137, 0, -0.906308293, 0, 1, 0, 0.906308293, 0, 0.422617137) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1458. CFrame.new(0, 1.49998784, 0, 0.866023839, 0, 0.500000119, 0, 1, 0, -0.500000119, 0, 0.866023839) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1459. CFrame.new(0.998740196, 0.416736871, -0.5858199, 0.422617137, 0.851651311, -0.309975445, 0, -0.342019916, -0.939692736, -0.906308293, 0.397130251, -0.144543469) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1460. CFrame.new(-1.29375136, 1.10341132, -0.830147505, 0.627507746, 0.439378917, -0.642791271, -0.234787911, -0.680352092, -0.694258928, -0.742367566, 0.586572289, -0.323765248) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1461. CFrame.new(0.610143065, -1.6490345, 0.494668663, 0.984807849, -3.09944153E-6, -0.173640966, 0.157373026, 0.422616184, 0.892542183, 0.0733809769, -0.90630877, 0.416197568) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1462. CFrame.new(-0.849825501, -1.36450362, -0.291514039, 0.866527259, 0.0320672095, 0.498098612, -0.0868243203, 0.992404044, 0.0871554837, -0.491520047, -0.11876969, 0.86272943) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1463. }, 0.4, false)
  1464. end
  1465. end
  1466. function SpinShot()
  1467. attack = true
  1468. for i = 0, 1, 0.12 do
  1469. swait()
  1470. PlayAnimationFromTable({
  1471. CFrame.new(-0.33084622, -0.304918617, -0.52869457, 0.342018992, 2.44630968E-7, -0.939693093, 0.163176, 0.98480773, 0.0593912415, 0.925417006, -0.173648283, 0.336822927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1472. CFrame.new(0.0322597921, 1.48268783, -0.0930604339, 0.322602183, 0.14004983, 0.936116517, -0.172989488, 0.981059611, -0.0871584788, -0.930592477, -0.133820817, 0.340719253) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1473. CFrame.new(0.506988645, 0.377255857, -0.803069711, 0.259420365, 0.955582082, -0.139867067, 0.0992426202, -0.170435682, -0.980358601, -0.960651875, 0.240444362, -0.139049053) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1474. CFrame.new(-1.72998452, 0.495006025, -0.392647803, 0.542880952, 0.410539567, 0.732626021, 0.737672389, 0.183852568, -0.649647713, -0.4013969, 0.893121183, -0.203034982) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1475. CFrame.new(0.502950907, -1.9151485, 0.231621087, 0.864151537, 0.0236141682, -0.502677977, 0.0515102148, 0.989501238, 0.135033786, 0.50058949, -0.142582476, 0.853862286) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1476. CFrame.new(-0.865711927, -1.63087702, -0.282848835, 0.925415218, 0.173649043, 0.336827427, -0.163176641, 0.98480773, -0.0593916178, -0.342023462, -4.54019755E-7, 0.939691782) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1477. }, 0.35, false)
  1478. end
  1479. Shootcombo()
  1480. for i = 0, 1, 0.3 do
  1481. swait()
  1482. RootPart.Velocity = RootPart.CFrame.lookVector * -10
  1483. PlayAnimationFromTable({
  1484. CFrame.new(-0.330845773, -0.378038257, 0.581278205, 0.342019081, 5.60612747E-8, -0.939693093, -0.0819000229, 0.996194661, -0.0298090074, 0.936117232, 0.0871561244, 0.340717614) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1485. CFrame.new(0.0322549939, 1.48268545, -0.0930609033, 0.239786834, -0.113366202, 0.964181364, -0.164735377, 0.974004149, 0.155488253, -0.95675236, -0.196119189, 0.214875787) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1486. CFrame.new(0.806416035, 0.470317304, -0.694097638, 0.244436547, 0.969400585, 0.0226592347, 0.0830115676, 0.00236219168, -0.996545851, -0.9661057, 0.245473176, -0.079894051) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1487. CFrame.new(-1.57694697, 0.512434185, -0.230538517, 0.760710716, 0.410538197, 0.502765059, 0.470990688, 0.1838523, -0.862764716, -0.44662869, 0.893119931, -0.0535021573) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1488. CFrame.new(0.865904212, -1.71960115, 0.0648829341, 0.881422341, -0.173719466, -0.439225137, 0.290622324, 0.932511985, 0.214389697, 0.372338951, -0.316616565, 0.872420609) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1489. CFrame.new(-0.679471731, -1.82845092, -0.362076759, 0.770665169, -0.0483331755, 0.635404408, -0.0295864344, 0.993330181, 0.111444041, -0.63655293, -0.104685426, 0.764095306) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1490. }, 0.5, false)
  1491. end
  1492. for i = 0, 1, 0.12 do
  1493. swait()
  1494. PlayAnimationFromTable({
  1495. CFrame.new(-0.33084622, -0.304918617, -0.52869457, 0.342018992, 2.44630968E-7, -0.939693093, 0.163176, 0.98480773, 0.0593912415, 0.925417006, -0.173648283, 0.336822927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1496. CFrame.new(0.0322597921, 1.48268783, -0.0930604339, 0.322602183, 0.14004983, 0.936116517, -0.172989488, 0.981059611, -0.0871584788, -0.930592477, -0.133820817, 0.340719253) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1497. CFrame.new(0.506988645, 0.377255857, -0.803069711, 0.259420365, 0.955582082, -0.139867067, 0.0992426202, -0.170435682, -0.980358601, -0.960651875, 0.240444362, -0.139049053) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1498. CFrame.new(-1.72998452, 0.495006025, -0.392647803, 0.542880952, 0.410539567, 0.732626021, 0.737672389, 0.183852568, -0.649647713, -0.4013969, 0.893121183, -0.203034982) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1499. CFrame.new(0.502950907, -1.9151485, 0.231621087, 0.864151537, 0.0236141682, -0.502677977, 0.0515102148, 0.989501238, 0.135033786, 0.50058949, -0.142582476, 0.853862286) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1500. CFrame.new(-0.865711927, -1.63087702, -0.282848835, 0.925415218, 0.173649043, 0.336827427, -0.163176641, 0.98480773, -0.0593916178, -0.342023462, -4.54019755E-7, 0.939691782) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1501. }, 0.4, false)
  1502. end
  1503. Bolt()
  1504. attack = false
  1505. end
  1506. function LungeShot(Mode)
  1507. attack = true
  1508. Humanoid.Jump = true
  1509. CFuncs.Sound.Create("158149887", Torso, 1, 0.9)
  1510. if Mode == "Forward" then
  1511. RootPart.Velocity = RootPart.CFrame.lookVector * 80
  1512. for i = 0, 1, 0.1 do
  1513. swait()
  1514. PlayAnimationFromTable({
  1515. CFrame.new(-3.81469727E-6, 0.0628450513, 0.146824121, 1, 0, 0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20), 0, 0),
  1516. CFrame.new(0, 1.49998665, -2.20537186E-6, 1, 0, 0, 0, 0.984807312, 0.173648536, 0, -0.173648536, 0.984807312) * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(20), 0, 0),
  1517. CFrame.new(0.523067951, 0.10826005, -0.698177814, 0.296512067, 0.787702143, 0.540005624, 0.206982568, 0.498990804, -0.84152633, -0.932329774, 0.361294419, -0.0150838122) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1518. CFrame.new(-1.42747557, -0.117001235, -0.482704312, 0.268235743, 0.0413863063, 0.962466657, 0.56728673, 0.800693691, -0.192532867, -0.778610408, 0.597635567, 0.191299409) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1519. CFrame.new(0.499998361, -1.51702964, -0.129410475, 0.984807849, 0, -0.173648044, 0.0449435376, 0.965925634, 0.25488764, 0.167731121, -0.258819699, 0.951251149) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1520. CFrame.new(-0.500004053, -1.35084605, -0.555529714, 0.981060445, 0.0871543288, 0.172987863, -0.140045926, 0.936115682, 0.322606146, -0.133820146, -0.340722382, 0.930591524) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1521. }, 0.3, false)
  1522. end
  1523. elseif Mode == "Backward" then
  1524. RootPart.Velocity = RootPart.CFrame.lookVector * -80
  1525. for i = 0, 1, 0.1 do
  1526. swait()
  1527. PlayAnimationFromTable({
  1528. CFrame.new(-3.81469727E-6, 0.0628450513, 0.146824121, 1, 0, 0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), 0, 0),
  1529. CFrame.new(0, 1.49998665, -2.20537186E-6, 1, 0, 0, 0, 0.984807312, 0.173648536, 0, -0.173648536, 0.984807312) * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), 0, 0),
  1530. CFrame.new(0.523067951, 0.10826005, -0.698177814, 0.296512067, 0.787702143, 0.540005624, 0.206982568, 0.498990804, -0.84152633, -0.932329774, 0.361294419, -0.0150838122) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1531. CFrame.new(-1.42747557, -0.117001235, -0.482704312, 0.268235743, 0.0413863063, 0.962466657, 0.56728673, 0.800693691, -0.192532867, -0.778610408, 0.597635567, 0.191299409) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1532. CFrame.new(0.499998361, -1.51702964, -0.129410475, 0.984807849, 0, -0.173648044, 0.0449435376, 0.965925634, 0.25488764, 0.167731121, -0.258819699, 0.951251149) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1533. CFrame.new(-0.500004053, -1.35084605, -0.555529714, 0.981060445, 0.0871543288, 0.172987863, -0.140045926, 0.936115682, 0.322606146, -0.133820146, -0.340722382, 0.930591524) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1534. }, 0.3, false)
  1535. end
  1536. end
  1537. local hitfloor
  1538. while hitfloor == nil do
  1539. swait()
  1540. hitfloor, posfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 6, Character)
  1541. end
  1542. for i = 0, 1, 0.2 do
  1543. swait()
  1544. PlayAnimationFromTable({
  1545. CFrame.new(-0.330837339, -0.699999928, -0.231655031, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1546. CFrame.new(0.120368131, 1.44721556, -0.255113155, 0.418385565, -0.00512788072, 0.908255041, -0.141075298, 0.987487316, 0.0705598369, -0.897252142, -0.157652482, 0.412421852) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1547. CFrame.new(0.285862863, 0.389394581, -0.81719619, 0.340717524, 0.939693093, 0.0298089981, 0.087155968, 0, -0.996194661, -0.936117232, 0.342018992, -0.081899859) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1548. CFrame.new(-1.69020307, 0.41307798, -0.514919221, 0.800103247, 0.517377436, 0.303571403, 0.255382031, 0.16412276, -0.95280838, -0.542784572, 0.839871705, -8.13782215E-4) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1549. CFrame.new(0.897276342, -1.54715633, 0.463865459, 0.951250672, -0.229007483, -0.206587687, 0.304395527, 0.589249432, 0.748417377, -0.0496615469, -0.774816513, 0.630232751) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1550. CFrame.new(-0.632248044, -1.39177239, -0.405484438, 0.817636669, -0.123517469, 0.562330127, 0.0563425981, 0.989193141, 0.13535662, -0.572972655, -0.0789892152, 0.815760136) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1551. }, 0.4, false)
  1552. end
  1553. Shootcombo()
  1554. for i = 0, 1, 0.3 do
  1555. swait()
  1556. RootPart.Velocity = RootPart.CFrame.lookVector * -40
  1557. PlayAnimationFromTable({
  1558. CFrame.new(-0.330840945, -1.00127292, -0.261750877, 0.342018962, -1.4270141E-7, -0.939693034, -0.243209973, 0.965925992, -0.0885209814, 0.907673895, 0.258818597, 0.330364913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1559. CFrame.new(0.120366111, 1.44719875, -0.255110145, 0.418383747, -0.0842670798, 0.904353142, -0.141075209, 0.977573991, 0.156355858, -0.897247374, -0.192998484, 0.397113085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1560. CFrame.new(0.632638395, 0.661208212, -0.690981925, 0.326495707, 0.925417125, 0.192363232, 0.0858313814, 0.173647493, -0.981060386, -0.941293538, 0.336822778, -0.0227346662) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1561. CFrame.new(-1.51982272, 0.476396978, -0.384689331, 0.81248939, 0.445674956, 0.37581408, 0.350734472, 0.141240373, -0.925762773, -0.46566987, 0.88398242, -0.0415571854) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1562. CFrame.new(0.783671975, -1.17622542, 0.561357141, 0.831630051, -0.23809275, -0.501700282, 0.550981283, 0.240921408, 0.798984766, -0.0693621933, -0.940887034, 0.331542104) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1563. CFrame.new(-0.632252574, -1.39177251, -0.40547961, 0.73177588, -0.317396253, 0.603132486, 0.21459803, 0.947232425, 0.238111958, -0.646885633, -0.0448122993, 0.761271358) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1564. }, 0.6, false)
  1565. end
  1566. for i = 0, 1, 0.2 do
  1567. swait()
  1568. PlayAnimationFromTable({
  1569. CFrame.new(-0.330837339, -0.699999928, -0.231655031, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1570. CFrame.new(0.120368131, 1.44721556, -0.255113155, 0.418385565, -0.00512788072, 0.908255041, -0.141075298, 0.987487316, 0.0705598369, -0.897252142, -0.157652482, 0.412421852) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1571. CFrame.new(0.285862863, 0.389394581, -0.81719619, 0.340717524, 0.939693093, 0.0298089981, 0.087155968, 0, -0.996194661, -0.936117232, 0.342018992, -0.081899859) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1572. CFrame.new(-1.69020307, 0.41307798, -0.514919221, 0.800103247, 0.517377436, 0.303571403, 0.255382031, 0.16412276, -0.95280838, -0.542784572, 0.839871705, -8.13782215E-4) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1573. CFrame.new(0.897276342, -1.54715633, 0.463865459, 0.951250672, -0.229007483, -0.206587687, 0.304395527, 0.589249432, 0.748417377, -0.0496615469, -0.774816513, 0.630232751) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1574. CFrame.new(-0.632248044, -1.39177239, -0.405484438, 0.817636669, -0.123517469, 0.562330127, 0.0563425981, 0.989193141, 0.13535662, -0.572972655, -0.0789892152, 0.815760136) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1575. }, 0.6, false)
  1576. end
  1577. Bolt()
  1578. attack = false
  1579. end
  1580. function AutoShot()
  1581. attack = true
  1582. Humanoid.WalkSpeed = 5
  1583. Bolt()
  1584. for i = 0, 1, 0.3 do
  1585. swait()
  1586. PlayAnimationFromTable({
  1587. CFrame.new(-0.330837339, -0.699999928, -0.231655031, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1588. CFrame.new(0.120368131, 1.44721556, -0.255113155, 0.418385565, -0.00512788072, 0.908255041, -0.141075298, 0.987487316, 0.0705598369, -0.897252142, -0.157652482, 0.412421852) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1589. CFrame.new(0.285862863, 0.389394581, -0.81719619, 0.340717524, 0.939693093, 0.0298089981, 0.087155968, 0, -0.996194661, -0.936117232, 0.342018992, -0.081899859) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1590. CFrame.new(-1.69020307, 0.41307798, -0.514919221, 0.800103247, 0.517377436, 0.303571403, 0.255382031, 0.16412276, -0.95280838, -0.542784572, 0.839871705, -8.13782215E-4) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1591. CFrame.new(0.897276342, -1.54715633, 0.463865459, 0.951250672, -0.229007483, -0.206587687, 0.304395527, 0.589249432, 0.748417377, -0.0496615469, -0.774816513, 0.630232751) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1592. CFrame.new(-0.632248044, -1.39177239, -0.405484438, 0.817636669, -0.123517469, 0.562330127, 0.0563425981, 0.989193141, 0.13535662, -0.572972655, -0.0789892152, 0.815760136) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1593. }, 0.4, false)
  1594. end
  1595. Humanoid.WalkSpeed = 0
  1596. for i = 1, 10 do
  1597. for i = 0, 1, 0.8 do
  1598. swait()
  1599. PlayAnimationFromTable({
  1600. CFrame.new(-0.330837339, -0.699999928, -0.231655031, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1601. CFrame.new(0.120368131, 1.44721556, -0.255113155, 0.418385565, -0.00512788072, 0.908255041, -0.141075298, 0.987487316, 0.0705598369, -0.897252142, -0.157652482, 0.412421852) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1602. CFrame.new(0.285862863, 0.389394581, -0.81719619, 0.340717524, 0.939693093, 0.0298089981, 0.087155968, 0, -0.996194661, -0.936117232, 0.342018992, -0.081899859) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1603. CFrame.new(-1.69020307, 0.41307798, -0.514919221, 0.800103247, 0.517377436, 0.303571403, 0.255382031, 0.16412276, -0.95280838, -0.542784572, 0.839871705, -8.13782215E-4) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1604. CFrame.new(0.897276342, -1.54715633, 0.463865459, 0.951250672, -0.229007483, -0.206587687, 0.304395527, 0.589249432, 0.748417377, -0.0496615469, -0.774816513, 0.630232751) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1605. CFrame.new(-0.632248044, -1.39177239, -0.405484438, 0.817636669, -0.123517469, 0.562330127, 0.0563425981, 0.989193141, 0.13535662, -0.572972655, -0.0789892152, 0.815760136) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1606. }, 0.7, false)
  1607. end
  1608. Shootcombo()
  1609. for i = 0, 1, 0.9 do
  1610. swait()
  1611. PlayAnimationFromTable({
  1612. CFrame.new(-0.330840945, -1.00127292, -0.261750877, 0.342018962, -1.4270141E-7, -0.939693034, -0.243209973, 0.965925992, -0.0885209814, 0.907673895, 0.258818597, 0.330364913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1613. CFrame.new(0.120366111, 1.44719875, -0.255110145, 0.418383747, -0.0842670798, 0.904353142, -0.141075209, 0.977573991, 0.156355858, -0.897247374, -0.192998484, 0.397113085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1614. CFrame.new(0.632638395, 0.661208212, -0.690981925, 0.326495707, 0.925417125, 0.192363232, 0.0858313814, 0.173647493, -0.981060386, -0.941293538, 0.336822778, -0.0227346662) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1615. CFrame.new(-1.51982272, 0.476396978, -0.384689331, 0.81248939, 0.445674956, 0.37581408, 0.350734472, 0.141240373, -0.925762773, -0.46566987, 0.88398242, -0.0415571854) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1616. CFrame.new(0.783671975, -1.17622542, 0.561357141, 0.831630051, -0.23809275, -0.501700282, 0.550981283, 0.240921408, 0.798984766, -0.0693621933, -0.940887034, 0.331542104) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1617. CFrame.new(-0.632252574, -1.39177251, -0.40547961, 0.73177588, -0.317396253, 0.603132486, 0.21459803, 0.947232425, 0.238111958, -0.646885633, -0.0448122993, 0.761271358) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1618. }, 0.8, false)
  1619. end
  1620. for i = 0, 1, 0.8 do
  1621. swait()
  1622. PlayAnimationFromTable({
  1623. CFrame.new(-0.330837339, -0.699999928, -0.231655031, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1624. CFrame.new(0.120368131, 1.44721556, -0.255113155, 0.418385565, -0.00512788072, 0.908255041, -0.141075298, 0.987487316, 0.0705598369, -0.897252142, -0.157652482, 0.412421852) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1625. CFrame.new(0.285862863, 0.389394581, -0.81719619, 0.340717524, 0.939693093, 0.0298089981, 0.087155968, 0, -0.996194661, -0.936117232, 0.342018992, -0.081899859) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1626. CFrame.new(-1.69020307, 0.41307798, -0.514919221, 0.800103247, 0.517377436, 0.303571403, 0.255382031, 0.16412276, -0.95280838, -0.542784572, 0.839871705, -8.13782215E-4) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1627. CFrame.new(0.897276342, -1.54715633, 0.463865459, 0.951250672, -0.229007483, -0.206587687, 0.304395527, 0.589249432, 0.748417377, -0.0496615469, -0.774816513, 0.630232751) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1628. CFrame.new(-0.632248044, -1.39177239, -0.405484438, 0.817636669, -0.123517469, 0.562330127, 0.0563425981, 0.989193141, 0.13535662, -0.572972655, -0.0789892152, 0.815760136) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1629. }, 0.7, false)
  1630. end
  1631. end
  1632. Humanoid.WalkSpeed = 100
  1633. attack = false
  1634. end
  1635. function MortarShot()
  1636. attack = true
  1637. Humanoid.WalkSpeed = 5
  1638. Bolt()
  1639. for i = 0, 1, 0.2 do
  1640. swait()
  1641. PlayAnimationFromTable({
  1642. CFrame.new(-0.00381875038, -1.20960522, -0.0234894156, 0.906307876, 0.271653324, -0.323744416, -0.422617942, 0.582562923, -0.694272697, 0, 0.766045094, 0.64278698) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1643. CFrame.new(-0.0485313386, 1.45186937, 0.12381205, 0.906306446, -0.036834389, 0.421012908, 0.178607732, 0.936241806, -0.302573651, -0.383024782, 0.349420667, 0.855100751) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1644. CFrame.new(1.2566489, 0.0942437202, -0.366937846, 0.866025388, 0.499999881, 0, 0.32139343, -0.556669831, -0.766045094, -0.383022457, 0.663414538, -0.64278698) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1645. CFrame.new(-0.669512153, 0.883427501, -1.42651618, 0.814972997, -0.183017969, 0.54984045, 0.413680524, -0.480712831, -0.773165226, 0.405818164, 0.85756737, -0.316057026) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1646. CFrame.new(0.663835824, -0.644426942, 0.718474984, 0.819152117, -0.0996050313, -0.564861536, 0.496729434, -0.369217664, 0.785454273, -0.28679204, -0.923989952, -0.252968639) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1647. CFrame.new(-0.597848773, -1.58645034, 0.419145882, 0.845831037, -0.0996147096, 0.524067461, -0.385522783, 0.564860702, 0.729592204, -0.368703246, -0.819151759, 0.439372897) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1648. }, 0.4, false)
  1649. end
  1650. for i = 0, 1, 0.3 do
  1651. swait()
  1652. PlayAnimationFromTable({
  1653. CFrame.new(-0.062730819, -1.35083091, -0.0234885216, 0.819151819, 0.368687779, -0.439385623, -0.573576868, 0.52654016, -0.627507091, 0, 0.766044974, 0.642787039) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1654. CFrame.new(-0.0485280529, 1.45187008, 0.123812944, 0.90630585, -0.0368346125, 0.421014428, 0.178608507, 0.936241627, -0.302573681, -0.383025914, 0.349420995, 0.855100214) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1655. CFrame.new(1.37136579, -0.011062175, -0.241436988, 0.866025329, 0.500000238, 0, 0.321393698, -0.556669831, -0.766044974, -0.383022636, 0.663414299, -0.642787039) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1656. CFrame.new(-0.554796219, 0.778117955, -1.30101132, 0.814972818, -0.183016568, 0.549840331, 0.413680822, -0.480712891, -0.773164511, 0.40581724, 0.857566416, -0.316057503) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1657. CFrame.new(0.745755255, -0.594750226, 0.689795136, 0.707485676, 0.0499878898, -0.704957783, 0.604335666, -0.559927046, 0.566798568, -0.366391778, -0.827032924, -0.426349699) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1658. CFrame.new(-0.45294404, -1.60859108, 0.283076108, 0.724484801, -0.4477458, 0.524066269, -0.110680997, 0.674867868, 0.729592919, -0.680348873, -0.586582422, 0.439373374) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1659. }, 0.4, false)
  1660. end
  1661. CFuncs.Sound.Create("300916014", Barrel, 1, 1.2)
  1662. CFuncs.Sound.Create("301031757", Barrel, 1, 1.1)
  1663. Effects.Sphere.Create(BrickColor.random(), Barrel.CFrame, 6, 6, 6, 0, 0, 0, 1, m)
  1664. for i = 1, 60 do
  1665. local hit, pos = rayCast(Barrel.Position, Barrel.CFrame * CFrame.fromEulerAnglesXYZ(0, 5, 0).lookVector, 220, Character)
  1666. local mag = (Barrel.Position - pos).magnitude
  1667. Effects.Cylinder.Create(BrickColor.random(), Barrel.CFrame, 30, 99999, 30, -0.5, 1, -0.5, 0.1)
  1668. local cf2 = Mouse.Hit.p + Vector3.new(math.random(-1500, 1500) / 100, 100, math.random(-1500, 1500) / 100)
  1669. local hit2, pos2 = rayCast(cf2, CFrame.new(cf2, cf2 - Vector3.new(0, 1, 0)).lookVector, 999, Character)
  1670. if hit2 ~= nil then
  1671. local d1 = CFuncs.Part.Create(workspace, "Neon", 0, 0.5, BrickColor.random(), "Effect", Vector3.new())
  1672. d1.Anchored = true
  1673. d1.CFrame = CFrame.new(pos2)
  1674. game:GetService("Debris"):AddItem(d1, 5)
  1675. local msh = CFuncs.Mesh.Create("CylinderMesh", d1, "nil", "nil", Vector3.new(0, 0, 0), Vector3.new(30, 5, 30))
  1676. local d2 = d1:Clone()
  1677. d2.Parent = d1
  1678. d2.CFrame = CFrame.new(d1.Position)
  1679. d2.BrickColor = BrickColor.random()
  1680. d2.Mesh.Scale = Vector3.new(0, 5, 0)
  1681. table.insert(Effects, {
  1682. d1,
  1683. "QuadShot",
  1684. d2,
  1685. d2.Mesh,
  1686. 0
  1687. })
  1688. end
  1689. end
  1690. for i = 0, 1, 0.2 do
  1691. swait()
  1692. PlayAnimationFromTable({
  1693. CFrame.new(-0.00381875038, -1.20960522, -0.0234894156, 0.906307876, 0.271653324, -0.323744416, -0.422617942, 0.582562923, -0.694272697, 0, 0.766045094, 0.64278698) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1694. CFrame.new(-0.0485313386, 1.45186937, 0.12381205, 0.906306446, -0.036834389, 0.421012908, 0.178607732, 0.936241806, -0.302573651, -0.383024782, 0.349420667, 0.855100751) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1695. CFrame.new(1.2566489, 0.0942437202, -0.366937846, 0.866025388, 0.499999881, 0, 0.32139343, -0.556669831, -0.766045094, -0.383022457, 0.663414538, -0.64278698) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1696. CFrame.new(-0.669512153, 0.883427501, -1.42651618, 0.814972997, -0.183017969, 0.54984045, 0.413680524, -0.480712831, -0.773165226, 0.405818164, 0.85756737, -0.316057026) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1697. CFrame.new(0.663835824, -0.644426942, 0.718474984, 0.819152117, -0.0996050313, -0.564861536, 0.496729434, -0.369217664, 0.785454273, -0.28679204, -0.923989952, -0.252968639) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1698. CFrame.new(-0.597848773, -1.58645034, 0.419145882, 0.845831037, -0.0996147096, 0.524067461, -0.385522783, 0.564860702, 0.729592204, -0.368703246, -0.819151759, 0.439372897) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1699. }, 0.4, false)
  1700. end
  1701. Humanoid.WalkSpeed = 100
  1702. attack = false
  1703. end
  1704. function DisappearJetOnly()
  1705. for _, i in pairs(m:children()) do
  1706. if i == JetpackHandle then
  1707. coroutine.resume(coroutine.create(function(Part)
  1708. for i = 0, 1, 0.3 do
  1709. swait()
  1710. Part.Transparency = i
  1711. end
  1712. Part.Transparency = 1
  1713. end), i)
  1714. end
  1715. end
  1716. end
  1717. function ReappearJetOnly()
  1718. for _, i in pairs(m:children()) do
  1719. if i == JetpackHandle then
  1720. coroutine.resume(coroutine.create(function(Part)
  1721. for i = 0, 1, 0.3 do
  1722. swait()
  1723. Part.Transparency = i
  1724. end
  1725. Part.Transparency = 0
  1726. end), i)
  1727. end
  1728. end
  1729. end
  1730. local floornum = 0
  1731. function JetDash()
  1732. attack = true
  1733. ReappearJetOnly()
  1734. Humanoid.WalkSpeed = 5
  1735. CFuncs.Sound.Create("324867021", JetpackHandle, 1, 1)
  1736. CFuncs.Sound.Create("301031757", JetpackHandle, 1, 0.8)
  1737. for i = 0, 1, 0.05 do
  1738. swait()
  1739. Effects.Wave.Create(BrickColor.random(), JetpackHandle.CFrame * CFrame.Angles(2.4, 0, 0), 1, 1, 1, 1, 1, 1, 0.4)
  1740. Effects.Break.Create(BrickColor.random(), EffectPartR3.CFrame, 0.2, 0.2, 0.2)
  1741. Effects.Break.Create(BrickColor.random(), EffectPartL3.CFrame, 0.2, 0.2, 0.2)
  1742. Effects.Block.Create(BrickColor.random(), EffectPartR3.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1)
  1743. Effects.Block.Create(BrickColor.random(), EffectPartL3.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1)
  1744. Effects.Block.Create(BrickColor.random(), EffectPartR2.CFrame, 1, 1, 1, 2, 2, 2, 0.2, 1)
  1745. Effects.Block.Create(BrickColor.random(), EffectPartL2.CFrame, 1, 1, 1, 2, 2, 2, 0.2, 1)
  1746. RootPart.Velocity = RootPart.CFrame.lookVector * 300
  1747. PlayAnimationFromTable({
  1748. CFrame.new(0, -0.436519086, -1.54268694, 1, 0, 0, 0, 0.573575079, 0.81915313, 0, -0.81915313, 0.573575079) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1749. CFrame.new(0, 1.383762, 0.294095755, 1, 0, 0, 0, 0.766045392, -0.642790735, 0, 0.642790735, 0.766045392) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1750. CFrame.new(0.639911652, 0.428372383, -0.839826643, 0.262888074, 0.933915675, 0.242263183, 0.536961675, 0.0669959337, -0.840942383, -0.80159986, 0.351159722, -0.483864516) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1751. CFrame.new(-1.42905915, 0.103630304, -0.677020133, 0.509720683, 0.0942112952, 0.855166197, 0.742046118, 0.45486632, -0.492406994, -0.435376555, 0.885562658, 0.161945611) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1752. CFrame.new(0.598487258, -1.49273849, 0.0829842687, 0.984807909, 7.31955607E-10, -0.173648015, 0.122787923, 0.707105517, 0.696365893, 0.122787446, -0.707108378, 0.696363151) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1753. CFrame.new(-0.599626899, -1.7493062, -0.188390553, 0.996194661, 0, 0.087156795, -0.0298094582, 0.939692497, 0.340719461, -0.0819005892, -0.342020988, 0.936116517) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1754. }, 0.3, false)
  1755. end
  1756. for i = 0, 1, 0.05 do
  1757. swait()
  1758. Effects.Fire.Create(BrickColor.random(), EffectPartL3.CFrame, 3, 3, 3, 0.3)
  1759. Effects.Fire.Create(BrickColor.random(), EffectPartR3.CFrame, 3, 3, 3, 0.3)
  1760. RootPart.Velocity = RootPart.CFrame.lookVector * 90
  1761. PlayAnimationFromTable({
  1762. CFrame.new(-0.313091278, -0.629250288, 0.409977496, 0.422617137, -0.383021861, -0.821394563, 0, 0.906308115, -0.422617614, 0.906308293, 0.178605452, 0.383021355) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1763. CFrame.new(-2.89082527E-6, 1.56999886, -0.169927716, 0.499998629, -0.0754772127, 0.862731218, -0.224145666, 0.950971425, 0.213101521, -0.836516559, -0.29992786, 0.458566666) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1764. CFrame.new(0.639911413, 0.428367913, -0.839831948, 0.262887627, 0.933916271, 0.242261022, 0.536960125, 0.0669948608, -0.840943277, -0.801600933, 0.351158082, -0.483863741) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1765. CFrame.new(-1.42906761, 0.103628337, -0.677013278, 0.509718478, 0.0942142606, 0.85516715, 0.742045939, 0.454867214, -0.4924061, -0.435379177, 0.885561645, 0.161942929) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1766. CFrame.new(0.255052269, -1.74161863, 0.0939150751, 0.973724782, 0.171020329, -0.150378793, -0.13000688, 0.959606647, 0.249509975, 0.186975896, -0.223403811, 0.956624985) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1767. CFrame.new(-0.966920853, -1.65688598, 0.10182327, 0.929320216, 0.24122712, 0.279595017, -0.312094092, 0.917783141, 0.245502412, -0.197385877, -0.315410316, 0.928199947) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1768. }, 0.36, false)
  1769. end
  1770. DisappearJetOnly()
  1771. Humanoid.WalkSpeed = 100
  1772. attack = false
  1773. end
  1774. function findRandomHead(pos)
  1775. local list = game.Workspace:children()
  1776. local head
  1777. local dist = 10000
  1778. local temp, human, temp2
  1779. local list2 = {}
  1780. for x = 1, #list do
  1781. temp2 = list[x]
  1782. if temp2.className == "Model" and temp2.Name ~= Character.Name and temp2.Name ~= "Crystal" then
  1783. temp = temp2:findFirstChild("Head")
  1784. human = temp2:findFirstChild("Humanoid")
  1785. if temp ~= nil and human ~= nil and human.Health > 0 and dist > pos.magnitude then
  1786. local dohit = true
  1787. if dohit == true then
  1788. head = temp
  1789. table.insert(list2, temp)
  1790. end
  1791. end
  1792. end
  1793. end
  1794. if #list2 > 0 then
  1795. rand = math.random(1, #list2)
  1796. return list2[rand], dist
  1797. else
  1798. return nil, dist
  1799. end
  1800. end
  1801. Mouse.Button1Down:connect(function()
  1802. if attack ~= false or attacktype == 1 then
  1803. end
  1804. end)
  1805. Mouse.KeyDown:connect(function(k)
  1806. k = k:lower()
  1807. if attack == false and k == "z" then
  1808. SpinShot()
  1809. elseif attack == false and k == "x" then
  1810. chatfunc("Forward Lunge Shot!") LungeShot("Forward")
  1811. elseif attack == false and k == "c" then
  1812. chatfunc("Backwards Lunge Shot!") LungeShot("Backward")
  1813. elseif attack == false and k == "v" then
  1814. chatfunc("Auto Shot!") AutoShot()
  1815. elseif attack == false and k == "b" then
  1816. chatfunc("Mortar Shot!") MortarShot()
  1817. elseif attack == false and k == "f" then
  1818. chatfunc("Jet Dash!") JetDash()
  1819. end
  1820. end)
  1821. while true do
  1822. swait()
  1823. local aim = CFrame.new(RootPart.Position, Mouse.Hit.p)
  1824. local direction = aim.lookVector
  1825. local headingA = math.atan2(direction.x, direction.z)
  1826. headingA = math.deg(headingA)
  1827. Humanoid.AutoRotate = false
  1828. RootPart.CFrame = CFrame.new(RootPart.Position) * CFrame.Angles(math.rad(0), math.rad(headingA - 180), math.rad(0))
  1829. for i, v in pairs(Character:GetChildren()) do
  1830. if v:IsA("Part") then
  1831. v.Material = "SmoothPlastic"
  1832. elseif v:IsA("Accessory") then
  1833. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1834. end
  1835. end
  1836. Headvelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1837. velocity = RootPart.Velocity.y
  1838. sine = sine + change
  1839. local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  1840. if RootPart.Velocity.y > 1 and hit == nil then
  1841. Anim = "Jump"
  1842. if attack == false then
  1843. PlayAnimationFromTable({
  1844. CFrame.new(0.127259433, -0.0596159771, 0.189378753, 0.965925872, 0.0225571971, 0.257834047, 0.0225579981, 0.985066533, -0.17069003, -0.257833958, 0.170690134, 0.950992465) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1845. CFrame.new(0.0244209729, 1.56254399, -0.173544556, 0.96592474, 0.0225591958, -0.257838368, 0.0449432544, 0.966441274, 0.252925694, 0.254891455, -0.255895257, 0.932495654) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1846. CFrame.new(0.658500612, 0.398768902, -0.862450778, 0.343670964, 0.900792718, 0.265448391, 0.2137326, 0.20021911, -0.956154108, -0.914444566, 0.385337412, -0.123719275) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1847. CFrame.new(-1.43523574, 0.121549249, -0.687813759, 0.410701752, 0.118069187, 0.904092729, 0.739943445, 0.536207557, -0.406159192, -0.532736301, 0.835787892, 0.132856861) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1848. CFrame.new(0.641040266, -1.90806067, 0.227101922, 0.962249994, -0.0841864049, -0.258819878, 0.170085624, 0.928400099, 0.330369651, 0.212475777, -0.361919671, 0.907671988) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1849. CFrame.new(-0.500004053, -1.35084605, -0.555529714, 0.981060445, 0.0871543288, 0.172987863, -0.140045926, 0.936115682, 0.322606146, -0.133820146, -0.340722382, 0.930591524) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1850. }, 0.3, false)
  1851. end
  1852. elseif RootPart.Velocity.y < -1 and hit == nil then
  1853. Anim = "Fall"
  1854. if attack == false then
  1855. PlayAnimationFromTable({
  1856. CFrame.new(0.163334131, -0.0871596038, -0.16742219, 0.867043138, 0.0880189762, 0.490396827, 0.0449440032, 0.966441453, -0.252924889, -0.496202052, 0.24133715, 0.833990455) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1857. CFrame.new(0.0244172066, 1.5625447, -0.17354542, 0.866278768, 0.108875886, -0.487552434, 0.108873315, 0.911355376, 0.396961033, 0.487552851, -0.396960288, 0.777634263) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1858. CFrame.new(0.689669132, 0.354625255, -0.940430343, 0.229587287, 0.87174952, 0.432831228, 0.436280668, 0.305352151, -0.846415639, -0.870028138, 0.383162051, -0.310222536) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1859. CFrame.new(-1.47630322, 0.0475490689, -0.634548545, 0.410701722, 0.118068904, 0.904093027, 0.739943504, 0.536207497, -0.406158984, -0.532736182, 0.835787833, 0.132856965) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1860. CFrame.new(0.720636785, -1.87088692, -0.163134515, 0.96225059, -0.185678095, -0.198991448, 0.170083165, 0.98103714, -0.0929410458, 0.212475047, 0.0555875003, 0.975584149) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1861. CFrame.new(-0.500012517, -1.35084641, -0.555533409, 0.981287122, -0.0532096401, 0.185053408, 0.0246368051, 0.987856567, 0.153402999, -0.190968931, -0.14597322, 0.970681846) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1862. }, 0.3, false)
  1863. end
  1864. elseif Headvelocity < 1 and hit ~= nil then
  1865. Anim = "Idle"
  1866. if attack == false then
  1867. change = 1
  1868. PlayAnimationFromTable({
  1869. CFrame.new(-0.2541008, -0.180074736, -0.241802737, 0.76604414, -1.48394264E-7, -0.642788053, 0.0560230091, 0.996194661, 0.0667653158, 0.640342057, -0.0871560946, 0.763129115) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1870. CFrame.new(1.35600567E-6, 1.49999166, -5.73694706E-7, 0.766043305, -0.0560226552, 0.64034313, -9.31413126E-7, 0.996194601, 0.0871566758, -0.642789006, -0.0667664111, 0.76312834) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1871. CFrame.new(0.965944111, 0.410506815, -0.758076906, 0.409578711, 0.866023779, 0.286785841, 0.370432287, 0.129400983, -0.919802964, -0.833687246, 0.482963026, -0.267803341) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1872. CFrame.new(-1.37906599, 0.100769401, -0.915000141, 0.633367777, 0.168905735, 0.755190313, 0.68845278, 0.322659701, -0.649560332, -0.353385001, 0.931322694, 0.0880800188) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1873. CFrame.new(0.59794265, -2.0041101, -0.0749895424, 0.981711328, -0.0754808784, -0.174771756, 0.0819018856, 0.996202469, 0.0298143364, 0.171854109, -0.04358197, 0.984157085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1874. CFrame.new(-0.786915421, -1.82557595, -0.30038017, 0.813531935, 0.108696118, 0.57126832, -0.062976934, 0.993065894, -0.0992677882, -0.578093946, 0.0447808057, 0.814740956) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1875. }, 0.3, false)
  1876. end
  1877. elseif Headvelocity > 2 and hit ~= nil then
  1878. Anim = "Walk"
  1879. if attack == false then
  1880. change = 3
  1881. PlayAnimationFromTable({
  1882. CFrame.new(0, -0.234493911, -0.148225456, 1, 0, 0, 0, 0.972469866, 0.233028963, 0, -0.233028963, 0.972469866) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.2, math.rad(-10 * math.cos(sine / 10)), 0),
  1883. CFrame.new(0, 1.49999082, 3.57627869E-6, 1, 0, 0, 0, 0.991436481, -0.130595058, 0, 0.130595058, 0.991436481) * CFrame.new(0, 0, 0) * CFrame.Angles(0.15, math.rad(10 * math.cos(sine / 10)), math.rad(-3 * math.cos(sine / 10))),
  1884. CFrame.new(0.678833663, 0.365906566, -0.753261089, 0.337660074, 0.901719749, 0.269976407, 0.271790266, 0.181202337, -0.945143342, -0.901174843, 0.39251405, -0.183893844) * CFrame.new(math.rad(5 * math.cos(sine / 10)), math.rad(-5 * math.cos(sine / 5)), 0) * CFrame.Angles(0, 0, 0),
  1885. CFrame.new(-1.42503321, 0.101834446, -0.631737471, 0.459770948, 0.0983300805, 0.882576883, 0.674444914, 0.607868612, -0.419070512, -0.577697933, 0.787925959, 0.213162094) * CFrame.new(math.rad(5 * math.cos(sine / 10)), math.rad(5 * math.cos(sine / 5)), 0) * CFrame.Angles(0, 0, 0),
  1886. CFrame.new(0.5, -1.85 - 0.5 * math.cos(sine / 8) / 2, 0 + 1.8 * math.sin(sine / 8) / 2) * CFrame.Angles(math.rad(-50 * math.sin(sine / 8)), math.rad(0), math.rad(0)),
  1887. CFrame.new(-0.5, -1.85 + 0.5 * math.cos(sine / 8) / 2, 0 - 1.8 * math.sin(sine / 8) / 2) * CFrame.Angles(math.rad(50 * math.sin(sine / 8)), math.rad(0), math.rad(0))
  1888. }, 0.3, false)
  1889. end
  1890. end
  1891. if 0 < #Effects then
  1892. for e = 1, #Effects do
  1893. if Effects[e] ~= nil then
  1894. local Thing = Effects[e]
  1895. if Thing ~= nil then
  1896. local Part = Thing[1]
  1897. local Mode = Thing[2]
  1898. local Delay = Thing[3]
  1899. local IncX = Thing[4]
  1900. local IncY = Thing[5]
  1901. local IncZ = Thing[6]
  1902. if Thing[2] == "Shoot" then
  1903. local Look = Thing[1]
  1904. local move = 30
  1905. if Thing[8] == 3 then
  1906. move = 10
  1907. end
  1908. local hit, pos = rayCast(Thing[4], Look, move, Character)
  1909. local mag = (Thing[4] - pos).magnitude
  1910. Effects.Cylinder.Create(BrickColor.random(), CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2)
  1911. Thing[4] = Thing[4] + Look * move
  1912. Thing[3] = Thing[3] - 1
  1913. if hit ~= nil then
  1914. Thing[3] = 0
  1915. local target, distance = findNearestHead(pos)
  1916. if hit.Parent:findFirstChild("Humanoid") == nil and target ~= nil and Thing[5] > 0 then
  1917. Thing[3] = 20
  1918. Thing[5] = Thing[5] - 1
  1919. Thing[6] = Thing[6] - 1
  1920. spread = Vector3.new((math.random(-1, 0) + math.random()) * 2, (math.random(-1, 0) + math.random()) * 2, (math.random(-1, 0) + math.random()) * 2) * (pos + target.Position).magnitude / 100
  1921. local MouseLook = CFrame.new((pos + target.Position) / 2, target.Position)
  1922. Thing[1] = MouseLook.lookVector
  1923. end
  1924. if Thing[8] == 1 or Thing[8] == 3 then
  1925. MagnitudeDamage(hit, 5, 15, 25, math.random(5, 10), "Normal", "", 1)
  1926. end
  1927. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.random(), "Reference", Vector3.new())
  1928. ref.Anchored = true
  1929. ref.CFrame = CFrame.new(pos)
  1930. Effects.Sphere.Create(BrickColor.random(), CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
  1931. game:GetService("Debris"):AddItem(ref, 1)
  1932. end
  1933. if Thing[3] <= 0 then
  1934. table.remove(Effects, e)
  1935. end
  1936. end
  1937. if Thing[2] == "FireWave" then
  1938. if Thing[3] <= Thing[4] then
  1939. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  1940. Thing[3] = Thing[3] + 1
  1941. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  1942. else
  1943. Part.Parent = nil
  1944. table.remove(Effects, e)
  1945. end
  1946. end
  1947. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  1948. if Thing[1].Transparency <= 1 then
  1949. if Thing[2] == "Block1" then
  1950. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1951. Mesh = Thing[7]
  1952. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1953. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1954. elseif Thing[2] == "Block2" then
  1955. Thing[1].CFrame = Thing[1].CFrame
  1956. Mesh = Thing[7]
  1957. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1958. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1959. elseif Thing[2] == "Fire" then
  1960. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  1961. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1962. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1963. elseif Thing[2] == "Cylinder" then
  1964. Mesh = Thing[7]
  1965. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1966. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1967. elseif Thing[2] == "Blood" then
  1968. Mesh = Thing[7]
  1969. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  1970. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1971. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1972. elseif Thing[2] == "Elec" then
  1973. Mesh = Thing[10]
  1974. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1975. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1976. elseif Thing[2] == "QuadShot" then
  1977. if Thing[5] < 30 then
  1978. Thing[5] = Thing[5] + 1.5
  1979. Thing[4].Scale = Vector3.new(Thing[5], 5, Thing[5])
  1980. else
  1981. refda = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
  1982. refda.Anchored = true
  1983. refda.CFrame = CFrame.new(Thing[1].Position)
  1984. game:GetService("Debris"):AddItem(refda, 1)
  1985. CFuncs.Sound.Create("300916105", refda, 1, 1.4)
  1986. CFuncs.Sound.Create("315744661", refda, 1, 1)
  1987. MagnitudeDamage(refda, 20, 15, 25, math.random(5, 10), "Normal", "315748999", 1)
  1988. Effects.Cylinder.Create(BrickColor.random(), CFrame.new(refda.Position), 3, 9999, 3, 1, 1, 1, 0.1)
  1989. for i = 1, 3 do
  1990. Effects.Sphere.Create(BrickColor.random(), CFrame.new(refda.Position), 10, 10, 10, 4 * i, 4 * i, 4 * i, 0.08)
  1991. end
  1992. Thing[1].Parent = nil
  1993. table.remove(Effects, e)
  1994. end
  1995. elseif Thing[2] == "Disappear" then
  1996. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1997. elseif Thing[2] == "Shatter" then
  1998. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1999. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2000. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2001. Thing[6] = Thing[6] + Thing[5]
  2002. end
  2003. else
  2004. Part.Parent = nil
  2005. table.remove(Effects, e)
  2006. end
  2007. end
  2008. end
  2009. end
  2010. end
  2011. end
  2012. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement