Advertisement
HenloMyDude

the big UZIDOOZI

Aug 20th, 2019
448
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 209.45 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. do
  4. print("FE Compatibility code by Mokiros")
  5. script.Parent = Player.Character
  6.  
  7. --RemoteEvent for communicating
  8. local Event = Instance.new("RemoteEvent")
  9. Event.Name = "UserInput_Event"
  10.  
  11. --Fake event to make stuff like Mouse.KeyDown work
  12. local function fakeEvent()
  13. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  14. t.connect = t.Connect
  15. return t
  16. end
  17.  
  18. --Creating fake input objects with fake variables
  19. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  20. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  21. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  22. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  23. end}
  24. --Merged 2 functions into one by checking amount of arguments
  25. CAS.UnbindAction = CAS.BindAction
  26.  
  27. --This function will trigger the events that have been :Connect()'ed
  28. local function te(self,ev,...)
  29. local t = m[ev]
  30. if t and t._fakeEvent and t.Function then
  31. t.Function(...)
  32. end
  33. end
  34. m.TrigEvent = te
  35. UIS.TrigEvent = te
  36.  
  37. Event.OnServerEvent:Connect(function(plr,io)
  38. if plr~=Player then return end
  39. if io.isMouse then
  40. m.Target = io.Target
  41. m.Hit = io.Hit
  42. else
  43. local b = io.UserInputState == Enum.UserInputState.Begin
  44. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  45. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  46. end
  47. for _,t in pairs(CAS.Actions) do
  48. for _,k in pairs(t.Keys) do
  49. if k==io.KeyCode then
  50. t.Function(t.Name,io.UserInputState,io)
  51. end
  52. end
  53. end
  54. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  55. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  56. end
  57. end)
  58. Event.Parent = NLS([==[
  59. local Player = game:GetService("Players").LocalPlayer
  60. local Event = script:WaitForChild("UserInput_Event")
  61.  
  62. local UIS = game:GetService("UserInputService")
  63. local input = function(io,a)
  64. if a then return end
  65. --Since InputObject is a client-side instance, we create and pass table instead
  66. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  67. end
  68. UIS.InputBegan:Connect(input)
  69. UIS.InputEnded:Connect(input)
  70.  
  71. local Mouse = Player:GetMouse()
  72. local h,t
  73. --Give the server mouse data 30 times every second, but only if the values changed
  74. --If player is not moving their mouse, client won't fire events
  75. while wait(1/30) do
  76. if h~=Mouse.Hit or t~=Mouse.Target then
  77. h,t=Mouse.Hit,Mouse.Target
  78. Event:FireServer({isMouse=true,Target=t,Hit=h})
  79. end
  80. end]==],Player.Character)
  81. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  82. end
  83.  
  84. ---------Replace All "kermat161" With Your Name
  85. -----------------------------Script In The Line's
  86.  
  87. --TODO: add comments or something idk
  88. wait(0.2)
  89.  
  90. print("Here's controls fat")
  91. print("T - laugh, P - sit, Mouse1 - shoot")
  92. print("sin is fat lolol")
  93.  
  94. handle = Instance.new('Part')
  95. handle.Name = 'Handle'
  96. handle.Parent = hat1
  97.  
  98. handlemesh = Instance.new('SpecialMesh')
  99. handlemesh.MeshType = 'FileMesh'
  100. handlemesh.MeshId = 'http://www.roblox.com/asset/?id=63688922'
  101. handlemesh.TextureId = 'rbxassetid://63688929'
  102. handlemesh.Parent = handlemusic
  103.  
  104. local shirt = Instance.new("Shirt",char)
  105. shirt.ShirtTemplate = "rbxassetid://2270330688"
  106. local pants = Instance.new("Pants",char)
  107. pants.PantsTemplate = "rbxassetid://3063981747"
  108.  
  109. local plr = owner
  110. local char = plr.Character
  111. local hum = char:FindFirstChildOfClass'Humanoid'
  112. local hed = char.Head
  113. local root = char:FindFirstChild'HumanoidRootPart'
  114. local rootj = root.RootJoint
  115. local tors = char.Torso
  116. local ra = char["Right Arm"]
  117. local la = char["Left Arm"]
  118. local rl = char["Right Leg"]
  119. local ll = char["Left Leg"]
  120. local neck = tors["Neck"]
  121. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  122. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  123. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  124. local maincolor = BrickColor.new("Institutional white")
  125. -------------------------------------------------------
  126. --Start Whitelist and Invincibility--
  127. -------------------------------------------------------
  128. ff = Instance.new("ForceField",char)
  129. ff.Visible = false
  130. hum.Name = "Base"
  131. hum.MaxHealth = 1.0E298
  132. hum.Health = 1.0E298
  133. game:GetService("RunService"):BindToRenderStep("Base", 0, function()
  134. if hum.Health > 0.1 and hum.Health < 1.0E298 then
  135. hum.MaxHealth = 1.0E298
  136. hum.Health = 1.0E298
  137. end
  138. end)
  139. -------------------------------------------------------
  140. --End Whitelist and Invincibility--
  141. -------------------------------------------------------
  142.  
  143. -------------------------------------------------------
  144. --Start Good Stuff--
  145. -------------------------------------------------------
  146. cam = game.Workspace.CurrentCamera
  147. CF = CFrame.new
  148. angles = CFrame.Angles
  149. attack = false
  150. Euler = CFrame.fromEulerAnglesXYZ
  151. Rad = math.rad
  152. IT = Instance.new
  153. BrickC = BrickColor.new
  154. Cos = math.cos
  155. Acos = math.acos
  156. Sin = math.sin
  157. Asin = math.asin
  158. Abs = math.abs
  159. Mrandom = math.random
  160. Floor = math.floor
  161. -------------------------------------------------------
  162. --End Good Stuff--
  163. -------------------------------------------------------
  164. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  165. RSH, LSH = nil, nil
  166. RW = Instance.new("Weld")
  167. LW = Instance.new("Weld")
  168. RH = tors["Right Hip"]
  169. LH = tors["Left Hip"]
  170. RSH = tors["Right Shoulder"]
  171. LSH = tors["Left Shoulder"]
  172. RSH.Parent = nil
  173. LSH.Parent = nil
  174. RW.Name = "RW"
  175. RW.Part0 = tors
  176. RW.C0 = CF(1.5, 0.5, 0)
  177. RW.C1 = CF(0, 0.5, 0)
  178. RW.Part1 = ra
  179. RW.Parent = tors
  180. LW.Name = "LW"
  181. LW.Part0 = tors
  182. LW.C0 = CF(-1.5, 0.5, 0)
  183. LW.C1 = CF(0, 0.5, 0)
  184. LW.Part1 = la
  185. LW.Parent = tors
  186. Effects = {}
  187. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  188. local wld = Instance.new("Weld", wp1)
  189. wld.Part0 = wp0
  190. wld.Part1 = wp1
  191. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  192. end
  193. newWeld(tors, ll, -0.5, -1, 0)
  194. ll.Weld.C1 = CFrame.new(0, 1, 0)
  195. newWeld(tors, rl, 0.5, -1, 0)
  196. rl.Weld.C1 = CFrame.new(0, 1, 0)
  197. -------------------------------------------------------
  198. --Start HeartBeat--
  199. -------------------------------------------------------
  200. ArtificialHB = Instance.new("BindableEvent", script)
  201. ArtificialHB.Name = "Heartbeat"
  202. script:WaitForChild("Heartbeat")
  203.  
  204. frame = 1 / 60
  205. tf = 0
  206. allowframeloss = false
  207. tossremainder = false
  208.  
  209.  
  210. lastframe = tick()
  211. script.Heartbeat:Fire()
  212.  
  213.  
  214. game:GetService("RunService").Heartbeat:connect(function(s, p)
  215. tf = tf + s
  216. if tf >= frame then
  217. if allowframeloss then
  218. script.Heartbeat:Fire()
  219. lastframe = tick()
  220. else
  221. for i = 1, math.floor(tf / frame) do
  222. script.Heartbeat:Fire()
  223. end
  224. lastframe = tick()
  225. end
  226. if tossremainder then
  227. tf = 0
  228. else
  229. tf = tf - frame * math.floor(tf / frame)
  230. end
  231. end
  232. end)
  233. -------------------------------------------------------
  234. --End HeartBeat--
  235. -------------------------------------------------------
  236.  
  237. -------------------------------------------------------
  238. --Start Important Functions--
  239. -------------------------------------------------------
  240. function swait(num)
  241. if num == 0 or num == nil then
  242. game:service("RunService").Stepped:wait(0)
  243. else
  244. for i = 0, num do
  245. game:service("RunService").Stepped:wait(0)
  246. end
  247. end
  248. end
  249. function thread(f)
  250. coroutine.resume(coroutine.create(f))
  251. end
  252. function clerp(a, b, t)
  253. local qa = {
  254. QuaternionFromCFrame(a)
  255. }
  256. local qb = {
  257. QuaternionFromCFrame(b)
  258. }
  259. local ax, ay, az = a.x, a.y, a.z
  260. local bx, by, bz = b.x, b.y, b.z
  261. local _t = 1 - t
  262. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  263. end
  264. function QuaternionFromCFrame(cf)
  265. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  266. local trace = m00 + m11 + m22
  267. if trace > 0 then
  268. local s = math.sqrt(1 + trace)
  269. local recip = 0.5 / s
  270. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  271. else
  272. local i = 0
  273. if m00 < m11 then
  274. i = 1
  275. end
  276. if m22 > (i == 0 and m00 or m11) then
  277. i = 2
  278. end
  279. if i == 0 then
  280. local s = math.sqrt(m00 - m11 - m22 + 1)
  281. local recip = 0.5 / s
  282. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  283. elseif i == 1 then
  284. local s = math.sqrt(m11 - m22 - m00 + 1)
  285. local recip = 0.5 / s
  286. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  287. elseif i == 2 then
  288. local s = math.sqrt(m22 - m00 - m11 + 1)
  289. local recip = 0.5 / s
  290. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  291. end
  292. end
  293. end
  294. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  295. local xs, ys, zs = x + x, y + y, z + z
  296. local wx, wy, wz = w * xs, w * ys, w * zs
  297. local xx = x * xs
  298. local xy = x * ys
  299. local xz = x * zs
  300. local yy = y * ys
  301. local yz = y * zs
  302. local zz = z * zs
  303. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  304. end
  305. function QuaternionSlerp(a, b, t)
  306. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  307. local startInterp, finishInterp
  308. if cosTheta >= 1.0E-4 then
  309. if 1 - cosTheta > 1.0E-4 then
  310. local theta = math.acos(cosTheta)
  311. local invSinTheta = 1 / Sin(theta)
  312. startInterp = Sin((1 - t) * theta) * invSinTheta
  313. finishInterp = Sin(t * theta) * invSinTheta
  314. else
  315. startInterp = 1 - t
  316. finishInterp = t
  317. end
  318. elseif 1 + cosTheta > 1.0E-4 then
  319. local theta = math.acos(-cosTheta)
  320. local invSinTheta = 1 / Sin(theta)
  321. startInterp = Sin((t - 1) * theta) * invSinTheta
  322. finishInterp = Sin(t * theta) * invSinTheta
  323. else
  324. startInterp = t - 1
  325. finishInterp = t
  326. end
  327. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  328. end
  329. function rayCast(Position, Direction, Range, Ignore)
  330. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  331. end
  332. local RbxUtility = LoadLibrary("RbxUtility")
  333. local Create = RbxUtility.Create
  334.  
  335. -------------------------------------------------------
  336. --Start Damage Function--
  337. -------------------------------------------------------
  338. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  339. if hit.Parent == nil then
  340. return
  341. end
  342. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  343. for _, v in pairs(hit.Parent:children()) do
  344. if v:IsA("Humanoid") then
  345. h = v
  346. end
  347. end
  348. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  349.  
  350. hit.Parent:FindFirstChild("Head"):BreakJoints()
  351. end
  352.  
  353. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  354. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  355. if hit.Parent.DebounceHit.Value == true then
  356. return
  357. end
  358. end
  359. if insta == true then
  360. hit.Parent:FindFirstChild("Head"):BreakJoints()
  361. end
  362. local c = Create("ObjectValue"){
  363. Name = "creator",
  364. Value = owner,
  365. Parent = h,
  366. }
  367. game:GetService("Debris"):AddItem(c, .5)
  368. if HitSound ~= nil and HitPitch ~= nil then
  369. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  370. end
  371. local Damage = math.random(9999)
  372. local blocked = false
  373. local block = hit.Parent:findFirstChild("Block")
  374. if block ~= nil then
  375. if block.className == "IntValue" then
  376. if block.Value > 0 then
  377. blocked = true
  378. block.Value = block.Value - 1
  379. print(block.Value)
  380. end
  381. end
  382. end
  383. if blocked == false then
  384. h.Health = h.Health - Damage
  385. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  386. else
  387. h.Health = h.Health - (Damage / 2)
  388. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  389. end
  390. if Type == "Knockdown" then
  391. local hum = hit.Parent.Humanoid
  392. hum.PlatformStand = true
  393. coroutine.resume(coroutine.create(function(HHumanoid)
  394. swait(1)
  395. HHumanoid.PlatformStand = false
  396. end), hum)
  397. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  398. local bodvol = Create("BodyVelocity"){
  399. velocity = angle * knockback,
  400. P = 5000,
  401. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  402. Parent = hit,
  403. }
  404. local rl = Create("BodyAngularVelocity"){
  405. P = 3000,
  406. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  407. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  408. Parent = hit,
  409. }
  410. game:GetService("Debris"):AddItem(bodvol, .5)
  411. game:GetService("Debris"):AddItem(rl, .5)
  412. elseif Type == "Normal" then
  413. local vp = Create("BodyVelocity"){
  414. P = 500,
  415. maxForce = Vector3.new(math.huge, 0, math.huge),
  416. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  417. }
  418. if knockback > 0 then
  419. vp.Parent = hit.Parent.Torso
  420. end
  421. game:GetService("Debris"):AddItem(vp, .5)
  422. elseif Type == "Up" then
  423. local bodyVelocity = Create("BodyVelocity"){
  424. velocity = Vector3.new(0, 20, 0),
  425. P = 5000,
  426. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  427. Parent = hit,
  428. }
  429. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  430. elseif Type == "DarkUp" then
  431. coroutine.resume(coroutine.create(function()
  432. for i = 0, 1, 0.1 do
  433. swait()
  434. Effects.Block.Create(BrickColor.new("Gold"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  435. end
  436. end))
  437. local bodyVelocity = Create("BodyVelocity"){
  438. velocity = Vector3.new(0, 20, 0),
  439. P = 5000,
  440. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  441. Parent = hit,
  442. }
  443. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  444. elseif Type == "Snare" then
  445. local bp = Create("BodyPosition"){
  446. P = 2000,
  447. D = 100,
  448. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  449. position = hit.Parent.Torso.Position,
  450. Parent = hit.Parent.Torso,
  451. }
  452. game:GetService("Debris"):AddItem(bp, 1)
  453. elseif Type == "Freeze" then
  454. local BodPos = Create("BodyPosition"){
  455. P = 50000,
  456. D = 1000,
  457. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  458. position = hit.Parent.Torso.Position,
  459. Parent = hit.Parent.Torso,
  460. }
  461. local BodGy = Create("BodyGyro") {
  462. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  463. P = 20e+003,
  464. Parent = hit.Parent.Torso,
  465. cframe = hit.Parent.Torso.CFrame,
  466. }
  467. hit.Parent.Torso.Anchored = true
  468. coroutine.resume(coroutine.create(function(Part)
  469. swait(1.5)
  470. Part.Anchored = false
  471. end), hit.Parent.Torso)
  472. game:GetService("Debris"):AddItem(BodPos, 3)
  473. game:GetService("Debris"):AddItem(BodGy, 3)
  474. end
  475. local debounce = Create("BoolValue"){
  476. Name = "DebounceHit",
  477. Parent = hit.Parent,
  478. Value = true,
  479. }
  480. game:GetService("Debris"):AddItem(debounce, Delay)
  481. c = Create("ObjectValue"){
  482. Name = "creator",
  483. Value = Player,
  484. Parent = h,
  485. }
  486. game:GetService("Debris"):AddItem(c, .5)
  487. end
  488. end
  489. -------------------------------------------------------
  490. --End Damage Function--
  491. -------------------------------------------------------
  492.  
  493. -------------------------------------------------------
  494. --Start Damage Function Customization--
  495. -------------------------------------------------------
  496. function ShowDamage(Pos, Text, Time, Color)
  497. local Rate = (1 / 30)
  498. local Pos = (Pos or Vector3.new(0, 0, 0))
  499. local Text = ("BANNED" or "BANNED")
  500. local Time = (Time or 2)
  501. local Color = (Color or Color3.new(1, 0, 1))
  502. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  503. EffectPart.Anchored = true
  504. local BillboardGui = Create("BillboardGui"){
  505. Size = UDim2.new(3, 0, 3, 0),
  506. Adornee = EffectPart,
  507. Parent = EffectPart,
  508. }
  509. local TextLabel = Create("TextLabel"){
  510. BackgroundTransparency = 1,
  511. Size = UDim2.new(1, 0, 1, 0),
  512. Text = Text,
  513. Font = "SciFi",
  514. TextColor3 = Color,
  515. TextScaled = true,
  516. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  517. Parent = BillboardGui,
  518. TextColor3 = Color3.new(1,0,0),
  519. TextStrokeColor3 = Color3.new(1,0,0),
  520. }
  521. game.Debris:AddItem(EffectPart, (Time))
  522. EffectPart.Parent = game:GetService("Workspace")
  523. delay(0, function()
  524. local Frames = (Time / Rate)
  525. for Frame = 1, Frames do
  526. wait(Rate)
  527. local Percent = (Frame / Frames)
  528. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  529. TextLabel.TextTransparency = Percent
  530. end
  531. if EffectPart and EffectPart.Parent then
  532. EffectPart:Destroy()
  533. end
  534. end)
  535. end
  536. -------------------------------------------------------
  537. --End Damage Function Customization--
  538. -------------------------------------------------------
  539.  
  540. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  541. for _, c in pairs(workspace:children()) do
  542. local hum = c:findFirstChild("Humanoid")
  543. if hum ~= nil then
  544. local head = c:findFirstChild("Head")
  545. if head ~= nil then
  546. local targ = head.Position - Part.Position
  547. local mag = targ.magnitude
  548. if magni >= mag and c.Name ~= plr.Name then
  549. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  550. end
  551. end
  552. end
  553. end
  554. end
  555.  
  556.  
  557. CFuncs = {
  558. Part = {
  559. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  560. local Part = Create("Part")({
  561. Parent = Parent,
  562. Reflectance = Reflectance,
  563. Transparency = Transparency,
  564. CanCollide = false,
  565. Locked = true,
  566. BrickColor = BrickColor.new(tostring(BColor)),
  567. Name = Name,
  568. Size = Size,
  569. Material = Material
  570. })
  571. RemoveOutlines(Part)
  572. return Part
  573. end
  574. },
  575. Mesh = {
  576. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  577. local Msh = Create(Mesh)({
  578. Parent = Part,
  579. Offset = OffSet,
  580. Scale = Scale
  581. })
  582. if Mesh == "SpecialMesh" then
  583. Msh.MeshType = MeshType
  584. Msh.MeshId = MeshId
  585. end
  586. return Msh
  587. end
  588. },
  589. Mesh = {
  590. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  591. local Msh = Create(Mesh)({
  592. Parent = Part,
  593. Offset = OffSet,
  594. Scale = Scale
  595. })
  596. if Mesh == "SpecialMesh" then
  597. Msh.MeshType = MeshType
  598. Msh.MeshId = MeshId
  599. end
  600. return Msh
  601. end
  602. },
  603. Weld = {
  604. Create = function(Parent, Part0, Part1, C0, C1)
  605. local Weld = Create("Weld")({
  606. Parent = Parent,
  607. Part0 = Part0,
  608. Part1 = Part1,
  609. C0 = C0,
  610. C1 = C1
  611. })
  612. return Weld
  613. end
  614. },
  615. Sound = {
  616. Create = function(id, par, vol, pit)
  617. coroutine.resume(coroutine.create(function()
  618. local S = Create("Sound")({
  619. Volume = vol,
  620. Pitch = pit or 1,
  621. SoundId = id,
  622. Parent = par or workspace
  623. })
  624. wait()
  625. S:play()
  626. game:GetService("Debris"):AddItem(S, 6)
  627. end))
  628. end
  629. },
  630. ParticleEmitter = {
  631. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  632. local fp = Create("ParticleEmitter")({
  633. Parent = Parent,
  634. Color = ColorSequence.new(Color1, Color2),
  635. LightEmission = LightEmission,
  636. Size = Size,
  637. Texture = Texture,
  638. Transparency = Transparency,
  639. ZOffset = ZOffset,
  640. Acceleration = Accel,
  641. Drag = Drag,
  642. LockedToPart = LockedToPart,
  643. VelocityInheritance = VelocityInheritance,
  644. EmissionDirection = EmissionDirection,
  645. Enabled = Enabled,
  646. Lifetime = LifeTime,
  647. Rate = Rate,
  648. Rotation = Rotation,
  649. RotSpeed = RotSpeed,
  650. Speed = Speed,
  651. VelocitySpread = VelocitySpread
  652. })
  653. return fp
  654. end
  655. }
  656. }
  657. function RemoveOutlines(part)
  658. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  659. end
  660. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  661. local Part = Create("Part")({
  662. formFactor = FormFactor,
  663. Parent = Parent,
  664. Reflectance = Reflectance,
  665. Transparency = Transparency,
  666. CanCollide = false,
  667. Locked = true,
  668. BrickColor = BrickColor.new(tostring(BColor)),
  669. Name = Name,
  670. Size = Size,
  671. Material = Material
  672. })
  673. RemoveOutlines(Part)
  674. return Part
  675. end
  676. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  677. local Msh = Create(Mesh)({
  678. Parent = Part,
  679. Offset = OffSet,
  680. Scale = Scale
  681. })
  682. if Mesh == "SpecialMesh" then
  683. Msh.MeshType = MeshType
  684. Msh.MeshId = MeshId
  685. end
  686. return Msh
  687. end
  688. function CreateWeld(Parent, Part0, Part1, C0, C1)
  689. local Weld = Create("Weld")({
  690. Parent = Parent,
  691. Part0 = Part0,
  692. Part1 = Part1,
  693. C0 = C0,
  694. C1 = C1
  695. })
  696. return Weld
  697. end
  698.  
  699.  
  700. -------------------------------------------------------
  701. --Start Effect Function--
  702. -------------------------------------------------------
  703. EffectModel = Instance.new("Model", char)
  704. Effects = {
  705. Block = {
  706. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  707. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  708. prt.Anchored = true
  709. prt.CFrame = cframe
  710. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  711. game:GetService("Debris"):AddItem(prt, 10)
  712. if Type == 1 or Type == nil then
  713. table.insert(Effects, {
  714. prt,
  715. "Block1",
  716. delay,
  717. x3,
  718. y3,
  719. z3,
  720. msh
  721. })
  722. elseif Type == 2 then
  723. table.insert(Effects, {
  724. prt,
  725. "Block2",
  726. delay,
  727. x3,
  728. y3,
  729. z3,
  730. msh
  731. })
  732. else
  733. table.insert(Effects, {
  734. prt,
  735. "Block3",
  736. delay,
  737. x3,
  738. y3,
  739. z3,
  740. msh
  741. })
  742. end
  743. end
  744. },
  745. Sphere = {
  746. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  747. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  748. prt.Anchored = true
  749. prt.CFrame = cframe
  750. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  751. game:GetService("Debris"):AddItem(prt, 10)
  752. table.insert(Effects, {
  753. prt,
  754. "Cylinder",
  755. delay,
  756. x3,
  757. y3,
  758. z3,
  759. msh
  760. })
  761. end
  762. },
  763. Cylinder = {
  764. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  765. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  766. prt.Anchored = true
  767. prt.CFrame = cframe
  768. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  769. game:GetService("Debris"):AddItem(prt, 10)
  770. table.insert(Effects, {
  771. prt,
  772. "Cylinder",
  773. delay,
  774. x3,
  775. y3,
  776. z3,
  777. msh
  778. })
  779. end
  780. },
  781. Wave = {
  782. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  783. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  784. prt.Anchored = true
  785. prt.CFrame = cframe
  786. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  787. game:GetService("Debris"):AddItem(prt, 10)
  788. table.insert(Effects, {
  789. prt,
  790. "Cylinder",
  791. delay,
  792. x3 / 60,
  793. y3 / 60,
  794. z3 / 60,
  795. msh
  796. })
  797. end
  798. },
  799. Ring = {
  800. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  801. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  802. prt.Anchored = true
  803. prt.CFrame = cframe
  804. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  805. game:GetService("Debris"):AddItem(prt, 10)
  806. table.insert(Effects, {
  807. prt,
  808. "Cylinder",
  809. delay,
  810. x3,
  811. y3,
  812. z3,
  813. msh
  814. })
  815. end
  816. },
  817. Break = {
  818. Create = function(brickcolor, cframe, x1, y1, z1)
  819. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  820. prt.Anchored = true
  821. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  822. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  823. local num = math.random(10, 50) / 1000
  824. game:GetService("Debris"):AddItem(prt, 10)
  825. table.insert(Effects, {
  826. prt,
  827. "Shatter",
  828. num,
  829. prt.CFrame,
  830. math.random() - math.random(),
  831. 0,
  832. math.random(50, 100) / 100
  833. })
  834. end
  835. },
  836. Spiral = {
  837. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  838. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  839. prt.Anchored = true
  840. prt.CFrame = cframe
  841. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  842. game:GetService("Debris"):AddItem(prt, 10)
  843. table.insert(Effects, {
  844. prt,
  845. "Cylinder",
  846. delay,
  847. x3,
  848. y3,
  849. z3,
  850. msh
  851. })
  852. end
  853. },
  854. Push = {
  855. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  856. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  857. prt.Anchored = true
  858. prt.CFrame = cframe
  859. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  860. game:GetService("Debris"):AddItem(prt, 10)
  861. table.insert(Effects, {
  862. prt,
  863. "Cylinder",
  864. delay,
  865. x3,
  866. y3,
  867. z3,
  868. msh
  869. })
  870. end
  871. }
  872. }
  873. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  874. local fp = IT("Part")
  875. fp.formFactor = formfactor
  876. fp.Parent = parent
  877. fp.Reflectance = reflectance
  878. fp.Transparency = transparency
  879. fp.CanCollide = false
  880. fp.Locked = true
  881. fp.BrickColor = brickcolor
  882. fp.Name = name
  883. fp.Size = size
  884. fp.Position = tors.Position
  885. RemoveOutlines(fp)
  886. fp.Material = "SmoothPlastic"
  887. fp:BreakJoints()
  888. return fp
  889. end
  890.  
  891. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  892. local mesh = IT(Mesh)
  893. mesh.Parent = part
  894. if Mesh == "SpecialMesh" then
  895. mesh.MeshType = meshtype
  896. if meshid ~= "nil" then
  897. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  898. end
  899. end
  900. mesh.Offset = offset
  901. mesh.Scale = scale
  902. return mesh
  903. end
  904.  
  905. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  906. local type = type
  907. local rng = Instance.new("Part", char)
  908. rng.Anchored = true
  909. rng.BrickColor = color
  910. rng.CanCollide = false
  911. rng.FormFactor = 3
  912. rng.Name = "Ring"
  913. rng.Material = "Neon"
  914. rng.Size = Vector3.new(1, 1, 1)
  915. rng.Transparency = 0
  916. rng.TopSurface = 0
  917. rng.BottomSurface = 0
  918. rng.CFrame = pos
  919. local rngm = Instance.new("SpecialMesh", rng)
  920. rngm.MeshType = MType
  921. rngm.Scale = scale
  922. local scaler2 = 1
  923. if type == "Add" then
  924. scaler2 = 1 * value
  925. elseif type == "Divide" then
  926. scaler2 = 1 / value
  927. end
  928. coroutine.resume(coroutine.create(function()
  929. for i = 0, 10 / bonuspeed, 0.1 do
  930. swait()
  931. if type == "Add" then
  932. scaler2 = scaler2 - 0.01 * value / bonuspeed
  933. elseif type == "Divide" then
  934. scaler2 = scaler2 - 0.01 / value * bonuspeed
  935. end
  936. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  937. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  938. end
  939. rng:Destroy()
  940. end))
  941. end
  942.  
  943. function Eviscerate(dude)
  944. if dude.Name ~= char then
  945. local bgf = IT("BodyGyro", dude.Head)
  946. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  947. local val = IT("BoolValue", dude)
  948. val.Name = "IsHit"
  949. local ds = coroutine.wrap(function()
  950. dude:WaitForChild("Head"):BreakJoints()
  951. wait(0.5)
  952. target = nil
  953. coroutine.resume(coroutine.create(function()
  954. for i, v in pairs(dude:GetChildren()) do
  955. if v:IsA("Accessory") then
  956. v:Destroy()
  957. end
  958. if v:IsA("Humanoid") then
  959. v:Destroy()
  960. end
  961. if v:IsA("CharacterMesh") then
  962. v:Destroy()
  963. end
  964. if v:IsA("Model") then
  965. v:Destroy()
  966. end
  967. if v:IsA("Part") or v:IsA("MeshPart") then
  968. for x, o in pairs(v:GetChildren()) do
  969. if o:IsA("Decal") then
  970. o:Destroy()
  971. end
  972. end
  973. coroutine.resume(coroutine.create(function()
  974. v.Material = "Neon"
  975. v.CanCollide = false
  976. local PartEmmit1 = IT("ParticleEmitter", v)
  977. PartEmmit1.LightEmission = 1
  978. PartEmmit1.Texture = "rbxassetid://284205403"
  979. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  980. PartEmmit1.Rate = 150
  981. PartEmmit1.Lifetime = NumberRange.new(1)
  982. PartEmmit1.Size = NumberSequence.new({
  983. NumberSequenceKeypoint.new(0, 0.75, 0),
  984. NumberSequenceKeypoint.new(1, 0, 0)
  985. })
  986. PartEmmit1.Transparency = NumberSequence.new({
  987. NumberSequenceKeypoint.new(0, 0, 0),
  988. NumberSequenceKeypoint.new(1, 1, 0)
  989. })
  990. PartEmmit1.Speed = NumberRange.new(0, 0)
  991. PartEmmit1.VelocitySpread = 30000
  992. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  993. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  994. local BodPoss = IT("BodyPosition", v)
  995. BodPoss.P = 3000
  996. BodPoss.D = 1000
  997. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  998. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  999. v.Color = maincolor.Color
  1000. coroutine.resume(coroutine.create(function()
  1001. for i = 0, 49 do
  1002. swait(1)
  1003. v.Transparency = v.Transparency + 0.08
  1004. end
  1005. wait(0.5)
  1006. PartEmmit1.Enabled = false
  1007. wait(3)
  1008. v:Destroy()
  1009. dude:Destroy()
  1010. end))
  1011. end))
  1012. end
  1013. end
  1014. end))
  1015. end)
  1016. ds()
  1017. end
  1018. end
  1019.  
  1020. function FindNearestHead(Position, Distance, SinglePlayer)
  1021. if SinglePlayer then
  1022. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1023. end
  1024. local List = {}
  1025. for i, v in pairs(workspace:GetChildren()) do
  1026. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  1027. table.insert(List, v)
  1028. end
  1029. end
  1030. return List
  1031. end
  1032.  
  1033. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  1034. local type = type
  1035. local rng = Instance.new("Part", char)
  1036. rng.Anchored = true
  1037. rng.BrickColor = color
  1038. rng.CanCollide = false
  1039. rng.FormFactor = 3
  1040. rng.Name = "Ring"
  1041. rng.Material = "Neon"
  1042. rng.Size = Vector3.new(1, 1, 1)
  1043. rng.Transparency = 0
  1044. rng.TopSurface = 0
  1045. rng.BottomSurface = 0
  1046. rng.CFrame = pos
  1047. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1048. local rngm = Instance.new("SpecialMesh", rng)
  1049. rngm.MeshType = MType
  1050. rngm.Scale = Vector3.new(x1, y1, z1)
  1051. local scaler2 = 1
  1052. local speeder = FastSpeed
  1053. if type == "Add" then
  1054. scaler2 = 1 * value
  1055. elseif type == "Divide" then
  1056. scaler2 = 1 / value
  1057. end
  1058. coroutine.resume(coroutine.create(function()
  1059. for i = 0, 10 / bonuspeed, 0.1 do
  1060. swait()
  1061. if type == "Add" then
  1062. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1063. elseif type == "Divide" then
  1064. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1065. end
  1066. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1067. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1068. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1069. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1070. end
  1071. rng:Destroy()
  1072. end))
  1073. end
  1074.  
  1075. function SoulSteal(dude)
  1076. if dude.Name ~= char then
  1077. local bgf = IT("BodyGyro", dude.Head)
  1078. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1079. local val = IT("BoolValue", dude)
  1080. val.Name = "IsHit"
  1081. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  1082. local soulst = coroutine.wrap(function()
  1083. local soul = Instance.new("Part",dude)
  1084. soul.Size = Vector3.new(1,1,1)
  1085. soul.CanCollide = false
  1086. soul.Anchored = false
  1087. soul.Position = torso.Position
  1088. soul.Transparency = 1
  1089. local PartEmmit1 = IT("ParticleEmitter", soul)
  1090. PartEmmit1.LightEmission = 1
  1091. PartEmmit1.Texture = "rbxassetid://569507414"
  1092. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1093. PartEmmit1.Rate = 250
  1094. PartEmmit1.Lifetime = NumberRange.new(1.6)
  1095. PartEmmit1.Size = NumberSequence.new({
  1096. NumberSequenceKeypoint.new(0, 1, 0),
  1097. NumberSequenceKeypoint.new(1, 0, 0)
  1098. })
  1099. PartEmmit1.Transparency = NumberSequence.new({
  1100. NumberSequenceKeypoint.new(0, 0, 0),
  1101. NumberSequenceKeypoint.new(1, 1, 0)
  1102. })
  1103. PartEmmit1.Speed = NumberRange.new(0, 0)
  1104. PartEmmit1.VelocitySpread = 30000
  1105. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1106. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1107. local BodPoss = IT("BodyPosition", soul)
  1108. BodPoss.P = 3000
  1109. BodPoss.D = 1000
  1110. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1111. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1112. wait(1.6)
  1113. soul.Touched:connect(function(hit)
  1114. if hit.Parent == char then
  1115. soul:Destroy()
  1116. end
  1117. end)
  1118. wait(1.2)
  1119. while soul do
  1120. swait()
  1121. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1122. BodPoss.Position = tors.Position
  1123. end
  1124. end)
  1125. soulst()
  1126. end
  1127. end
  1128. function FaceMouse()
  1129. local Cam = workspace.CurrentCamera
  1130. return {
  1131. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1132. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1133. }
  1134. end
  1135. Effects = {
  1136. Block = function(cf,partsize,meshstart,meshadd,matr,colour,spin,inverse,factor)
  1137. local p = Instance.new("Part",EffectModel)
  1138. p.BrickColor = BrickColor.new(colour)
  1139. p.Size = partsize
  1140. p.Anchored = true
  1141. p.CanCollide = false
  1142. p.Material = matr
  1143. p.CFrame = cf
  1144. if inverse == true then
  1145. p.Transparency = 1
  1146. else
  1147. p.Transparency = 0
  1148. end
  1149. local m = Instance.new("BlockMesh",p)
  1150. m.Scale = meshstart
  1151. coroutine.wrap(function()
  1152. for i = 0, 1, factor do
  1153. swait()
  1154. if inverse == true then
  1155. p.Transparency = 1-i
  1156. else
  1157. p.Transparency = i
  1158. end
  1159. m.Scale = m.Scale + meshadd
  1160. if spin == true then
  1161. p.CFrame = p.CFrame * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1162. end
  1163. end
  1164. p:Destroy()
  1165. end)()
  1166. return p
  1167. end,
  1168. Sphere = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
  1169. local p = Instance.new("Part",EffectModel)
  1170. p.BrickColor = BrickColor.new(colour)
  1171. p.Size = partsize
  1172. p.Anchored = true
  1173. p.CanCollide = false
  1174. p.Material = matr
  1175. p.CFrame = cf
  1176. if inverse == true then
  1177. p.Transparency = 1
  1178. else
  1179. p.Transparency = 0
  1180. end
  1181. local m = Instance.new("SpecialMesh",p)
  1182. m.MeshType = "Sphere"
  1183. m.Scale = meshstart
  1184. coroutine.wrap(function()
  1185. for i=0,1,factor do
  1186. swait()
  1187. if inverse == true then
  1188. p.Transparency = 1-i
  1189. else
  1190. p.Transparency = i
  1191. end
  1192. m.Scale = m.Scale + meshadd
  1193. end
  1194. p:Destroy()
  1195. end)()
  1196. return p
  1197. end,
  1198.  
  1199. Cylinder = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
  1200. local p = Instance.new("Part",EffectModel)
  1201. p.BrickColor = BrickColor.new(colour)
  1202. p.Size = partsize
  1203. p.Anchored = true
  1204. p.CanCollide = false
  1205. p.Material = matr
  1206. p.CFrame = cf
  1207. if inverse == true then
  1208. p.Transparency = 1
  1209. else
  1210. p.Transparency = 0
  1211. end
  1212. local m = Instance.new("CylinderMesh",p)
  1213. m.Scale = meshstart
  1214. coroutine.wrap(function()
  1215. for i=0,1,factor do
  1216. swait()
  1217. if inverse == true then
  1218. p.Transparency = 1-i
  1219. else
  1220. p.Transparency = i
  1221. end
  1222. m.Scale = m.Scale + meshadd
  1223. end
  1224. p:Destroy()
  1225. end)()
  1226. return p
  1227. end,
  1228.  
  1229. Wave = function(cf,meshstart,meshadd,colour,spin,inverse,factor)
  1230. local p = Instance.new("Part",EffectModel)
  1231. p.BrickColor = BrickColor.new(colour)
  1232. p.Size = Vector3.new()
  1233. p.Anchored = true
  1234. p.CanCollide = false
  1235. p.CFrame = cf
  1236. if inverse == true then
  1237. p.Transparency = 1
  1238. else
  1239. p.Transparency = 0
  1240. end
  1241. local m = Instance.new("SpecialMesh",p)
  1242. m.MeshId = "rbxassetid://20329976"
  1243. m.Scale = meshstart
  1244. coroutine.wrap(function()
  1245. for i=0,1,factor do
  1246. swait()
  1247. if inverse == true then
  1248. p.Transparency = 1-i
  1249. else
  1250. p.Transparency = i
  1251. end
  1252. m.Scale = m.Scale + meshadd
  1253. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
  1254. end
  1255. p:Destroy()
  1256. end)()
  1257. return p
  1258. end,
  1259.  
  1260. Ring = function(cf,meshstart,meshadd,colour,inverse,factor)
  1261. local p = Instance.new("Part",EffectModel)
  1262. p.BrickColor = BrickColor.new(colour)
  1263. p.Size = Vector3.new()
  1264. p.Anchored = true
  1265. p.CanCollide = false
  1266. p.CFrame = cf
  1267. if inverse == true then
  1268. p.Transparency = 1
  1269. else
  1270. p.Transparency = 0
  1271. end
  1272. local m = Instance.new("SpecialMesh",p)
  1273. m.MeshId = "rbxassetid://3270017"
  1274. m.Scale = meshstart
  1275. coroutine.wrap(function()
  1276. for i=0,1,factor do
  1277. swait()
  1278. if inverse == true then
  1279. p.Transparency = 1-i
  1280. else
  1281. p.Transparency = i
  1282. end
  1283. m.Scale = m.Scale + meshadd
  1284. end
  1285. p:Destroy()
  1286. end)()
  1287. return p
  1288. end,
  1289.  
  1290. Meshed = function(cf,meshstart,meshadd,colour,meshid,textid,spin,inverse,factor)
  1291. local p = Instance.new("Part",EffectModel)
  1292. p.BrickColor = BrickColor.new(colour)
  1293. p.Size = Vector3.new()
  1294. p.Anchored = true
  1295. p.CanCollide = false
  1296. p.CFrame = cf
  1297. if inverse == true then
  1298. p.Transparency = 1
  1299. else
  1300. p.Transparency = 0
  1301. end
  1302. local m = Instance.new("SpecialMesh",p)
  1303. m.MeshId = meshid
  1304. m.TextureId = textid
  1305. m.Scale = meshstart
  1306. coroutine.wrap(function()
  1307. for i=0,1,factor do
  1308. swait()
  1309. if inverse == true then
  1310. p.Transparency = 1-i
  1311. else
  1312. p.Transparency = i
  1313. end
  1314. m.Scale = m.Scale + meshadd
  1315. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
  1316. end
  1317. p:Destroy()
  1318. end)()
  1319. return p
  1320. end,
  1321.  
  1322. Explode = function(cf,partsize,meshstart,meshadd,matr,colour,move,inverse,factor)
  1323. local p = Instance.new("Part",EffectModel)
  1324. p.BrickColor = BrickColor.new(colour)
  1325. p.Size = partsize
  1326. p.Anchored = true
  1327. p.CanCollide = false
  1328. p.Material = matr
  1329. p.CFrame = cf * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  1330. if inverse == true then
  1331. p.Transparency = 1
  1332. else
  1333. p.Transparency = 0
  1334. end
  1335. local m = Instance.new("SpecialMesh",p)
  1336. m.MeshType = "Sphere"
  1337. m.Scale = meshstart
  1338. coroutine.wrap(function()
  1339. for i=0,1,factor do
  1340. swait()
  1341. if inverse == true then
  1342. p.Transparency = 1-i
  1343. else
  1344. p.Transparency = i
  1345. end
  1346. m.Scale = m.Scale + meshadd
  1347. p.CFrame = p.CFrame * CFrame.new(0,move,0)
  1348. end
  1349. p:Destroy()
  1350. end)()
  1351. return p
  1352. end,
  1353.  
  1354. }
  1355. -------------------------------------------------------
  1356. --End Effect Function--
  1357. -------------------------------------------------------
  1358. function Cso(ID, PARENT, VOLUME, PITCH)
  1359. local NSound = nil
  1360. coroutine.resume(coroutine.create(function()
  1361. NSound = IT("Sound", PARENT)
  1362. NSound.Volume = VOLUME
  1363. NSound.Pitch = PITCH
  1364. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1365. swait()
  1366. NSound:play()
  1367. game:GetService("Debris"):AddItem(NSound, 10)
  1368. end))
  1369. return NSound
  1370. end
  1371. function CamShake(Length, Intensity)
  1372. coroutine.resume(coroutine.create(function()
  1373. local intensity = 1 * Intensity
  1374. local rotM = 0.01 * Intensity
  1375. for i = 0, Length, 0.1 do
  1376. swait()
  1377. intensity = intensity - 0.05 * Intensity / Length
  1378. rotM = rotM - 5.0E-4 * Intensity / Length
  1379. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1380. cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
  1381. end
  1382. hum.CameraOffset = Vector3.new(0, 0, 0)
  1383. end))
  1384. end
  1385. NewInstance = function(instance,parent,properties)
  1386. local inst = Instance.new(instance)
  1387. inst.Parent = parent
  1388. if(properties)then
  1389. for i,v in next, properties do
  1390. pcall(function() inst[i] = v end)
  1391. end
  1392. end
  1393. return inst;
  1394. end
  1395. function New(Object, Parent, Name, Data)
  1396. local Object = Instance.new(Object)
  1397. for Index, Value in pairs(Data or {}) do
  1398. Object[Index] = Value
  1399. end
  1400. Object.Parent = Parent
  1401. Object.Name = Name
  1402. return Object
  1403. end
  1404. Uzi = New("Model", char, "Uzi", {})
  1405. Handle = New("Part", Uzi, "Handle", {
  1406. BrickColor = BrickColor.new("Black"),
  1407. Transparency = 1,
  1408. Transparency = 1,
  1409. FormFactor = Enum.FormFactor.Custom,
  1410. Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
  1411. CFrame = CFrame.new(-63.9497833, 3.39759564, 8.0905323, -0.999997377, -1.38907907E-9, 5.60066837E-9, -4.67619166E-10, 0.999989152, 5.95959136E-7, -1.86810212E-9, 1.98648195E-7, -0.999986291),
  1412. CanCollide = false,
  1413. BottomSurface = Enum.SurfaceType.Smooth,
  1414. TopSurface = Enum.SurfaceType.Smooth,
  1415. Color = Color3.new(0.105882, 0.164706, 0.207843)
  1416. })
  1417. Port = New("Part", Uzi, "Port", {
  1418. BrickColor = BrickColor.new("White"),
  1419. Material = Enum.Material.SmoothPlastic,
  1420. Transparency = 1,
  1421. Transparency = 1,
  1422. FormFactor = Enum.FormFactor.Custom,
  1423. Size = Vector3.new(0.303939581, 0.303939581, 0.514359295),
  1424. CFrame = CFrame.new(-64.0102158, 4.07008171, 7.94762278, -0.258818001, 0.965921998, 7.03767E-9, -0.965913594, -0.258815765, -8.10978804E-7, -2.25573785E-7, -4.02978912E-8, 0.999983191),
  1425. CanCollide = false,
  1426. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  1427. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  1428. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  1429. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  1430. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  1431. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  1432. Color = Color3.new(0.388235, 0.372549, 0.384314)
  1433. })
  1434. Mesh = New("BlockMesh", Port, "Mesh", {
  1435. Scale = Vector3.new(0.0769230723, 0.538461506, 1)
  1436. })
  1437. mot = New("Motor", Port, "mot", {
  1438. Part0 = Port,
  1439. Part1 = Handle,
  1440. C0 = CFrame.new(0, 0, 0, -0.258819044, -0.965925932, -5.89169019E-7, 0.965925872, -0.258819073, -1.6708546E-7, 8.90398955E-9, -6.12338397E-7, 1),
  1441. C1 = CFrame.new(0.0604324341, 0.672489882, 0.142884254, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  1442. })
  1443. Mag2 = New("Part", Uzi, "Mag2", {
  1444. BrickColor = BrickColor.new("White"),
  1445. Elasticity = 0,
  1446. FormFactor = Enum.FormFactor.Custom,
  1447. Size = Vector3.new(0.303939581, 0.969711781, 0.303939581),
  1448. CFrame = CFrame.new(-63.8785477, 2.57360268, 8.01299381, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490618E-5, 0.999989152, -3.46755522E-4, 0.999986291, -4.34514986E-5, -1.51409104E-5),
  1449. CanCollide = false,
  1450. BottomSurface = Enum.SurfaceType.Smooth,
  1451. TopSurface = Enum.SurfaceType.Smooth,
  1452. Color = Color3.new(0.388235, 0.372549, 0.384314)
  1453. })
  1454. Mesh = New("BlockMesh", Mag2, "Mesh", {
  1455. Scale = Vector3.new(0.809523821, 1, 0.714285731)
  1456. })
  1457. mot = New("Motor", Mag2, "mot", {
  1458. Part0 = Mag2,
  1459. Part1 = Handle,
  1460. C0 = CFrame.new(0, 0, 0, -1.51580507E-5, 4.32481829E-5, 1, -3.46759072E-4, 1, -4.32534325E-5, -1, -3.46759742E-4, -1.51430522E-5),
  1461. C1 = CFrame.new(-0.0712356567, -0.824002028, 0.077539444, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  1462. })
  1463. Part = New("Part", Uzi, "Part", {
  1464. BrickColor = BrickColor.new("Really black"),
  1465. Elasticity = 0,
  1466. FormFactor = Enum.FormFactor.Symmetric,
  1467. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  1468. CFrame = CFrame.new(-63.8792877, 3.47921586, 7.06472969, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490618E-5, 0.999989152, -3.46755522E-4, 0.999986291, -4.34514986E-5, -1.51409104E-5),
  1469. CanCollide = false,
  1470. BottomSurface = Enum.SurfaceType.Smooth,
  1471. TopSurface = Enum.SurfaceType.Smooth,
  1472. Color = Color3.new(0.105882, 0.164706, 0.207843)
  1473. })
  1474. Mesh = New("BlockMesh", Part, "Mesh", {
  1475. Scale = Vector3.new(0.0476190485, 0.380952388, 0.190476194)
  1476. })
  1477. mot = New("Motor", Part, "mot", {
  1478. Part0 = Part,
  1479. Part1 = Handle,
  1480. C0 = CFrame.new(0, 0, 0, -1.51580507E-5, 4.32481829E-5, 1, -3.46759072E-4, 1, -4.32534325E-5, -1, -3.46759742E-4, -1.51430522E-5),
  1481. C1 = CFrame.new(-0.0704956055, 0.0816204548, 1.02581644, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  1482. })
  1483. AimPart = New("Part", Uzi, "AimPart", {
  1484. BrickColor = BrickColor.new("Really black"),
  1485. Transparency = 1,
  1486. Transparency = 1,
  1487. FormFactor = Enum.FormFactor.Custom,
  1488. Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
  1489. CFrame = CFrame.new(-63.8798447, 4.32250595, 5.97696972, -0.999997377, -1.38856626E-9, 5.60066127E-9, -4.67106354E-10, 0.999989152, 5.95963002E-7, -1.86809501E-9, 1.9865206E-7, -0.999986291),
  1490. CanCollide = false,
  1491. BottomSurface = Enum.SurfaceType.Smooth,
  1492. TopSurface = Enum.SurfaceType.Smooth,
  1493. Color = Color3.new(0.105882, 0.164706, 0.207843)
  1494. })
  1495. mot = New("Motor", AimPart, "mot", {
  1496. Part0 = AimPart,
  1497. Part1 = Handle,
  1498. C0 = CFrame.new(0, 0, 0, -1, -9.25960919E-10, -3.73438835E-9, -9.25962418E-10, 1, 3.97315489E-7, 3.73438791E-9, 3.97315489E-7, -1),
  1499. C1 = CFrame.new(-0.0699386597, 0.92491889, 2.11359167, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  1500. })
  1501. Hole = New("Part", Uzi, "Hole", {
  1502. BrickColor = BrickColor.new("Really black"),
  1503. Elasticity = 0,
  1504. FormFactor = Enum.FormFactor.Custom,
  1505. Size = Vector3.new(0.607879162, 0.607879221, 1.51969779),
  1506. CFrame = CFrame.new(-64.0106277, 4.09136534, 7.99518442, 3.04593304E-5, -6.80373148E-7, 0.999997377, -0.999989152, -1.32646619E-5, 3.04581481E-5, 1.36619119E-5, -0.999986291, -6.84514248E-7),
  1507. CanCollide = false,
  1508. BottomSurface = Enum.SurfaceType.Smooth,
  1509. TopSurface = Enum.SurfaceType.Smooth,
  1510. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1511. })
  1512. Mesh = New("BlockMesh", Hole, "Mesh", {
  1513. Scale = Vector3.new(0.238095239, 1.19047618, 0.0476190485)
  1514. })
  1515. mot = New("Motor", Hole, "mot", {
  1516. Part0 = Hole,
  1517. Part1 = Handle,
  1518. C0 = CFrame.new(0, 0, 0, 3.04589466E-5, -1, 1.34634383E-5, -6.8224125E-7, -1.34634593E-5, -1, 1, 3.04589375E-5, -6.82651319E-7),
  1519. C1 = CFrame.new(0.0608444214, 0.693777323, 0.0953493118, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  1520. })
  1521. NoSight = New("Part", Uzi, "NoSight", {
  1522. BrickColor = BrickColor.new("Really black"),
  1523. Elasticity = 0,
  1524. FormFactor = Enum.FormFactor.Custom,
  1525. Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
  1526. CFrame = CFrame.new(-63.9215851, 4.32565308, 8.6785574, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490618E-5, 0.999989152, -3.46755522E-4, 0.999986291, -4.34514986E-5, -1.51409104E-5),
  1527. CanCollide = false,
  1528. BottomSurface = Enum.SurfaceType.Smooth,
  1529. TopSurface = Enum.SurfaceType.Smooth,
  1530. Color = Color3.new(0.105882, 0.164706, 0.207843)
  1531. })
  1532. Mesh = New("SpecialMesh", NoSight, "Mesh", {
  1533. Scale = Vector3.new(0.333333343, 0.142857149, 0.095238097),
  1534. MeshType = Enum.MeshType.Wedge
  1535. })
  1536. mot = New("Motor", NoSight, "mot", {
  1537. Part0 = NoSight,
  1538. Part1 = Handle,
  1539. C0 = CFrame.new(0, 0, 0, -1.51580507E-5, 4.32481829E-5, 1, -3.46759072E-4, 1, -4.32534325E-5, -1, -3.46759742E-4, -1.51430522E-5),
  1540. C1 = CFrame.new(-0.0281982422, 0.928067923, -0.588032722, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  1541. })
  1542. NoSight = New("Part", Uzi, "NoSight", {
  1543. BrickColor = BrickColor.new("Really black"),
  1544. Elasticity = 0,
  1545. FormFactor = Enum.FormFactor.Custom,
  1546. Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
  1547. CFrame = CFrame.new(-63.8792877, 4.27408314, 8.6785574, -0.999997377, 3.7727732E-4, 4.80012168E-5, -3.77270597E-4, -0.999989152, 5.5595694E-5, 4.8025533E-5, 5.59747241E-5, 0.999986291),
  1548. CanCollide = false,
  1549. BottomSurface = Enum.SurfaceType.Smooth,
  1550. TopSurface = Enum.SurfaceType.Smooth,
  1551. Color = Color3.new(0.105882, 0.164706, 0.207843)
  1552. })
  1553. Mesh = New("SpecialMesh", NoSight, "Mesh", {
  1554. Scale = Vector3.new(0.380952358, 0.190476194, 0.333333343),
  1555. MeshType = Enum.MeshType.Torso
  1556. })
  1557. mot = New("Motor", NoSight, "mot", {
  1558. Part0 = NoSight,
  1559. Part1 = Handle,
  1560. C0 = CFrame.new(0, 0, 0, -1, -3.77275166E-4, 4.80242488E-5, 3.77277844E-4, -1, 5.57768326E-5, 4.80032068E-5, 5.57949534E-5, 1),
  1561. C1 = CFrame.new(-0.0704956055, 0.876497507, -0.588032722, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  1562. })
  1563. NoSight = New("Part", Uzi, "NoSight", {
  1564. BrickColor = BrickColor.new("Really black"),
  1565. Transparency = 1,
  1566. Transparency = 1,
  1567. Elasticity = 0,
  1568. FormFactor = Enum.FormFactor.Custom,
  1569. Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
  1570. CFrame = CFrame.new(-63.8792877, 4.33158779, 9.11930084, 0.999997377, -3.77276359E-4, -1.73402132E-5, 3.77273274E-4, 0.999989152, 5.57149033E-5, 1.73151166E-5, -5.61185843E-5, 0.999986291),
  1571. CanCollide = false,
  1572. BottomSurface = Enum.SurfaceType.Smooth,
  1573. TopSurface = Enum.SurfaceType.Smooth,
  1574. Color = Color3.new(0.94902, 0.952941, 0.952941)
  1575. })
  1576. lenspart = New("IntValue", NoSight, "lenspart", {})
  1577. Mesh = New("BlockMesh", NoSight, "Mesh", {
  1578. Scale = Vector3.new(0.095238097, 0.0476190485, 0.0476190485)
  1579. })
  1580. mot = New("Motor", NoSight, "mot", {
  1581. Part0 = NoSight,
  1582. Part1 = Handle,
  1583. C0 = CFrame.new(0, 0, 0, 1, 3.77277844E-4, 1.73172939E-5, -3.77276883E-4, 1, -5.59206928E-5, -1.73383924E-5, 5.59141627E-5, 1),
  1584. C1 = CFrame.new(-0.0704956055, 0.934002638, -1.02878189, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  1585. })
  1586. NoSight = New("Part", Uzi, "NoSight", {
  1587. BrickColor = BrickColor.new("Really black"),
  1588. Elasticity = 0,
  1589. FormFactor = Enum.FormFactor.Custom,
  1590. Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
  1591. CFrame = CFrame.new(-63.8792877, 4.29654217, 9.19813633, 4.20435099E-4, -1.53568108E-5, 0.999997318, -0.999989092, -4.51352062E-5, 4.20430006E-4, 4.55259251E-5, -0.999986291, -1.53795154E-5),
  1592. CanCollide = false,
  1593. BottomSurface = Enum.SurfaceType.Smooth,
  1594. TopSurface = Enum.SurfaceType.Smooth,
  1595. Color = Color3.new(0.105882, 0.164706, 0.207843)
  1596. })
  1597. Mesh = New("BlockMesh", NoSight, "Mesh", {
  1598. Scale = Vector3.new(0.285714269, 0.476190478, 0.095238097)
  1599. })
  1600. mot = New("Motor", NoSight, "mot", {
  1601. Part0 = NoSight,
  1602. Part1 = Handle,
  1603. C0 = CFrame.new(0, 0, 0, 4.20435739E-4, -0.99999994, 4.53278881E-5, -1.53587171E-5, -4.53343491E-5, -1, 0.99999994, 4.20435041E-4, -1.53777764E-5),
  1604. C1 = CFrame.new(-0.0704956055, 0.898957014, -1.10761929, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  1605. })
  1606. NoSight = New("Part", Uzi, "NoSight", {
  1607. BrickColor = BrickColor.new("Really black"),
  1608. Elasticity = 0,
  1609. FormFactor = Enum.FormFactor.Custom,
  1610. Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
  1611. CFrame = CFrame.new(-63.8355064, 4.32565308, 8.6785574, 1.51598751E-5, -4.07793617E-4, 0.999997377, -4.30490618E-5, 0.999989152, 4.07790008E-4, -0.999986291, -4.34524227E-5, 1.51382555E-5),
  1612. CanCollide = false,
  1613. BottomSurface = Enum.SurfaceType.Smooth,
  1614. TopSurface = Enum.SurfaceType.Smooth,
  1615. Color = Color3.new(0.105882, 0.164706, 0.207843)
  1616. })
  1617. Mesh = New("SpecialMesh", NoSight, "Mesh", {
  1618. Scale = Vector3.new(0.333333343, 0.142857149, 0.095238097),
  1619. MeshType = Enum.MeshType.Wedge
  1620. })
  1621. mot = New("Motor", NoSight, "mot", {
  1622. Part0 = NoSight,
  1623. Part1 = Handle,
  1624. C0 = CFrame.new(0, 0, 0, 1.51580489E-5, -4.32481829E-5, -1, -4.07794229E-4, 1, -4.32543566E-5, 1, 4.07794898E-4, 1.51404101E-5),
  1625. C1 = CFrame.new(-0.114276886, 0.928067923, -0.588032722, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  1626. })
  1627. NoSight = New("Part", Uzi, "NoSight", {
  1628. BrickColor = BrickColor.new("Really black"),
  1629. Elasticity = 0,
  1630. FormFactor = Enum.FormFactor.Custom,
  1631. Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
  1632. CFrame = CFrame.new(-63.8792877, 4.33177757, 7.20867538, 0.999997318, 4.20433673E-4, 1.73239296E-5, 4.2042954E-4, -0.999989152, -1.25467186E-5, 1.73145636E-5, 1.29512719E-5, -0.999986291),
  1633. CanCollide = false,
  1634. BottomSurface = Enum.SurfaceType.Smooth,
  1635. TopSurface = Enum.SurfaceType.Smooth,
  1636. Color = Color3.new(0.105882, 0.164706, 0.207843)
  1637. })
  1638. Mesh = New("SpecialMesh", NoSight, "Mesh", {
  1639. Scale = Vector3.new(0.0868398845, 0.0868398845, 0.0868398845),
  1640. MeshId = "http://www.roblox.com/asset/?id=3270017",
  1641. MeshType = Enum.MeshType.FileMesh
  1642. })
  1643. mot = New("Motor", NoSight, "mot", {
  1644. Part0 = NoSight,
  1645. Part1 = Handle,
  1646. C0 = CFrame.new(0, 0, 0, 0.99999994, 4.20434575E-4, 1.731675E-5, 4.20434313E-4, -1, 1.27527892E-5, 1.73221088E-5, -1.27455087E-5, -1),
  1647. C1 = CFrame.new(-0.0704956055, 0.934191465, 0.881869316, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  1648. })
  1649. NoSight = New("Part", Uzi, "NoSight", {
  1650. BrickColor = BrickColor.new("Really black"),
  1651. Elasticity = 0,
  1652. FormFactor = Enum.FormFactor.Plate,
  1653. Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),
  1654. CFrame = CFrame.new(-63.9950485, 4.25275517, 7.24577427, 3.16243502E-4, -0.999997318, -1.53725232E-5, -0.999989152, -3.16239311E-4, -4.30490618E-5, 4.34413814E-5, 1.53898236E-5, -0.999986291),
  1655. CanCollide = false,
  1656. BottomSurface = Enum.SurfaceType.Smooth,
  1657. TopSurface = Enum.SurfaceType.Smooth,
  1658. Color = Color3.new(0.105882, 0.164706, 0.207843)
  1659. })
  1660. Mesh = New("CylinderMesh", NoSight, "Mesh", {
  1661. Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194)
  1662. })
  1663. mot = New("Motor", NoSight, "mot", {
  1664. Part0 = NoSight,
  1665. Part1 = Handle,
  1666. C0 = CFrame.new(0, 0, 0, 3.16243852E-4, -1, 4.32433153E-5, -0.99999994, -3.16243211E-4, 1.53881065E-5, -1.53744295E-5, -4.32481829E-5, -1),
  1667. C1 = CFrame.new(0.0452651978, 0.855168581, 0.844769955, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  1668. })
  1669. NoSight = New("Part", Uzi, "NoSight", {
  1670. BrickColor = BrickColor.new("Really black"),
  1671. Elasticity = 0,
  1672. FormFactor = Enum.FormFactor.Plate,
  1673. Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),
  1674. CFrame = CFrame.new(-63.9950485, 4.25256538, 9.19813633, 3.16243502E-4, -0.999997318, -1.53725232E-5, -0.999989152, -3.16239311E-4, -4.30490618E-5, 4.34413814E-5, 1.53898236E-5, -0.999986291),
  1675. CanCollide = false,
  1676. BottomSurface = Enum.SurfaceType.Smooth,
  1677. TopSurface = Enum.SurfaceType.Smooth,
  1678. Color = Color3.new(0.105882, 0.164706, 0.207843)
  1679. })
  1680. Mesh = New("CylinderMesh", NoSight, "Mesh", {
  1681. Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194)
  1682. })
  1683. mot = New("Motor", NoSight, "mot", {
  1684. Part0 = NoSight,
  1685. Part1 = Handle,
  1686. C0 = CFrame.new(0, 0, 0, 3.16243852E-4, -1, 4.32433153E-5, -0.99999994, -3.16243211E-4, 1.53881065E-5, -1.53744295E-5, -4.32481829E-5, -1),
  1687. C1 = CFrame.new(0.0452651978, 0.854979753, -1.10761929, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  1688. })
  1689. Part = New("Part", Uzi, "Part", {
  1690. BrickColor = BrickColor.new("Really black"),
  1691. Elasticity = 0,
  1692. FormFactor = Enum.FormFactor.Symmetric,
  1693. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  1694. CFrame = CFrame.new(-63.8792877, 3.84094381, 7.38972139, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490618E-5, 0.999989152, -3.46755522E-4, 0.999986291, -4.34514986E-5, -1.51409104E-5),
  1695. CanCollide = false,
  1696. BottomSurface = Enum.SurfaceType.Smooth,
  1697. TopSurface = Enum.SurfaceType.Smooth,
  1698. Color = Color3.new(0.105882, 0.164706, 0.207843)
  1699. })
  1700. Mesh = New("BlockMesh", Part, "Mesh", {
  1701. Scale = Vector3.new(0.571428597, 0.095238097, 0.190476194)
  1702. })
  1703. mot = New("Motor", Part, "mot", {
  1704. Part0 = Part,
  1705. Part1 = Handle,
  1706. C0 = CFrame.new(0, 0, 0, -1.51580507E-5, 4.32481829E-5, 1, -3.46759072E-4, 1, -4.32534325E-5, -1, -3.46759742E-4, -1.51430522E-5),
  1707. C1 = CFrame.new(-0.0704956055, 0.443352461, 0.700820446, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  1708. })
  1709. Part = New("Part", Uzi, "Part", {
  1710. BrickColor = BrickColor.new("Really black"),
  1711. Elasticity = 0,
  1712. FormFactor = Enum.FormFactor.Symmetric,
  1713. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  1714. CFrame = CFrame.new(-63.8792877, 3.4792161, 6.99127293, -0.999997377, 3.7727732E-4, 4.80012168E-5, -3.77270597E-4, -0.999989152, 5.5595694E-5, 4.8025533E-5, 5.59747241E-5, 0.999986291),
  1715. CanCollide = false,
  1716. BottomSurface = Enum.SurfaceType.Smooth,
  1717. TopSurface = Enum.SurfaceType.Smooth,
  1718. Color = Color3.new(0.105882, 0.164706, 0.207843)
  1719. })
  1720. Mesh = New("SpecialMesh", Part, "Mesh", {
  1721. Scale = Vector3.new(0.190476194, 0.380952388, 0.0476190485),
  1722. MeshType = Enum.MeshType.Wedge
  1723. })
  1724. mot = New("Motor", Part, "mot", {
  1725. Part0 = Part,
  1726. Part1 = Handle,
  1727. C0 = CFrame.new(0, 0, 0, -1, -3.77275166E-4, 4.80242488E-5, 3.77277844E-4, -1, 5.57768326E-5, 4.80032068E-5, 5.57949534E-5, 1),
  1728. C1 = CFrame.new(-0.0704956055, 0.0816206932, 1.09927416, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  1729. })
  1730. Part = New("Part", Uzi, "Part", {
  1731. BrickColor = BrickColor.new("Really black"),
  1732. Elasticity = 0,
  1733. FormFactor = Enum.FormFactor.Symmetric,
  1734. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  1735. CFrame = CFrame.new(-63.8792877, 4.10843039, 9.70547295, 4.20435099E-4, -1.53568108E-5, 0.999997318, -0.999989092, -4.51352062E-5, 4.20430006E-4, 4.55259251E-5, -0.999986291, -1.53795154E-5),
  1736. CanCollide = false,
  1737. BottomSurface = Enum.SurfaceType.Smooth,
  1738. TopSurface = Enum.SurfaceType.Smooth,
  1739. Color = Color3.new(0.105882, 0.164706, 0.207843)
  1740. })
  1741. Mesh = New("CylinderMesh", Part, "Mesh", {
  1742. Scale = Vector3.new(0.095238097, 0.285714298, 0.095238097)
  1743. })
  1744. mot = New("Motor", Part, "mot", {
  1745. Part0 = Part,
  1746. Part1 = Handle,
  1747. C0 = CFrame.new(0, 0, 0, 4.20435739E-4, -0.99999994, 4.53278881E-5, -1.53587171E-5, -4.53343491E-5, -1, 0.99999994, 4.20435041E-4, -1.53777764E-5),
  1748. C1 = CFrame.new(-0.0704956055, 0.710843325, -1.61496258, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  1749. })
  1750. A1 = New("Part", Uzi, "A1", {
  1751. BrickColor = BrickColor.new("Really black"),
  1752. Elasticity = 0,
  1753. FormFactor = Enum.FormFactor.Custom,
  1754. Size = Vector3.new(0.623076081, 0.729454994, 1.51969779),
  1755. CFrame = CFrame.new(-64.0106277, 4.09897423, 7.99518442, 3.04593304E-5, -6.80373148E-7, 0.999997377, -0.999989152, -1.32646619E-5, 3.04581481E-5, 1.36619119E-5, -0.999986291, -6.84514248E-7),
  1756. CanCollide = false,
  1757. BottomSurface = Enum.SurfaceType.Smooth,
  1758. TopSurface = Enum.SurfaceType.Smooth,
  1759. Color = Color3.new(0.105882, 0.164706, 0.207843)
  1760. })
  1761. Mesh = New("BlockMesh", A1, "Mesh", {
  1762. Scale = Vector3.new(0.238000005, 1, 0.0480000004)
  1763. })
  1764. mot = New("Motor", A1, "mot", {
  1765. Part0 = A1,
  1766. Part1 = Handle,
  1767. C0 = CFrame.new(0, 0, 0, 3.04589466E-5, -1, 1.34634383E-5, -6.8224125E-7, -1.34634593E-5, -1, 1, 3.04589375E-5, -6.82651319E-7),
  1768. C1 = CFrame.new(0.0608444214, 0.701386213, 0.0953493118, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  1769. })
  1770. Cylinder1 = New("Part", Uzi, "Cylinder", {
  1771. BrickColor = BrickColor.new("Really black"),
  1772. Elasticity = 0,
  1773. FormFactor = Enum.FormFactor.Plate,
  1774. Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),
  1775. CFrame = CFrame.new(-63.8792877, 4.10842991, 9.93623352, 3.34118115E-4, 1.53568108E-5, -0.999997318, -0.999989092, 4.51352062E-5, -3.34113749E-4, 4.5527253E-5, 0.999986291, 1.53755864E-5),
  1776. CanCollide = false,
  1777. BottomSurface = Enum.SurfaceType.Smooth,
  1778. TopSurface = Enum.SurfaceType.Smooth,
  1779. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1780. })
  1781. Mesh = New("CylinderMesh", Cylinder1, "Mesh", {
  1782. Offset = Vector3.new(0, -0.0185714271, 0),
  1783. Scale = Vector3.new(0.0666666627, 0.0476190485, 0.0666666627)
  1784. })
  1785. mot = New("Motor", Cylinder1, "mot", {
  1786. Part0 = Cylinder1,
  1787. Part1 = Handle,
  1788. C0 = CFrame.new(0, 0, 0, 3.34118522E-4, -0.99999994, 4.53292159E-5, 1.53587171E-5, 4.53343491E-5, 1, -0.99999994, -3.34117853E-4, 1.53738638E-5),
  1789. C1 = CFrame.new(-0.0704956055, 0.710842848, -1.84572601, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  1790. })
  1791. Mag1 = New("Part", Uzi, "Mag1", {
  1792. BrickColor = BrickColor.new("White"),
  1793. Elasticity = 0,
  1794. FormFactor = Enum.FormFactor.Custom,
  1795. Size = Vector3.new(0.303939581, 0.723665655, 0.303939581),
  1796. CFrame = CFrame.new(-63.8785477, 2.8062222, 8.01299381, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490618E-5, 0.999989152, -3.46755522E-4, 0.999986291, -4.34514986E-5, -1.51409104E-5),
  1797. CanCollide = false,
  1798. BottomSurface = Enum.SurfaceType.Smooth,
  1799. TopSurface = Enum.SurfaceType.Smooth,
  1800. Color = Color3.new(0.388235, 0.372549, 0.384314)
  1801. })
  1802. Mesh = New("BlockMesh", Mag1, "Mesh", {
  1803. Scale = Vector3.new(0.809523821, 1, 0.714285731)
  1804. })
  1805. mot = New("Motor", Mag1, "mot", {
  1806. Part0 = Mag1,
  1807. Part1 = Handle,
  1808. C0 = CFrame.new(0, 0, 0, -1.51580507E-5, 4.32481829E-5, 1, -3.46759072E-4, 1, -4.32534325E-5, -1, -3.46759742E-4, -1.51430522E-5),
  1809. C1 = CFrame.new(-0.0712356567, -0.591379881, 0.077539444, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  1810. })
  1811. Part = New("Part", Uzi, "Part", {
  1812. BrickColor = BrickColor.new("Really black"),
  1813. Elasticity = 0,
  1814. FormFactor = Enum.FormFactor.Symmetric,
  1815. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  1816. CFrame = CFrame.new(-63.8792839, 3.96399546, 8.94571686, 4.20436263E-4, -1.53869969E-5, 0.999994516, -0.999985397, -4.49496983E-5, 4.20421362E-4, 4.57110073E-5, -0.999980092, -1.53492692E-5),
  1817. CanCollide = false,
  1818. BottomSurface = Enum.SurfaceType.Smooth,
  1819. TopSurface = Enum.SurfaceType.Smooth,
  1820. Color = Color3.new(0.105882, 0.164706, 0.207843)
  1821. })
  1822. Mesh = New("BlockMesh", Part, "Mesh", {
  1823. Scale = Vector3.new(0.095238097, 0.523809552, 0.238095239)
  1824. })
  1825. Weld = New("ManualWeld", Part, "Weld", {
  1826. Part0 = Part,
  1827. Part1 = Port,
  1828. C0 = CFrame.new(-0.759848893, 0.759848893, 0.759848893, -1, 0, 0, 0, 0, 1, 0, 1, 0),
  1829. C1 = CFrame.new(-0.862224281, 0.690827668, 0.238218009, -0.965815187, -0.259224743, 4.81826173E-5, -0.259224653, 0.965815544, -3.01207638E-6, -4.59400871E-5, -1.53690817E-5, -0.999996901)
  1830. })
  1831. mot = New("Motor", Part, "mot", {
  1832. Part0 = Part,
  1833. Part1 = Handle,
  1834. C0 = CFrame.new(0, 0, 0, 4.20408818E-4, -0.99999994, 4.51425221E-5, -1.53889487E-5, -4.51489977E-5, -1, 1, 4.20408091E-4, -1.5407928E-5),
  1835. C1 = CFrame.new(-0.0704994202, 0.566405296, -0.855195999, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  1836. })
  1837. Part = New("Part", Uzi, "Part", {
  1838. BrickColor = BrickColor.new("Really black"),
  1839. Elasticity = 0,
  1840. FormFactor = Enum.FormFactor.Symmetric,
  1841. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  1842. CFrame = CFrame.new(-63.8792877, 4.07189083, 8.22297764, 3.34118115E-4, 1.53568108E-5, -0.999997318, -0.999989092, 4.51352062E-5, -3.34113749E-4, 4.5527253E-5, 0.999986291, 1.53755864E-5),
  1843. CanCollide = false,
  1844. BottomSurface = Enum.SurfaceType.Smooth,
  1845. TopSurface = Enum.SurfaceType.Smooth,
  1846. Color = Color3.new(0.105882, 0.164706, 0.207843)
  1847. })
  1848. Mesh = New("BlockMesh", Part, "Mesh", {
  1849. Scale = Vector3.new(0.238095239, 1.47619045, 0.190476194)
  1850. })
  1851. mot = New("Motor", Part, "mot", {
  1852. Part0 = Part,
  1853. Part1 = Handle,
  1854. C0 = CFrame.new(0, 0, 0, 3.34118522E-4, -0.99999994, 4.53292159E-5, 1.53587171E-5, 4.53343491E-5, 1, -0.99999994, -3.34117853E-4, 1.53738638E-5),
  1855. C1 = CFrame.new(-0.0704956055, 0.674302816, -0.132447243, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  1856. })
  1857. Part = New("Part", Uzi, "Part", {
  1858. BrickColor = BrickColor.new("Really black"),
  1859. Elasticity = 0,
  1860. FormFactor = Enum.FormFactor.Symmetric,
  1861. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  1862. CFrame = CFrame.new(-63.8792877, 3.89102483, 8.94586086, 4.20435099E-4, -1.53568108E-5, 0.999997318, -0.999989092, -4.51352062E-5, 4.20430006E-4, 4.55259251E-5, -0.999986291, -1.53795154E-5),
  1863. CanCollide = false,
  1864. BottomSurface = Enum.SurfaceType.Smooth,
  1865. TopSurface = Enum.SurfaceType.Smooth,
  1866. Color = Color3.new(0.105882, 0.164706, 0.207843)
  1867. })
  1868. Mesh = New("CylinderMesh", Part, "Mesh", {
  1869. Scale = Vector3.new(0.285714298, 0.523809552, 0.238095239)
  1870. })
  1871. Weld = New("ManualWeld", Part, "Weld", {
  1872. Part0 = Part,
  1873. Part1 = Port,
  1874. C0 = CFrame.new(-0.759848893, 0.759848893, 0.759848893, -1, 0, 0, 0, 0, 1, 0, 1, 0),
  1875. C1 = CFrame.new(-0.791742086, 0.70971489, 0.238357142, -0.965815187, -0.259224743, 4.81826173E-5, -0.259224653, 0.965815544, -3.01207638E-6, -4.59400871E-5, -1.53690817E-5, -0.999996901)
  1876. })
  1877. mot = New("Motor", Part, "mot", {
  1878. Part0 = Part,
  1879. Part1 = Handle,
  1880. C0 = CFrame.new(0, 0, 0, 4.20435739E-4, -0.99999994, 4.53278881E-5, -1.53587171E-5, -4.53343491E-5, -1, 0.99999994, 4.20435041E-4, -1.53777764E-5),
  1881. C1 = CFrame.new(-0.0704956055, 0.493435144, -0.855340004, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  1882. })
  1883. Part = New("Part", Uzi, "Part", {
  1884. BrickColor = BrickColor.new("Really black"),
  1885. Elasticity = 0,
  1886. FormFactor = Enum.FormFactor.Symmetric,
  1887. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  1888. CFrame = CFrame.new(-63.8792877, 3.38516831, 8.00556946, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490618E-5, 0.999989152, -3.46755522E-4, 0.999986291, -4.34514986E-5, -1.51409104E-5),
  1889. CanCollide = false,
  1890. BottomSurface = Enum.SurfaceType.Smooth,
  1891. TopSurface = Enum.SurfaceType.Smooth,
  1892. Color = Color3.new(0.105882, 0.164706, 0.207843)
  1893. })
  1894. Mesh = New("BlockMesh", Part, "Mesh", {
  1895. Scale = Vector3.new(0.238095239, 0.476190478, 0.190476194)
  1896. })
  1897. mot = New("Motor", Part, "mot", {
  1898. Part0 = Part,
  1899. Part1 = Handle,
  1900. C0 = CFrame.new(0, 0, 0, -1.51580507E-5, 4.32481829E-5, 1, -3.46759072E-4, 1, -4.32534325E-5, -1, -3.46759742E-4, -1.51430522E-5),
  1901. C1 = CFrame.new(-0.0704956055, -0.0124275684, 0.0849637985, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  1902. })
  1903. Part = New("Part", Uzi, "Part", {
  1904. BrickColor = BrickColor.new("Really black"),
  1905. Elasticity = 0,
  1906. FormFactor = Enum.FormFactor.Symmetric,
  1907. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  1908. CFrame = CFrame.new(-63.8792877, 3.13159156, 7.78817034, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490618E-5, 0.999989152, -3.46755522E-4, 0.999986291, -4.34514986E-5, -1.51409104E-5),
  1909. CanCollide = false,
  1910. BottomSurface = Enum.SurfaceType.Smooth,
  1911. TopSurface = Enum.SurfaceType.Smooth,
  1912. Color = Color3.new(0.105882, 0.164706, 0.207843)
  1913. })
  1914. Mesh = New("BlockMesh", Part, "Mesh", {
  1915. Scale = Vector3.new(0.0476190485, 0.142857149, 0.190476194)
  1916. })
  1917. mot = New("Motor", Part, "mot", {
  1918. Part0 = Part,
  1919. Part1 = Handle,
  1920. C0 = CFrame.new(0, 0, 0, -1.51580507E-5, 4.32481829E-5, 1, -3.46759072E-4, 1, -4.32534325E-5, -1, -3.46759742E-4, -1.51430522E-5),
  1921. C1 = CFrame.new(-0.0704956055, -0.266007185, 0.302366257, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  1922. })
  1923. Part = New("Part", Uzi, "Part", {
  1924. BrickColor = BrickColor.new("Really black"),
  1925. Elasticity = 0,
  1926. FormFactor = Enum.FormFactor.Symmetric,
  1927. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  1928. CFrame = CFrame.new(-63.8792877, 3.81812668, 8.18587875, 3.34118115E-4, 1.53568108E-5, -0.999997318, -0.999989092, 4.51352062E-5, -3.34113749E-4, 4.5527253E-5, 0.999986291, 1.53755864E-5),
  1929. CanCollide = false,
  1930. BottomSurface = Enum.SurfaceType.Smooth,
  1931. TopSurface = Enum.SurfaceType.Smooth,
  1932. Color = Color3.new(0.105882, 0.164706, 0.207843)
  1933. })
  1934. Mesh = New("BlockMesh", Part, "Mesh", {
  1935. Scale = Vector3.new(0.095238097, 0.476190478, 0.190476194)
  1936. })
  1937. mot = New("Motor", Part, "mot", {
  1938. Part0 = Part,
  1939. Part1 = Handle,
  1940. C0 = CFrame.new(0, 0, 0, 3.34118522E-4, -0.99999994, 4.53292159E-5, 1.53587171E-5, 4.53343491E-5, 1, -0.99999994, -3.34117853E-4, 1.53738638E-5),
  1941. C1 = CFrame.new(-0.0704956055, 0.420535564, -0.0953474045, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  1942. })
  1943. Part = New("Part", Uzi, "Part", {
  1944. BrickColor = BrickColor.new("Really black"),
  1945. Elasticity = 0,
  1946. FormFactor = Enum.FormFactor.Symmetric,
  1947. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  1948. CFrame = CFrame.new(-63.8792877, 3.57790494, 7.28955317, 2.37775297E-4, -2.39374975E-4, -0.999997377, -0.707075596, 0.707122624, -3.37392528E-4, 0.707120895, 0.707073271, -1.11602742E-6),
  1949. CanCollide = false,
  1950. BottomSurface = Enum.SurfaceType.Smooth,
  1951. TopSurface = Enum.SurfaceType.Smooth,
  1952. Color = Color3.new(0.105882, 0.164706, 0.207843)
  1953. })
  1954. Mesh = New("BlockMesh", Part, "Mesh", {
  1955. Scale = Vector3.new(0.0476190485, 0.428571433, 0.095238097)
  1956. })
  1957. mot = New("Motor", Part, "mot", {
  1958. Part0 = Part,
  1959. Part1 = Handle,
  1960. C0 = CFrame.new(0, 0, 0, 2.37776927E-4, -0.707083166, 0.707130432, -2.39373941E-4, 0.707130432, 0.707083166, -1, -3.37396661E-4, -1.1179759E-6),
  1961. C1 = CFrame.new(-0.0704956055, 0.180310726, 0.800990105, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  1962. })
  1963. Part = New("Part", Uzi, "Part", {
  1964. BrickColor = BrickColor.new("Really black"),
  1965. Elasticity = 0,
  1966. FormFactor = Enum.FormFactor.Symmetric,
  1967. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  1968. CFrame = CFrame.new(-63.8792877, 3.91217613, 7.10108757, 1.53677556E-5, 0.999997318, -3.44614644E-4, 5.5595694E-5, 3.44610075E-4, 0.999989152, 0.999986291, -1.53906112E-5, -5.59875407E-5),
  1969. CanCollide = false,
  1970. BottomSurface = Enum.SurfaceType.Smooth,
  1971. TopSurface = Enum.SurfaceType.Smooth,
  1972. Color = Color3.new(0.105882, 0.164706, 0.207843)
  1973. })
  1974. Mesh = New("CylinderMesh", Part, "Mesh", {
  1975. Scale = Vector3.new(0.190476194, 0.190476194, 0.190476194)
  1976. })
  1977. mot = New("Motor", Part, "mot", {
  1978. Part0 = Part,
  1979. Part1 = Handle,
  1980. C0 = CFrame.new(0, 0, 0, 1.53696619E-5, 5.57949534E-5, 1, 0.99999994, 3.44614265E-4, -1.53888886E-5, -3.4461508E-4, 1, -5.57896492E-5),
  1981. C1 = CFrame.new(-0.0704956055, 0.514585495, 0.989458561, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  1982. })
  1983. Part = New("Part", Uzi, "Part", {
  1984. BrickColor = BrickColor.new("Really black"),
  1985. Elasticity = 0,
  1986. FormFactor = Enum.FormFactor.Symmetric,
  1987. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  1988. CFrame = CFrame.new(-63.8792877, 3.49313116, 7.78817034, -0.999997318, -4.58751165E-5, 4.07794083E-4, -4.07787855E-4, -4.30788677E-5, -0.999989152, 4.58960603E-5, -0.999986291, 4.3457334E-5),
  1989. CanCollide = false,
  1990. BottomSurface = Enum.SurfaceType.Smooth,
  1991. TopSurface = Enum.SurfaceType.Smooth,
  1992. Color = Color3.new(0.105882, 0.164706, 0.207843)
  1993. })
  1994. Mesh = New("SpecialMesh", Part, "Mesh", {
  1995. Scale = Vector3.new(0.190476194, 0.0476190485, 0.333333343),
  1996. MeshType = Enum.MeshType.Wedge
  1997. })
  1998. mot = New("Motor", Part, "mot", {
  1999. Part0 = Part,
  2000. Part1 = Handle,
  2001. C0 = CFrame.new(0, 0, 0, -0.99999994, -4.07792744E-4, 4.58947434E-5, -4.58770992E-5, -4.32779889E-5, -1, 4.07794694E-4, -1, 4.32592715E-5),
  2002. C1 = CFrame.new(-0.0704956055, 0.0955364704, 0.302366257, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  2003. })
  2004. Part = New("Part", Uzi, "Part", {
  2005. BrickColor = BrickColor.new("White"),
  2006. Elasticity = 0,
  2007. FormFactor = Enum.FormFactor.Symmetric,
  2008. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  2009. CFrame = CFrame.new(-63.8792877, 3.81812716, 7.78816938, 0.999997377, 7.62029813E-5, -4.07784712E-4, 4.0778832E-4, -1.04068669E-4, 0.999989092, 7.61557822E-5, -0.999986291, -1.0449675E-4),
  2010. CanCollide = false,
  2011. BottomSurface = Enum.SurfaceType.Smooth,
  2012. TopSurface = Enum.SurfaceType.Smooth,
  2013. Color = Color3.new(0.105882, 0.164706, 0.207843)
  2014. })
  2015. Mesh = New("SpecialMesh", Part, "Mesh", {
  2016. Scale = Vector3.new(0.190476194, 0.0476190485, 0.095238097),
  2017. MeshType = Enum.MeshType.Wedge
  2018. })
  2019. mot = New("Motor", Part, "mot", {
  2020. Part0 = Part,
  2021. Part1 = Handle,
  2022. C0 = CFrame.new(0, 0, 0, 1, 4.07793239E-4, 7.61587726E-5, 7.62013078E-5, -1.04268453E-4, -1, -4.07785323E-4, 0.99999994, -1.04299521E-4),
  2023. C1 = CFrame.new(-0.0704956055, 0.420535803, 0.30236721, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  2024. })
  2025. Part = New("Part", Uzi, "Part", {
  2026. BrickColor = BrickColor.new("Really black"),
  2027. Elasticity = 0,
  2028. FormFactor = Enum.FormFactor.Symmetric,
  2029. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  2030. CFrame = CFrame.new(-63.8792877, 4.10843039, 9.41535473, 4.20435099E-4, -1.53568108E-5, 0.999997318, -0.999989092, -4.51352062E-5, 4.20430006E-4, 4.55259251E-5, -0.999986291, -1.53795154E-5),
  2031. CanCollide = false,
  2032. BottomSurface = Enum.SurfaceType.Smooth,
  2033. TopSurface = Enum.SurfaceType.Smooth,
  2034. Color = Color3.new(0.105882, 0.164706, 0.207843)
  2035. })
  2036. Mesh = New("CylinderMesh", Part, "Mesh", {
  2037. Scale = Vector3.new(0.142857149, 0.095238097, 0.142857149)
  2038. })
  2039. mot = New("Motor", Part, "mot", {
  2040. Part0 = Part,
  2041. Part1 = Handle,
  2042. C0 = CFrame.new(0, 0, 0, 4.20435739E-4, -0.99999994, 4.53278881E-5, -1.53587171E-5, -4.53343491E-5, -1, 0.99999994, 4.20435041E-4, -1.53777764E-5),
  2043. C1 = CFrame.new(-0.0704956055, 0.710843325, -1.32484055, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  2044. })
  2045. Block = New("Part", Uzi, "Block", {
  2046. BrickColor = BrickColor.new("Really black"),
  2047. Elasticity = 0,
  2048. FormFactor = Enum.FormFactor.Plate,
  2049. Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),
  2050. CFrame = CFrame.new(-63.8792877, 3.673805, 8.25339222, -3.23260669E-4, 2.16992383E-4, -0.999997377, 0.866039515, -0.499953777, -3.88442742E-4, -0.499952704, -0.866036952, -2.63046823E-5),
  2051. CanCollide = false,
  2052. BottomSurface = Enum.SurfaceType.Smooth,
  2053. TopSurface = Enum.SurfaceType.Smooth,
  2054. Color = Color3.new(0.105882, 0.164706, 0.207843)
  2055. })
  2056. Mesh = New("BlockMesh", Block, "Mesh", {
  2057. Scale = Vector3.new(0.142857149, 0.0952381045, 0.0476190485)
  2058. })
  2059. mot = New("Motor", Block, "mot", {
  2060. Part0 = Block,
  2061. Part1 = Handle,
  2062. C0 = CFrame.new(0, 0, 0, -3.23262066E-4, 0.866048813, -0.499959379, 2.16991102E-4, -0.49995935, -0.866048872, -1, -3.88447457E-4, -2.63069869E-5),
  2063. C1 = CFrame.new(-0.0704956055, 0.276212454, -0.162861824, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  2064. })
  2065. NoSight = New("Part", Uzi, "NoSight", {
  2066. BrickColor = BrickColor.new("Really black"),
  2067. Elasticity = 0,
  2068. FormFactor = Enum.FormFactor.Plate,
  2069. Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),
  2070. CFrame = CFrame.new(-63.7637138, 4.25275517, 7.24577427, 3.16243502E-4, -0.999997318, -1.53725232E-5, -0.999989152, -3.16239311E-4, -4.30490618E-5, 4.34413814E-5, 1.53898236E-5, -0.999986291),
  2071. CanCollide = false,
  2072. BottomSurface = Enum.SurfaceType.Smooth,
  2073. TopSurface = Enum.SurfaceType.Smooth,
  2074. Color = Color3.new(0.105882, 0.164706, 0.207843)
  2075. })
  2076. Mesh = New("CylinderMesh", NoSight, "Mesh", {
  2077. Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194)
  2078. })
  2079. mot = New("Motor", NoSight, "mot", {
  2080. Part0 = NoSight,
  2081. Part1 = Handle,
  2082. C0 = CFrame.new(0, 0, 0, 3.16243852E-4, -1, 4.32433153E-5, -0.99999994, -3.16243211E-4, 1.53881065E-5, -1.53744295E-5, -4.32481829E-5, -1),
  2083. C1 = CFrame.new(-0.186069489, 0.855168581, 0.844769955, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  2084. })
  2085. NoSight = New("Part", Uzi, "NoSight", {
  2086. BrickColor = BrickColor.new("Really black"),
  2087. Elasticity = 0,
  2088. FormFactor = Enum.FormFactor.Custom,
  2089. Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
  2090. CFrame = CFrame.new(-63.857769, 4.31044102, 8.6785574, 1.51598751E-5, -4.07793617E-4, 0.999997377, -4.30490618E-5, 0.999989152, 4.07790008E-4, -0.999986291, -4.34524227E-5, 1.51382555E-5),
  2091. CanCollide = false,
  2092. BottomSurface = Enum.SurfaceType.Smooth,
  2093. TopSurface = Enum.SurfaceType.Smooth,
  2094. Color = Color3.new(0.105882, 0.164706, 0.207843)
  2095. })
  2096. Mesh = New("SpecialMesh", NoSight, "Mesh", {
  2097. Scale = Vector3.new(0.333333224, 0.0476190485, 0.142857105),
  2098. MeshType = Enum.MeshType.Wedge
  2099. })
  2100. mot = New("Motor", NoSight, "mot", {
  2101. Part0 = NoSight,
  2102. Part1 = Handle,
  2103. C0 = CFrame.new(0, 0, 0, 1.51580489E-5, -4.32481829E-5, -1, -4.07794229E-4, 1, -4.32543566E-5, 1, 4.07794898E-4, 1.51404101E-5),
  2104. C1 = CFrame.new(-0.0920143127, 0.912855864, -0.588032722, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  2105. })
  2106. Ring = New("Part", Uzi, "Ring", {
  2107. BrickColor = BrickColor.new("Really black"),
  2108. Elasticity = 0,
  2109. FormFactor = Enum.FormFactor.Symmetric,
  2110. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  2111. CFrame = CFrame.new(-63.8792877, 3.71034932, 8.25933456, 4.58751165E-5, 4.0779452E-4, 0.999997318, 4.30788677E-5, -0.999989152, 4.07788291E-4, 0.999986291, 4.34573376E-5, -4.58960603E-5),
  2112. CanCollide = false,
  2113. BottomSurface = Enum.SurfaceType.Smooth,
  2114. TopSurface = Enum.SurfaceType.Smooth,
  2115. Color = Color3.new(0.105882, 0.164706, 0.207843)
  2116. })
  2117. Mesh = New("SpecialMesh", Ring, "Mesh", {
  2118. Scale = Vector3.new(0.434199393, 0.361832827, 0.361832827),
  2119. MeshId = "http://www.roblox.com/asset/?id=3270017",
  2120. MeshType = Enum.MeshType.FileMesh
  2121. })
  2122. mot = New("Motor", Ring, "mot", {
  2123. Part0 = Ring,
  2124. Part1 = Handle,
  2125. C0 = CFrame.new(0, 0, 0, 4.58770992E-5, 4.32779889E-5, 1, 4.07795131E-4, -1, 4.32592751E-5, 0.99999994, 4.07793181E-4, -4.58947434E-5),
  2126. C1 = CFrame.new(-0.0704956055, 0.312757254, -0.168804169, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  2127. })
  2128. NoSight = New("Part", Uzi, "NoSight", {
  2129. BrickColor = BrickColor.new("Really black"),
  2130. Elasticity = 0,
  2131. FormFactor = Enum.FormFactor.Custom,
  2132. Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
  2133. CFrame = CFrame.new(-63.9008064, 4.31044102, 8.6785574, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490618E-5, 0.999989152, -3.46755522E-4, 0.999986291, -4.34514986E-5, -1.51409104E-5),
  2134. CanCollide = false,
  2135. BottomSurface = Enum.SurfaceType.Smooth,
  2136. TopSurface = Enum.SurfaceType.Smooth,
  2137. Color = Color3.new(0.105882, 0.164706, 0.207843)
  2138. })
  2139. Mesh = New("SpecialMesh", NoSight, "Mesh", {
  2140. Scale = Vector3.new(0.333333224, 0.0476190485, 0.142857105),
  2141. MeshType = Enum.MeshType.Wedge
  2142. })
  2143. mot = New("Motor", NoSight, "mot", {
  2144. Part0 = NoSight,
  2145. Part1 = Handle,
  2146. C0 = CFrame.new(0, 0, 0, -1.51580507E-5, 4.32481829E-5, 1, -3.46759072E-4, 1, -4.32534325E-5, -1, -3.46759742E-4, -1.51430522E-5),
  2147. C1 = CFrame.new(-0.0489768982, 0.912855864, -0.588032722, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  2148. })
  2149. NoSight = New("Part", Uzi, "NoSight", {
  2150. BrickColor = BrickColor.new("Really black"),
  2151. Elasticity = 0,
  2152. FormFactor = Enum.FormFactor.Plate,
  2153. Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),
  2154. CFrame = CFrame.new(-63.7637138, 4.25256538, 9.19813633, 3.16242484E-4, -0.999998629, -1.53781439E-5, -0.999994516, -3.16240039E-4, -4.36452538E-5, 4.38389834E-5, 1.53937908E-5, -0.999993145),
  2155. CanCollide = false,
  2156. BottomSurface = Enum.SurfaceType.Smooth,
  2157. TopSurface = Enum.SurfaceType.Smooth,
  2158. Color = Color3.new(0.105882, 0.164706, 0.207843)
  2159. })
  2160. Mesh = New("CylinderMesh", NoSight, "Mesh", {
  2161. Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194)
  2162. })
  2163. mot = New("Motor", NoSight, "mot", {
  2164. Part0 = NoSight,
  2165. Part1 = Handle,
  2166. C0 = CFrame.new(0, 0, 0, 3.16242484E-4, -0.999994516, 4.38389834E-5, -0.999998629, -3.16240039E-4, 1.53937908E-5, -1.53781439E-5, -4.36452538E-5, -0.999993145),
  2167. C1 = CFrame.new(-0.186069489, 0.854979753, -1.10761929, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  2168. })
  2169. NoSight = New("Part", Uzi, "NoSight", {
  2170. BrickColor = BrickColor.new("Really black"),
  2171. Elasticity = 0,
  2172. FormFactor = Enum.FormFactor.Custom,
  2173. Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
  2174. CFrame = CFrame.new(-63.8792877, 4.27389956, 7.20867825, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490654E-5, 0.999989152, -3.46755493E-4, 0.999986291, -4.34515023E-5, -1.51409085E-5),
  2175. CanCollide = false,
  2176. BottomSurface = Enum.SurfaceType.Smooth,
  2177. TopSurface = Enum.SurfaceType.Smooth,
  2178. Color = Color3.new(0.105882, 0.164706, 0.207843)
  2179. })
  2180. Mesh = New("BlockMesh", NoSight, "Mesh", {
  2181. Scale = Vector3.new(0.0476190522, 0.190476194, 0.19047603)
  2182. })
  2183. mot = New("Motor", NoSight, "mot", {
  2184. Part0 = NoSight,
  2185. Part1 = Handle,
  2186. C0 = CFrame.new(0, 0, 0, -1.5159917E-5, 4.30495311E-5, 1, -3.46759538E-4, 1, -4.30547843E-5, -1, -3.46760178E-4, -1.51449858E-5),
  2187. C1 = CFrame.new(-0.0704956055, 0.876312971, 0.881866455, -1, -1.38907941E-9, -5.60068347E-9, -1.38908274E-9, 1, 5.95965616E-7, 5.60068303E-9, 5.95965616E-7, -1)
  2188. })
  2189. A2 = New("Part", Uzi, "A2", {
  2190. BrickColor = BrickColor.new("White"),
  2191. Elasticity = 0,
  2192. FormFactor = Enum.FormFactor.Custom,
  2193. Size = Vector3.new(0.303939581, 0.303939581, 1.8236376),
  2194. CFrame = CFrame.new(-64.1623764, 4.10658884, 8.22297573, 3.04593304E-5, -6.80373148E-7, 0.999997377, -0.999989152, -1.32646619E-5, 3.04581481E-5, 1.36619119E-5, -0.999986291, -6.84514305E-7),
  2195. CanCollide = false,
  2196. BottomSurface = Enum.SurfaceType.Smooth,
  2197. TopSurface = Enum.SurfaceType.Smooth,
  2198. Color = Color3.new(0.388235, 0.372549, 0.384314)
  2199. })
  2200. Mesh = New("BlockMesh", A2, "Mesh", {
  2201. Offset = Vector3.new(0, 0, 0.0599999987),
  2202. Scale = Vector3.new(0.200000003, 0.200000003, 0.0480000004)
  2203. })
  2204. mot = New("Motor", A2, "mot", {
  2205. Part0 = A2,
  2206. Part1 = Handle,
  2207. C0 = CFrame.new(0, 0, 0, 3.04594105E-5, -1, 1.32647847E-5, -6.80374967E-7, -1.32648056E-5, -1, 1, 3.04594014E-5, -6.8077901E-7),
  2208. C1 = CFrame.new(0.212593079, 0.709000826, -0.132445335, -1, -1.38907941E-9, -5.60068347E-9, -1.38908274E-9, 1, 5.95965616E-7, 5.60068303E-9, 5.95965616E-7, -1)
  2209. })
  2210. for _, v in pairs(Uzi:GetChildren()) do
  2211. if v:IsA("BasePart") then
  2212. v.CanCollide = false
  2213. end
  2214. end
  2215. local NewInstance = function(instance, parent, properties)
  2216. local inst = Instance.new(instance, parent)
  2217. if properties then
  2218. for i, v in next, properties, nil do
  2219. pcall(function()
  2220. inst[i] = v
  2221. end)
  2222. end
  2223. end
  2224. return inst
  2225. end
  2226. local HW = NewInstance("Weld", char, {
  2227. Part0 = ra,
  2228. Part1 = Handle,
  2229. C0 = CFrame.new(0, -1.1, -0.2) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  2230. })
  2231. -------------------------------------------------------
  2232. --End Important Functions--
  2233. -------------------------------------------------------
  2234.  
  2235.  
  2236. -------------------------------------------------------
  2237. --Start Customization--
  2238. -------------------------------------------------------
  2239. local Player_Size = 1
  2240. if Player_Size ~= 1 then
  2241. root.Size = root.Size * Player_Size
  2242. tors.Size = tors.Size * Player_Size
  2243. hed.Size = hed.Size * Player_Size
  2244. ra.Size = ra.Size * Player_Size
  2245. la.Size = la.Size * Player_Size
  2246. rl.Size = rl.Size * Player_Size
  2247. ll.Size = ll.Size * Player_Size
  2248. ----------------------------------------------------------------------------------
  2249. rootj.Parent = root
  2250. neck.Parent = tors
  2251. RW.Parent = tors
  2252. LW.Parent = tors
  2253. RH.Parent = tors
  2254. LH.Parent = tors
  2255. ----------------------------------------------------------------------------------
  2256. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  2257. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  2258. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  2259. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  2260. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  2261. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  2262. ----------------------------------------------------------------------------------
  2263. RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  2264. LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  2265. RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  2266. LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  2267. --hat.Parent = Character
  2268. end
  2269. ----------------------------------------------------------------------------------
  2270. local SONG = 2385953834
  2271. local SONG2 = 0
  2272. local Music = Instance.new("Sound",tors)
  2273. ----------------------------------------------------------------------------------
  2274. local equipped = false
  2275. local idle = 0
  2276. local change = 1
  2277. local val = 0
  2278. local toim = 0
  2279. local idleanim = 0.4
  2280. local sine = 0
  2281. local Sit = 1
  2282. local WasAir = false
  2283. local InAir = false
  2284. local LandTick = 0
  2285. local movelegs = false
  2286. local Speed = 35
  2287. local Firing = false
  2288. ----------------------------------------------------------------------------------
  2289. hum.JumpPower = 55
  2290. hum.Animator.Parent = nil
  2291. -------------------------------------------------------
  2292. --End Customization--
  2293. -------------------------------------------------------
  2294.  
  2295.  
  2296. -------------------------------------------------------
  2297. --Start Attacks N Stuff--
  2298. -------------------------------------------------------
  2299. function AttackTemplate()
  2300. attack = true
  2301. for i = 0, 2, 0.1 do
  2302. swait()
  2303. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  2304. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1)
  2305. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  2306. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  2307. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 + 5 * Sin(sine / 20)), Rad(10 + 5 * Sin(sine / 20))), 0.1)
  2308. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1)
  2309. end
  2310. attack = false
  2311. end
  2312. local Camera = workspace.CurrentCamera
  2313. function ShootEmUp()
  2314. attack = true
  2315. Speed = 5
  2316. movelegs = true
  2317. repeat
  2318. swait()
  2319. for i = 0, 0.3, 0.2 do
  2320. swait()
  2321. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(60)), 0.3)
  2322. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 5 * Sin(sine / 20)), Rad(0), Rad(-60)), 0.3)
  2323. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.3)
  2324. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.3)
  2325. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(0), Rad(45)), 0.3)
  2326. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.3)
  2327. end
  2328. local part, pos = rayCast(Cylinder1.Position,((mouse.Hit.p+Vector3.new(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)) - Cylinder1.Position),200,char)
  2329. Effects.Block(Cylinder1.CFrame,Vector3.new(.4,.4,.4),Vector3.new(),Vector3.new(.6,.6,.6),"Neon","Really red",true,false,.1)
  2330. Effects.Block(CFrame.new(pos),Vector3.new(.4,.4,.4),Vector3.new(),Vector3.new(.1,.1,.1),"Neon","Really red",true,false,.1)
  2331. Effects.Block(CFrame.new((Cylinder1.Position + pos)/2,pos),Vector3.new(.2,.2,(Cylinder1.Position - pos).magnitude),Vector3.new(0,0,1),Vector3.new(.1,.1,0),"Neon","Really red",false,false,.1)
  2332. Cso("147722910", Cylinder1, 100, Mrandom(90,110)/100)
  2333. local WWWWWWWWWWOAH = Instance.new("Part",Camera)
  2334. WWWWWWWWWWOAH.Anchored = true
  2335. WWWWWWWWWWOAH.Transparency = 1
  2336. WWWWWWWWWWOAH.CanCollide = false
  2337. WWWWWWWWWWOAH.Size = Vector3.new()
  2338. WWWWWWWWWWOAH.CFrame = CFrame.new(pos)
  2339. MagniDamage(WWWWWWWWWWOAH, 3, 18, 2, 10, "Normal")
  2340. for i = 0, 1 do
  2341. swait()
  2342. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(60)), 0.3)
  2343. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 5 * Sin(sine / 20)), Rad(0), Rad(-60)), 0.3)
  2344. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.3)
  2345. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.3)
  2346. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(110), Rad(0), Rad(45)), 0.3)
  2347. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.3)
  2348. end
  2349. until Firing == false
  2350. Speed = 35
  2351. attack = false
  2352. movelegs = false
  2353. end
  2354. Sitt = false
  2355. function SittyBoi()
  2356. attack = true
  2357. Sitt = true
  2358. Speed = 0
  2359. repeat
  2360. swait()
  2361. for i = 0, 1, 0.1 do
  2362. swait()
  2363. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -1.6 + 0.1 * Player_Size * Cos(sine / 20)) * angles(Rad(-15), Rad(0), Rad(0)), 0.1)
  2364. neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0.05 + ((1* Player_Size) - 1)) * angles(Rad(25 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1)
  2365. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.6* Player_Size, -0.2 - 0.1 * Cos(sine / 20)* Player_Size, -0.5* Player_Size) * angles(Rad(20), Rad(-10), Rad(0)), 0.1)
  2366. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -1.1 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(75), Rad(5), Rad(-10)), 0.1)
  2367. RW.C0 = clerp(RW.C0, CF(1.2* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.2* Player_Size) * angles(Rad(80), Rad(40), Rad(-30)), 0.1)
  2368. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.2 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-15), Rad(20), Rad(-15)), 0.1)
  2369. end
  2370. until Sitt == false
  2371. attack = false
  2372. Speed = 35
  2373. end
  2374. function Maniac()
  2375. attack = true
  2376. movelegs = true
  2377. Speed = 4
  2378. local Laugh = Cso("2668778545", hed, 10, 1)
  2379. swait(2)
  2380. for i = 1, 38 do
  2381. swait()
  2382. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 2)) * angles(Rad(0), Rad(0), Rad(-15)), 0.1)
  2383. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 2.5 * Sin(sine / 2)), Rad(0), Rad(15)), 0.1)
  2384. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 2)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  2385. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 2)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  2386. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.3 + 0.1 * Sin(sine / 2)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(0), Rad(0)), 0.1)
  2387. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Cos(sine / 2)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(20), Rad(-5 + 4.5 * Sin(sine / 2))), 0.1)
  2388. end
  2389. for i = 1, 45 do
  2390. swait()
  2391. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 2)) * angles(Rad(0), Rad(0), Rad(-15)), 0.1)
  2392. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 2.5 * Sin(sine / 2)), Rad(0), Rad(15)), 0.1)
  2393. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 2)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  2394. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 2)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  2395. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.3 + 0.1 * Sin(sine / 2)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(0), Rad(90)), 0.1)
  2396. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Cos(sine / 2)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(20), Rad(-5 + 4.5 * Sin(sine / 2))), 0.1)
  2397. end
  2398.  
  2399. attack = false
  2400. movelegs = false
  2401. Speed = 35
  2402. end
  2403. local VALUE1 = false
  2404. -------------------------------------------------------
  2405. --End Attacks N Stuff--
  2406. -------------------------------------------------------
  2407. mouse.Button1Down:connect(function()
  2408. Firing = true
  2409. if attack == false then
  2410. ShootEmUp()
  2411. end
  2412. end)
  2413. mouse.Button1Up:connect(function()
  2414. Firing = false
  2415. end)
  2416. mouse.KeyDown:connect(function(key)
  2417. if (VALUE1 == false and attack == false) or Sitt == true then
  2418. if key == "q" then
  2419. if Sitt == false then
  2420. SittyBoi()
  2421. elseif Sitt == true then
  2422. Sitt = false
  2423. end
  2424. end
  2425. end
  2426. if attack == false then
  2427. if key == "t" then
  2428. Maniac()
  2429. end
  2430. end
  2431. end)
  2432.  
  2433.  
  2434.  
  2435.  
  2436.  
  2437.  
  2438.  
  2439. -------------------------------------------------------
  2440. --Start Animations--
  2441. -------------------------------------------------------
  2442. print("By Creterisk")
  2443. while true do
  2444. swait()
  2445. sine = sine + change
  2446. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  2447. local velderp = root.Velocity.y
  2448. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  2449. if equipped == true or equipped == false then
  2450. if attack == false then
  2451. idle = idle + 1
  2452. else
  2453. idle = 0
  2454. end
  2455. local Landed = false
  2456. if(hitfloor)then
  2457. WasAir = false
  2458. else
  2459. WasAir = true
  2460. end
  2461. if(WasAir == false)then
  2462. if(InAir == true)then
  2463. LandTick = time()
  2464. Landed = true
  2465. end
  2466. end
  2467. if(time()-LandTick < .3)then
  2468. Landed = true
  2469. end
  2470. if(hitfloor)then
  2471. InAir = false
  2472. else
  2473. InAir = true
  2474. end
  2475. local Walking = (math.abs(root.Velocity.x) > 1 or math.abs(root.Velocity.z) > 1)
  2476. local State = (hum.PlatformStand and 'Paralyzed' or hum.Sit and 'Sit' or Landed and 'Land' or not hitfloor and root.Velocity.y < -1 and "Fall" or not hitfloor and root.Velocity.y > 1 and "Jump" or hitfloor and Walking and "Walk" or hitfloor and "Idle")
  2477. local WALKSPEEDVALUE = 6 / (hum.WalkSpeed / 16)
  2478. if hum.Sit == false then
  2479. if(State == 'Jump')then
  2480. hum.JumpPower = 55
  2481. if attack == false then
  2482. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.1)
  2483. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2484. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -.2 - 0.1 * Cos(sine / 20), -.3* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.1)
  2485. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.1)
  2486. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  2487. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  2488. end
  2489. elseif(State == 'Fall')then
  2490. if attack == false then
  2491. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.1)
  2492. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2493. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(-3.5), Rad(0), Rad(0)), 0.1)
  2494. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(-3.5), Rad(0), Rad(0)), 0.1)
  2495. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
  2496. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
  2497. end
  2498. elseif(State == 'Land')then
  2499. hum.JumpPower = 0
  2500. if attack == false then
  2501. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  2502. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(35 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2503. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, 0.1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(-3.5), Rad(0), Rad(10)), 0.15)
  2504. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, 0.1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(-3.5), Rad(0), Rad(-10)), 0.15)
  2505. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(25 + 4.5 * Sin(sine / 20))), 0.1)
  2506. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.1)
  2507. end
  2508. elseif(State == 'Idle')then
  2509. change = 1
  2510. if attack == false then
  2511. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  2512. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(5)), 0.1)
  2513. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  2514. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  2515. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.3 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(210), Rad(0), Rad(-10)), 0.1)
  2516. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1)
  2517. end
  2518. elseif(State == 'Walk')then
  2519. change = 0.76
  2520. hum.JumpPower = 55
  2521. if attack == false then
  2522. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.3 - 0.15 * Cos(sine / (WALKSPEEDVALUE / 2))) * angles(Rad(25), Rad(0), Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE )) + root.RotVelocity.Y / 75), 0.1)
  2523. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-5 + 5 * Sin(sine / (WALKSPEEDVALUE / 2))), Rad(0), Rad(0 + 10 * Cos(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / 13), 0.1)
  2524. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.8 - 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, 0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-10 - 65 * Cos(sine / WALKSPEEDVALUE)) - root.RotVelocity.Y / 75 + -Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
  2525. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.8 + 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, -0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-10 + 65 * Cos(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / -75 + Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
  2526. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.3 + 0.05 * Cos(sine / WALKSPEEDVALUE)* Player_Size, 0* Player_Size) * angles(Rad(210), Rad(0), Rad(-10)), 0.1)
  2527. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Cos(sine / WALKSPEEDVALUE)* Player_Size, 0 + 0.5 * Cos(sine / WALKSPEEDVALUE)* Player_Size) * angles(Rad(-125 * Cos(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / 75, Rad(10 * Cos(sine / WALKSPEEDVALUE)), Rad(-20) + root.RotVelocity.Y / -75), 0.1)
  2528. elseif attack == true and movelegs == true then
  2529. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.8 - 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, 0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-10 - 25 * Cos(sine / WALKSPEEDVALUE)) - root.RotVelocity.Y / 75 + -Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
  2530. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.8 + 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, -0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-10 + 25 * Cos(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / -75 + Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
  2531. end
  2532. end
  2533. else
  2534. Sit.Value = true
  2535. if attack == false then
  2536. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.5 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  2537. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-5 - 2.5 * Sin(sine / 30)), Rad(0), Rad(-5)), 0.1)
  2538. rl.Weld.C0 = clerp(rl.Weld.C0, CF(1* Player_Size, -0.35 - 0.05 * Cos(sine / 20)* Player_Size, -0.5* Player_Size) * angles(Rad(15), Rad(75), Rad(0)) * angles(Rad(-5), Rad(0), Rad(5)), 0.1)
  2539. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-1* Player_Size, -0.35 - 0.05 * Cos(sine / 20)* Player_Size, -0.5* Player_Size) * angles(Rad(15), Rad(-75), Rad(0)) * angles(Rad(-5), Rad(0), Rad(5)), 0.1)
  2540. RW.C0 = clerp(RW.C0, CF(1.3* Player_Size, 0.4 + 0.1 * Sin(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(35), Rad(-20), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
  2541. LW.C0 = clerp(LW.C0, CF(-1.3* Player_Size, 0.4 + 0.1 * Sin(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(35), Rad(20), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
  2542. end
  2543. end
  2544. end
  2545. hum.WalkSpeed = Speed
  2546. Music.SoundId = "rbxassetid://"..SONG
  2547. Music.Looped = true
  2548. Music.Pitch = 1
  2549. Music.Volume = 2
  2550. Music.Parent = tors
  2551. Music.Playing = true
  2552. if 0 < #Effects then
  2553. for e = 1, #Effects do
  2554. if Effects[e] ~= nil then
  2555. local Thing = Effects[e]
  2556. if Thing ~= nil then
  2557. local Part = Thing[1]
  2558. local Mode = Thing[2]
  2559. local Delay = Thing[3]
  2560. local IncX = Thing[4]
  2561. local IncY = Thing[5]
  2562. local IncZ = Thing[6]
  2563. if 1 >= Thing[1].Transparency then
  2564. if Thing[2] == "Block1" then
  2565. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2566. local Mesh = Thing[1].Mesh
  2567. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2568. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2569. elseif Thing[2] == "Block2" then
  2570. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  2571. local Mesh = Thing[7]
  2572. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2573. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2574. elseif Thing[2] == "Block3" then
  2575. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
  2576. local Mesh = Thing[7]
  2577. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2578. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2579. elseif Thing[2] == "Cylinder" then
  2580. local Mesh = Thing[1].Mesh
  2581. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2582. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2583. elseif Thing[2] == "Blood" then
  2584. local Mesh = Thing[7]
  2585. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  2586. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2587. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2588. elseif Thing[2] == "Elec" then
  2589. local Mesh = Thing[1].Mesh
  2590. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2591. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2592. elseif Thing[2] == "Disappear" then
  2593. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2594. elseif Thing[2] == "Shatter" then
  2595. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2596. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2597. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2598. Thing[6] = Thing[6] + Thing[5]
  2599. end
  2600. else
  2601. Part.Parent = nil
  2602. table.remove(Effects, e)
  2603. end
  2604. end
  2605. end
  2606. end
  2607. end
  2608. end
  2609. -------------------------------------------------------
  2610. --End Animations And Script--
  2611. -------------------------------------------------------
  2612.  
  2613. -------------------------------------------------if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2614. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  2615. do
  2616. print("FE Compatibility code by Mokiros")
  2617. script.Parent = Player.Character
  2618.  
  2619. --RemoteEvent for communicating
  2620. local Event = Instance.new("RemoteEvent")
  2621. Event.Name = "UserInput_Event"
  2622.  
  2623. --Fake event to make stuff like Mouse.KeyDown work
  2624. local function fakeEvent()
  2625. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  2626. t.connect = t.Connect
  2627. return t
  2628. end
  2629.  
  2630. --Creating fake input objects with fake variables
  2631. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  2632. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  2633. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  2634. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  2635. end}
  2636. --Merged 2 functions into one by checking amount of arguments
  2637. CAS.UnbindAction = CAS.BindAction
  2638.  
  2639. --This function will trigger the events that have been :Connect()'ed
  2640. local function te(self,ev,...)
  2641. local t = m[ev]
  2642. if t and t._fakeEvent and t.Function then
  2643. t.Function(...)
  2644. end
  2645. end
  2646. m.TrigEvent = te
  2647. UIS.TrigEvent = te
  2648.  
  2649. Event.OnServerEvent:Connect(function(plr,io)
  2650. if plr~=Player then return end
  2651. if io.isMouse then
  2652. m.Target = io.Target
  2653. m.Hit = io.Hit
  2654. else
  2655. local b = io.UserInputState == Enum.UserInputState.Begin
  2656. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  2657. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  2658. end
  2659. for _,t in pairs(CAS.Actions) do
  2660. for _,k in pairs(t.Keys) do
  2661. if k==io.KeyCode then
  2662. t.Function(t.Name,io.UserInputState,io)
  2663. end
  2664. end
  2665. end
  2666. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  2667. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  2668. end
  2669. end)
  2670. Event.Parent = NLS([==[
  2671. local Player = game:GetService("Players").LocalPlayer
  2672. local Event = script:WaitForChild("UserInput_Event")
  2673.  
  2674. local UIS = game:GetService("UserInputService")
  2675. local input = function(io,a)
  2676. if a then return end
  2677. --Since InputObject is a client-side instance, we create and pass table instead
  2678. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  2679. end
  2680. UIS.InputBegan:Connect(input)
  2681. UIS.InputEnded:Connect(input)
  2682.  
  2683. local Mouse = Player:GetMouse()
  2684. local h,t
  2685. --Give the server mouse data 30 times every second, but only if the values changed
  2686. --If player is not moving their mouse, client won't fire events
  2687. while wait(1/30) do
  2688. if h~=Mouse.Hit or t~=Mouse.Target then
  2689. h,t=Mouse.Hit,Mouse.Target
  2690. Event:FireServer({isMouse=true,Target=t,Hit=h})
  2691. end
  2692. end]==],Player.Character)
  2693. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  2694. end
  2695.  
  2696. ---------Replace All "kermat161" With Your Name
  2697. -----------------------------Script In The Line's
  2698.  
  2699. --TODO: add comments or something idk
  2700. wait(0.2)
  2701.  
  2702. handle = Instance.new('Part')
  2703. handle.Name = 'Handle'
  2704. handle.Parent = hat1
  2705.  
  2706. handlemesh = Instance.new('SpecialMesh')
  2707. handlemesh.MeshType = 'FileMesh'
  2708. handlemesh.MeshId = 'http://www.roblox.com/asset/?id=63688922'
  2709. handlemesh.TextureId = 'rbxassetid://63688929'
  2710. handlemesh.Parent = handlemusic
  2711.  
  2712. local shirt = Instance.new("Shirt",char)
  2713. shirt.ShirtTemplate = "rbxassetid://2270330688"
  2714. local pants = Instance.new("Pants",char)
  2715. pants.PantsTemplate = "rbxassetid://3063981747"
  2716.  
  2717. local plr = owner
  2718. local char = plr.Character
  2719. local hum = char:FindFirstChildOfClass'Humanoid'
  2720. local hed = char.Head
  2721. local root = char:FindFirstChild'HumanoidRootPart'
  2722. local rootj = root.RootJoint
  2723. local tors = char.Torso
  2724. local ra = char["Right Arm"]
  2725. local la = char["Left Arm"]
  2726. local rl = char["Right Leg"]
  2727. local ll = char["Left Leg"]
  2728. local neck = tors["Neck"]
  2729. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  2730. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  2731. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  2732. local maincolor = BrickColor.new("Institutional white")
  2733. -------------------------------------------------------
  2734. --Start Whitelist and Invincibility--
  2735. -------------------------------------------------------
  2736. ff = Instance.new("ForceField",char)
  2737. ff.Visible = false
  2738. hum.Name = "Base"
  2739. hum.MaxHealth = 1.0E298
  2740. hum.Health = 1.0E298
  2741. game:GetService("RunService"):BindToRenderStep("Base", 0, function()
  2742. if hum.Health > 0.1 and hum.Health < 1.0E298 then
  2743. hum.MaxHealth = 1.0E298
  2744. hum.Health = 1.0E298
  2745. end
  2746. end)
  2747. -------------------------------------------------------
  2748. --End Whitelist and Invincibility--
  2749. -------------------------------------------------------
  2750.  
  2751. -------------------------------------------------------
  2752. --Start Good Stuff--
  2753. -------------------------------------------------------
  2754. cam = game.Workspace.CurrentCamera
  2755. CF = CFrame.new
  2756. angles = CFrame.Angles
  2757. attack = false
  2758. Euler = CFrame.fromEulerAnglesXYZ
  2759. Rad = math.rad
  2760. IT = Instance.new
  2761. BrickC = BrickColor.new
  2762. Cos = math.cos
  2763. Acos = math.acos
  2764. Sin = math.sin
  2765. Asin = math.asin
  2766. Abs = math.abs
  2767. Mrandom = math.random
  2768. Floor = math.floor
  2769. -------------------------------------------------------
  2770. --End Good Stuff--
  2771. -------------------------------------------------------
  2772. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  2773. RSH, LSH = nil, nil
  2774. RW = Instance.new("Weld")
  2775. LW = Instance.new("Weld")
  2776. RH = tors["Right Hip"]
  2777. LH = tors["Left Hip"]
  2778. RSH = tors["Right Shoulder"]
  2779. LSH = tors["Left Shoulder"]
  2780. RSH.Parent = nil
  2781. LSH.Parent = nil
  2782. RW.Name = "RW"
  2783. RW.Part0 = tors
  2784. RW.C0 = CF(1.5, 0.5, 0)
  2785. RW.C1 = CF(0, 0.5, 0)
  2786. RW.Part1 = ra
  2787. RW.Parent = tors
  2788. LW.Name = "LW"
  2789. LW.Part0 = tors
  2790. LW.C0 = CF(-1.5, 0.5, 0)
  2791. LW.C1 = CF(0, 0.5, 0)
  2792. LW.Part1 = la
  2793. LW.Parent = tors
  2794. Effects = {}
  2795. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  2796. local wld = Instance.new("Weld", wp1)
  2797. wld.Part0 = wp0
  2798. wld.Part1 = wp1
  2799. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  2800. end
  2801. newWeld(tors, ll, -0.5, -1, 0)
  2802. ll.Weld.C1 = CFrame.new(0, 1, 0)
  2803. newWeld(tors, rl, 0.5, -1, 0)
  2804. rl.Weld.C1 = CFrame.new(0, 1, 0)
  2805. -------------------------------------------------------
  2806. --Start HeartBeat--
  2807. -------------------------------------------------------
  2808. ArtificialHB = Instance.new("BindableEvent", script)
  2809. ArtificialHB.Name = "Heartbeat"
  2810. script:WaitForChild("Heartbeat")
  2811.  
  2812. frame = 1 / 60
  2813. tf = 0
  2814. allowframeloss = false
  2815. tossremainder = false
  2816.  
  2817.  
  2818. lastframe = tick()
  2819. script.Heartbeat:Fire()
  2820.  
  2821.  
  2822. game:GetService("RunService").Heartbeat:connect(function(s, p)
  2823. tf = tf + s
  2824. if tf >= frame then
  2825. if allowframeloss then
  2826. script.Heartbeat:Fire()
  2827. lastframe = tick()
  2828. else
  2829. for i = 1, math.floor(tf / frame) do
  2830. script.Heartbeat:Fire()
  2831. end
  2832. lastframe = tick()
  2833. end
  2834. if tossremainder then
  2835. tf = 0
  2836. else
  2837. tf = tf - frame * math.floor(tf / frame)
  2838. end
  2839. end
  2840. end)
  2841. -------------------------------------------------------
  2842. --End HeartBeat--
  2843. -------------------------------------------------------
  2844.  
  2845. -------------------------------------------------------
  2846. --Start Important Functions--
  2847. -------------------------------------------------------
  2848. function swait(num)
  2849. if num == 0 or num == nil then
  2850. game:service("RunService").Stepped:wait(0)
  2851. else
  2852. for i = 0, num do
  2853. game:service("RunService").Stepped:wait(0)
  2854. end
  2855. end
  2856. end
  2857. function thread(f)
  2858. coroutine.resume(coroutine.create(f))
  2859. end
  2860. function clerp(a, b, t)
  2861. local qa = {
  2862. QuaternionFromCFrame(a)
  2863. }
  2864. local qb = {
  2865. QuaternionFromCFrame(b)
  2866. }
  2867. local ax, ay, az = a.x, a.y, a.z
  2868. local bx, by, bz = b.x, b.y, b.z
  2869. local _t = 1 - t
  2870. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  2871. end
  2872. function QuaternionFromCFrame(cf)
  2873. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  2874. local trace = m00 + m11 + m22
  2875. if trace > 0 then
  2876. local s = math.sqrt(1 + trace)
  2877. local recip = 0.5 / s
  2878. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  2879. else
  2880. local i = 0
  2881. if m00 < m11 then
  2882. i = 1
  2883. end
  2884. if m22 > (i == 0 and m00 or m11) then
  2885. i = 2
  2886. end
  2887. if i == 0 then
  2888. local s = math.sqrt(m00 - m11 - m22 + 1)
  2889. local recip = 0.5 / s
  2890. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  2891. elseif i == 1 then
  2892. local s = math.sqrt(m11 - m22 - m00 + 1)
  2893. local recip = 0.5 / s
  2894. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  2895. elseif i == 2 then
  2896. local s = math.sqrt(m22 - m00 - m11 + 1)
  2897. local recip = 0.5 / s
  2898. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  2899. end
  2900. end
  2901. end
  2902. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  2903. local xs, ys, zs = x + x, y + y, z + z
  2904. local wx, wy, wz = w * xs, w * ys, w * zs
  2905. local xx = x * xs
  2906. local xy = x * ys
  2907. local xz = x * zs
  2908. local yy = y * ys
  2909. local yz = y * zs
  2910. local zz = z * zs
  2911. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  2912. end
  2913. function QuaternionSlerp(a, b, t)
  2914. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  2915. local startInterp, finishInterp
  2916. if cosTheta >= 1.0E-4 then
  2917. if 1 - cosTheta > 1.0E-4 then
  2918. local theta = math.acos(cosTheta)
  2919. local invSinTheta = 1 / Sin(theta)
  2920. startInterp = Sin((1 - t) * theta) * invSinTheta
  2921. finishInterp = Sin(t * theta) * invSinTheta
  2922. else
  2923. startInterp = 1 - t
  2924. finishInterp = t
  2925. end
  2926. elseif 1 + cosTheta > 1.0E-4 then
  2927. local theta = math.acos(-cosTheta)
  2928. local invSinTheta = 1 / Sin(theta)
  2929. startInterp = Sin((t - 1) * theta) * invSinTheta
  2930. finishInterp = Sin(t * theta) * invSinTheta
  2931. else
  2932. startInterp = t - 1
  2933. finishInterp = t
  2934. end
  2935. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  2936. end
  2937. function rayCast(Position, Direction, Range, Ignore)
  2938. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  2939. end
  2940. local RbxUtility = LoadLibrary("RbxUtility")
  2941. local Create = RbxUtility.Create
  2942.  
  2943. -------------------------------------------------------
  2944. --Start Damage Function--
  2945. -------------------------------------------------------
  2946. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  2947. if hit.Parent == nil then
  2948. return
  2949. end
  2950. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  2951. for _, v in pairs(hit.Parent:children()) do
  2952. if v:IsA("Humanoid") then
  2953. h = v
  2954. end
  2955. end
  2956. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  2957.  
  2958. hit.Parent:FindFirstChild("Head"):BreakJoints()
  2959. end
  2960.  
  2961. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  2962. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  2963. if hit.Parent.DebounceHit.Value == true then
  2964. return
  2965. end
  2966. end
  2967. if insta == true then
  2968. hit.Parent:FindFirstChild("Head"):BreakJoints()
  2969. end
  2970. local c = Create("ObjectValue"){
  2971. Name = "creator",
  2972. Value = owner,
  2973. Parent = h,
  2974. }
  2975. game:GetService("Debris"):AddItem(c, .5)
  2976. if HitSound ~= nil and HitPitch ~= nil then
  2977. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  2978. end
  2979. local Damage = math.random(20, 40)
  2980. local blocked = false
  2981. local block = hit.Parent:findFirstChild("Block")
  2982. if block ~= nil then
  2983. if block.className == "IntValue" then
  2984. if block.Value > 0 then
  2985. blocked = true
  2986. block.Value = block.Value - 1
  2987. print(block.Value)
  2988. end
  2989. end
  2990. end
  2991. if blocked == false then
  2992. h.Health = h.Health - Damage
  2993. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  2994. else
  2995. h.Health = h.Health - (Damage / 2)
  2996. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  2997. end
  2998. if Type == "Knockdown" then
  2999. local hum = hit.Parent.Humanoid
  3000. hum.PlatformStand = true
  3001. coroutine.resume(coroutine.create(function(HHumanoid)
  3002. swait(1)
  3003. HHumanoid.PlatformStand = false
  3004. end), hum)
  3005. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  3006. local bodvol = Create("BodyVelocity"){
  3007. velocity = angle * knockback,
  3008. P = 5000,
  3009. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  3010. Parent = hit,
  3011. }
  3012. local rl = Create("BodyAngularVelocity"){
  3013. P = 3000,
  3014. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  3015. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  3016. Parent = hit,
  3017. }
  3018. game:GetService("Debris"):AddItem(bodvol, .5)
  3019. game:GetService("Debris"):AddItem(rl, .5)
  3020. elseif Type == "Normal" then
  3021. local vp = Create("BodyVelocity"){
  3022. P = 500,
  3023. maxForce = Vector3.new(math.huge, 0, math.huge),
  3024. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  3025. }
  3026. if knockback > 0 then
  3027. vp.Parent = hit.Parent.Torso
  3028. end
  3029. game:GetService("Debris"):AddItem(vp, .5)
  3030. elseif Type == "Up" then
  3031. local bodyVelocity = Create("BodyVelocity"){
  3032. velocity = Vector3.new(0, 20, 0),
  3033. P = 5000,
  3034. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  3035. Parent = hit,
  3036. }
  3037. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  3038. elseif Type == "DarkUp" then
  3039. coroutine.resume(coroutine.create(function()
  3040. for i = 0, 1, 0.1 do
  3041. swait()
  3042. Effects.Block.Create(BrickColor.new("Gold"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  3043. end
  3044. end))
  3045. local bodyVelocity = Create("BodyVelocity"){
  3046. velocity = Vector3.new(0, 20, 0),
  3047. P = 5000,
  3048. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  3049. Parent = hit,
  3050. }
  3051. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  3052. elseif Type == "Snare" then
  3053. local bp = Create("BodyPosition"){
  3054. P = 2000,
  3055. D = 100,
  3056. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3057. position = hit.Parent.Torso.Position,
  3058. Parent = hit.Parent.Torso,
  3059. }
  3060. game:GetService("Debris"):AddItem(bp, 1)
  3061. elseif Type == "Freeze" then
  3062. local BodPos = Create("BodyPosition"){
  3063. P = 50000,
  3064. D = 1000,
  3065. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3066. position = hit.Parent.Torso.Position,
  3067. Parent = hit.Parent.Torso,
  3068. }
  3069. local BodGy = Create("BodyGyro") {
  3070. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  3071. P = 20e+003,
  3072. Parent = hit.Parent.Torso,
  3073. cframe = hit.Parent.Torso.CFrame,
  3074. }
  3075. hit.Parent.Torso.Anchored = true
  3076. coroutine.resume(coroutine.create(function(Part)
  3077. swait(1.5)
  3078. Part.Anchored = false
  3079. end), hit.Parent.Torso)
  3080. game:GetService("Debris"):AddItem(BodPos, 3)
  3081. game:GetService("Debris"):AddItem(BodGy, 3)
  3082. end
  3083. local debounce = Create("BoolValue"){
  3084. Name = "DebounceHit",
  3085. Parent = hit.Parent,
  3086. Value = true,
  3087. }
  3088. game:GetService("Debris"):AddItem(debounce, Delay)
  3089. c = Create("ObjectValue"){
  3090. Name = "creator",
  3091. Value = Player,
  3092. Parent = h,
  3093. }
  3094. game:GetService("Debris"):AddItem(c, .5)
  3095. end
  3096. end
  3097. -------------------------------------------------------
  3098. --End Damage Function--
  3099. -------------------------------------------------------
  3100.  
  3101. -------------------------------------------------------
  3102. --Start Damage Function Customization--
  3103. -------------------------------------------------------
  3104. function ShowDamage(Pos, Text, Time, Color)
  3105. local Rate = (1 / 30)
  3106. local Pos = (Pos or Vector3.new(0, 0, 0))
  3107. local Text = (Text or "")
  3108. local Time = (Time or 2)
  3109. local Color = (Color or Color3.new(1, 0, 1))
  3110. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  3111. EffectPart.Anchored = true
  3112. local BillboardGui = Create("BillboardGui"){
  3113. Size = UDim2.new(3, 0, 3, 0),
  3114. Adornee = EffectPart,
  3115. Parent = EffectPart,
  3116. }
  3117. local TextLabel = Create("TextLabel"){
  3118. BackgroundTransparency = 1,
  3119. Size = UDim2.new(1, 0, 1, 0),
  3120. Text = Text,
  3121. Font = "Bodoni",
  3122. TextColor3 = Color,
  3123. TextScaled = true,
  3124. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  3125. Parent = BillboardGui,
  3126. }
  3127. game.Debris:AddItem(EffectPart, (Time))
  3128. EffectPart.Parent = game:GetService("Workspace")
  3129. delay(0, function()
  3130. local Frames = (Time / Rate)
  3131. for Frame = 1, Frames do
  3132. wait(Rate)
  3133. local Percent = (Frame / Frames)
  3134. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  3135. TextLabel.TextTransparency = Percent
  3136. end
  3137. if EffectPart and EffectPart.Parent then
  3138. EffectPart:Destroy()
  3139. end
  3140. end)
  3141. end
  3142. -------------------------------------------------------
  3143. --End Damage Function Customization--
  3144. -------------------------------------------------------
  3145.  
  3146. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  3147. for _, c in pairs(workspace:children()) do
  3148. local hum = c:findFirstChild("Humanoid")
  3149. if hum ~= nil then
  3150. local head = c:findFirstChild("Head")
  3151. if head ~= nil then
  3152. local targ = head.Position - Part.Position
  3153. local mag = targ.magnitude
  3154. if magni >= mag and c.Name ~= plr.Name then
  3155. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  3156. end
  3157. end
  3158. end
  3159. end
  3160. end
  3161.  
  3162.  
  3163. CFuncs = {
  3164. Part = {
  3165. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  3166. local Part = Create("Part")({
  3167. Parent = Parent,
  3168. Reflectance = Reflectance,
  3169. Transparency = Transparency,
  3170. CanCollide = false,
  3171. Locked = true,
  3172. BrickColor = BrickColor.new(tostring(BColor)),
  3173. Name = Name,
  3174. Size = Size,
  3175. Material = Material
  3176. })
  3177. RemoveOutlines(Part)
  3178. return Part
  3179. end
  3180. },
  3181. Mesh = {
  3182. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  3183. local Msh = Create(Mesh)({
  3184. Parent = Part,
  3185. Offset = OffSet,
  3186. Scale = Scale
  3187. })
  3188. if Mesh == "SpecialMesh" then
  3189. Msh.MeshType = MeshType
  3190. Msh.MeshId = MeshId
  3191. end
  3192. return Msh
  3193. end
  3194. },
  3195. Mesh = {
  3196. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  3197. local Msh = Create(Mesh)({
  3198. Parent = Part,
  3199. Offset = OffSet,
  3200. Scale = Scale
  3201. })
  3202. if Mesh == "SpecialMesh" then
  3203. Msh.MeshType = MeshType
  3204. Msh.MeshId = MeshId
  3205. end
  3206. return Msh
  3207. end
  3208. },
  3209. Weld = {
  3210. Create = function(Parent, Part0, Part1, C0, C1)
  3211. local Weld = Create("Weld")({
  3212. Parent = Parent,
  3213. Part0 = Part0,
  3214. Part1 = Part1,
  3215. C0 = C0,
  3216. C1 = C1
  3217. })
  3218. return Weld
  3219. end
  3220. },
  3221. Sound = {
  3222. Create = function(id, par, vol, pit)
  3223. coroutine.resume(coroutine.create(function()
  3224. local S = Create("Sound")({
  3225. Volume = vol,
  3226. Pitch = pit or 1,
  3227. SoundId = id,
  3228. Parent = par or workspace
  3229. })
  3230. wait()
  3231. S:play()
  3232. game:GetService("Debris"):AddItem(S, 6)
  3233. end))
  3234. end
  3235. },
  3236. ParticleEmitter = {
  3237. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  3238. local fp = Create("ParticleEmitter")({
  3239. Parent = Parent,
  3240. Color = ColorSequence.new(Color1, Color2),
  3241. LightEmission = LightEmission,
  3242. Size = Size,
  3243. Texture = Texture,
  3244. Transparency = Transparency,
  3245. ZOffset = ZOffset,
  3246. Acceleration = Accel,
  3247. Drag = Drag,
  3248. LockedToPart = LockedToPart,
  3249. VelocityInheritance = VelocityInheritance,
  3250. EmissionDirection = EmissionDirection,
  3251. Enabled = Enabled,
  3252. Lifetime = LifeTime,
  3253. Rate = Rate,
  3254. Rotation = Rotation,
  3255. RotSpeed = RotSpeed,
  3256. Speed = Speed,
  3257. VelocitySpread = VelocitySpread
  3258. })
  3259. return fp
  3260. end
  3261. }
  3262. }
  3263. function RemoveOutlines(part)
  3264. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  3265. end
  3266. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  3267. local Part = Create("Part")({
  3268. formFactor = FormFactor,
  3269. Parent = Parent,
  3270. Reflectance = Reflectance,
  3271. Transparency = Transparency,
  3272. CanCollide = false,
  3273. Locked = true,
  3274. BrickColor = BrickColor.new(tostring(BColor)),
  3275. Name = Name,
  3276. Size = Size,
  3277. Material = Material
  3278. })
  3279. RemoveOutlines(Part)
  3280. return Part
  3281. end
  3282. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  3283. local Msh = Create(Mesh)({
  3284. Parent = Part,
  3285. Offset = OffSet,
  3286. Scale = Scale
  3287. })
  3288. if Mesh == "SpecialMesh" then
  3289. Msh.MeshType = MeshType
  3290. Msh.MeshId = MeshId
  3291. end
  3292. return Msh
  3293. end
  3294. function CreateWeld(Parent, Part0, Part1, C0, C1)
  3295. local Weld = Create("Weld")({
  3296. Parent = Parent,
  3297. Part0 = Part0,
  3298. Part1 = Part1,
  3299. C0 = C0,
  3300. C1 = C1
  3301. })
  3302. return Weld
  3303. end
  3304.  
  3305.  
  3306. -------------------------------------------------------
  3307. --Start Effect Function--
  3308. -------------------------------------------------------
  3309. EffectModel = Instance.new("Model", char)
  3310. Effects = {
  3311. Block = {
  3312. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  3313. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  3314. prt.Anchored = true
  3315. prt.CFrame = cframe
  3316. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3317. game:GetService("Debris"):AddItem(prt, 10)
  3318. if Type == 1 or Type == nil then
  3319. table.insert(Effects, {
  3320. prt,
  3321. "Block1",
  3322. delay,
  3323. x3,
  3324. y3,
  3325. z3,
  3326. msh
  3327. })
  3328. elseif Type == 2 then
  3329. table.insert(Effects, {
  3330. prt,
  3331. "Block2",
  3332. delay,
  3333. x3,
  3334. y3,
  3335. z3,
  3336. msh
  3337. })
  3338. else
  3339. table.insert(Effects, {
  3340. prt,
  3341. "Block3",
  3342. delay,
  3343. x3,
  3344. y3,
  3345. z3,
  3346. msh
  3347. })
  3348. end
  3349. end
  3350. },
  3351. Sphere = {
  3352. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3353. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  3354. prt.Anchored = true
  3355. prt.CFrame = cframe
  3356. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3357. game:GetService("Debris"):AddItem(prt, 10)
  3358. table.insert(Effects, {
  3359. prt,
  3360. "Cylinder",
  3361. delay,
  3362. x3,
  3363. y3,
  3364. z3,
  3365. msh
  3366. })
  3367. end
  3368. },
  3369. Cylinder = {
  3370. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3371. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  3372. prt.Anchored = true
  3373. prt.CFrame = cframe
  3374. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3375. game:GetService("Debris"):AddItem(prt, 10)
  3376. table.insert(Effects, {
  3377. prt,
  3378. "Cylinder",
  3379. delay,
  3380. x3,
  3381. y3,
  3382. z3,
  3383. msh
  3384. })
  3385. end
  3386. },
  3387. Wave = {
  3388. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3389. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  3390. prt.Anchored = true
  3391. prt.CFrame = cframe
  3392. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  3393. game:GetService("Debris"):AddItem(prt, 10)
  3394. table.insert(Effects, {
  3395. prt,
  3396. "Cylinder",
  3397. delay,
  3398. x3 / 60,
  3399. y3 / 60,
  3400. z3 / 60,
  3401. msh
  3402. })
  3403. end
  3404. },
  3405. Ring = {
  3406. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3407. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  3408. prt.Anchored = true
  3409. prt.CFrame = cframe
  3410. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3411. game:GetService("Debris"):AddItem(prt, 10)
  3412. table.insert(Effects, {
  3413. prt,
  3414. "Cylinder",
  3415. delay,
  3416. x3,
  3417. y3,
  3418. z3,
  3419. msh
  3420. })
  3421. end
  3422. },
  3423. Break = {
  3424. Create = function(brickcolor, cframe, x1, y1, z1)
  3425. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  3426. prt.Anchored = true
  3427. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3428. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3429. local num = math.random(10, 50) / 1000
  3430. game:GetService("Debris"):AddItem(prt, 10)
  3431. table.insert(Effects, {
  3432. prt,
  3433. "Shatter",
  3434. num,
  3435. prt.CFrame,
  3436. math.random() - math.random(),
  3437. 0,
  3438. math.random(50, 100) / 100
  3439. })
  3440. end
  3441. },
  3442. Spiral = {
  3443. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3444. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  3445. prt.Anchored = true
  3446. prt.CFrame = cframe
  3447. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3448. game:GetService("Debris"):AddItem(prt, 10)
  3449. table.insert(Effects, {
  3450. prt,
  3451. "Cylinder",
  3452. delay,
  3453. x3,
  3454. y3,
  3455. z3,
  3456. msh
  3457. })
  3458. end
  3459. },
  3460. Push = {
  3461. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3462. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  3463. prt.Anchored = true
  3464. prt.CFrame = cframe
  3465. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3466. game:GetService("Debris"):AddItem(prt, 10)
  3467. table.insert(Effects, {
  3468. prt,
  3469. "Cylinder",
  3470. delay,
  3471. x3,
  3472. y3,
  3473. z3,
  3474. msh
  3475. })
  3476. end
  3477. }
  3478. }
  3479. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  3480. local fp = IT("Part")
  3481. fp.formFactor = formfactor
  3482. fp.Parent = parent
  3483. fp.Reflectance = reflectance
  3484. fp.Transparency = transparency
  3485. fp.CanCollide = false
  3486. fp.Locked = true
  3487. fp.BrickColor = brickcolor
  3488. fp.Name = name
  3489. fp.Size = size
  3490. fp.Position = tors.Position
  3491. RemoveOutlines(fp)
  3492. fp.Material = "SmoothPlastic"
  3493. fp:BreakJoints()
  3494. return fp
  3495. end
  3496.  
  3497. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  3498. local mesh = IT(Mesh)
  3499. mesh.Parent = part
  3500. if Mesh == "SpecialMesh" then
  3501. mesh.MeshType = meshtype
  3502. if meshid ~= "nil" then
  3503. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  3504. end
  3505. end
  3506. mesh.Offset = offset
  3507. mesh.Scale = scale
  3508. return mesh
  3509. end
  3510.  
  3511. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  3512. local type = type
  3513. local rng = Instance.new("Part", char)
  3514. rng.Anchored = true
  3515. rng.BrickColor = color
  3516. rng.CanCollide = false
  3517. rng.FormFactor = 3
  3518. rng.Name = "Ring"
  3519. rng.Material = "Neon"
  3520. rng.Size = Vector3.new(1, 1, 1)
  3521. rng.Transparency = 0
  3522. rng.TopSurface = 0
  3523. rng.BottomSurface = 0
  3524. rng.CFrame = pos
  3525. local rngm = Instance.new("SpecialMesh", rng)
  3526. rngm.MeshType = MType
  3527. rngm.Scale = scale
  3528. local scaler2 = 1
  3529. if type == "Add" then
  3530. scaler2 = 1 * value
  3531. elseif type == "Divide" then
  3532. scaler2 = 1 / value
  3533. end
  3534. coroutine.resume(coroutine.create(function()
  3535. for i = 0, 10 / bonuspeed, 0.1 do
  3536. swait()
  3537. if type == "Add" then
  3538. scaler2 = scaler2 - 0.01 * value / bonuspeed
  3539. elseif type == "Divide" then
  3540. scaler2 = scaler2 - 0.01 / value * bonuspeed
  3541. end
  3542. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  3543. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  3544. end
  3545. rng:Destroy()
  3546. end))
  3547. end
  3548.  
  3549. function Eviscerate(dude)
  3550. if dude.Name ~= char then
  3551. local bgf = IT("BodyGyro", dude.Head)
  3552. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  3553. local val = IT("BoolValue", dude)
  3554. val.Name = "IsHit"
  3555. local ds = coroutine.wrap(function()
  3556. dude:WaitForChild("Head"):BreakJoints()
  3557. wait(0.5)
  3558. target = nil
  3559. coroutine.resume(coroutine.create(function()
  3560. for i, v in pairs(dude:GetChildren()) do
  3561. if v:IsA("Accessory") then
  3562. v:Destroy()
  3563. end
  3564. if v:IsA("Humanoid") then
  3565. v:Destroy()
  3566. end
  3567. if v:IsA("CharacterMesh") then
  3568. v:Destroy()
  3569. end
  3570. if v:IsA("Model") then
  3571. v:Destroy()
  3572. end
  3573. if v:IsA("Part") or v:IsA("MeshPart") then
  3574. for x, o in pairs(v:GetChildren()) do
  3575. if o:IsA("Decal") then
  3576. o:Destroy()
  3577. end
  3578. end
  3579. coroutine.resume(coroutine.create(function()
  3580. v.Material = "Neon"
  3581. v.CanCollide = false
  3582. local PartEmmit1 = IT("ParticleEmitter", v)
  3583. PartEmmit1.LightEmission = 1
  3584. PartEmmit1.Texture = "rbxassetid://284205403"
  3585. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  3586. PartEmmit1.Rate = 150
  3587. PartEmmit1.Lifetime = NumberRange.new(1)
  3588. PartEmmit1.Size = NumberSequence.new({
  3589. NumberSequenceKeypoint.new(0, 0.75, 0),
  3590. NumberSequenceKeypoint.new(1, 0, 0)
  3591. })
  3592. PartEmmit1.Transparency = NumberSequence.new({
  3593. NumberSequenceKeypoint.new(0, 0, 0),
  3594. NumberSequenceKeypoint.new(1, 1, 0)
  3595. })
  3596. PartEmmit1.Speed = NumberRange.new(0, 0)
  3597. PartEmmit1.VelocitySpread = 30000
  3598. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  3599. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  3600. local BodPoss = IT("BodyPosition", v)
  3601. BodPoss.P = 3000
  3602. BodPoss.D = 1000
  3603. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3604. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  3605. v.Color = maincolor.Color
  3606. coroutine.resume(coroutine.create(function()
  3607. for i = 0, 49 do
  3608. swait(1)
  3609. v.Transparency = v.Transparency + 0.08
  3610. end
  3611. wait(0.5)
  3612. PartEmmit1.Enabled = false
  3613. wait(3)
  3614. v:Destroy()
  3615. dude:Destroy()
  3616. end))
  3617. end))
  3618. end
  3619. end
  3620. end))
  3621. end)
  3622. ds()
  3623. end
  3624. end
  3625.  
  3626. function FindNearestHead(Position, Distance, SinglePlayer)
  3627. if SinglePlayer then
  3628. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  3629. end
  3630. local List = {}
  3631. for i, v in pairs(workspace:GetChildren()) do
  3632. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  3633. table.insert(List, v)
  3634. end
  3635. end
  3636. return List
  3637. end
  3638.  
  3639. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  3640. local type = type
  3641. local rng = Instance.new("Part", char)
  3642. rng.Anchored = true
  3643. rng.BrickColor = color
  3644. rng.CanCollide = false
  3645. rng.FormFactor = 3
  3646. rng.Name = "Ring"
  3647. rng.Material = "Neon"
  3648. rng.Size = Vector3.new(1, 1, 1)
  3649. rng.Transparency = 0
  3650. rng.TopSurface = 0
  3651. rng.BottomSurface = 0
  3652. rng.CFrame = pos
  3653. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  3654. local rngm = Instance.new("SpecialMesh", rng)
  3655. rngm.MeshType = MType
  3656. rngm.Scale = Vector3.new(x1, y1, z1)
  3657. local scaler2 = 1
  3658. local speeder = FastSpeed
  3659. if type == "Add" then
  3660. scaler2 = 1 * value
  3661. elseif type == "Divide" then
  3662. scaler2 = 1 / value
  3663. end
  3664. coroutine.resume(coroutine.create(function()
  3665. for i = 0, 10 / bonuspeed, 0.1 do
  3666. swait()
  3667. if type == "Add" then
  3668. scaler2 = scaler2 - 0.01 * value / bonuspeed
  3669. elseif type == "Divide" then
  3670. scaler2 = scaler2 - 0.01 / value * bonuspeed
  3671. end
  3672. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  3673. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  3674. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  3675. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  3676. end
  3677. rng:Destroy()
  3678. end))
  3679. end
  3680.  
  3681. function SoulSteal(dude)
  3682. if dude.Name ~= char then
  3683. local bgf = IT("BodyGyro", dude.Head)
  3684. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  3685. local val = IT("BoolValue", dude)
  3686. val.Name = "IsHit"
  3687. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  3688. local soulst = coroutine.wrap(function()
  3689. local soul = Instance.new("Part",dude)
  3690. soul.Size = Vector3.new(1,1,1)
  3691. soul.CanCollide = false
  3692. soul.Anchored = false
  3693. soul.Position = torso.Position
  3694. soul.Transparency = 1
  3695. local PartEmmit1 = IT("ParticleEmitter", soul)
  3696. PartEmmit1.LightEmission = 1
  3697. PartEmmit1.Texture = "rbxassetid://569507414"
  3698. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  3699. PartEmmit1.Rate = 250
  3700. PartEmmit1.Lifetime = NumberRange.new(1.6)
  3701. PartEmmit1.Size = NumberSequence.new({
  3702. NumberSequenceKeypoint.new(0, 1, 0),
  3703. NumberSequenceKeypoint.new(1, 0, 0)
  3704. })
  3705. PartEmmit1.Transparency = NumberSequence.new({
  3706. NumberSequenceKeypoint.new(0, 0, 0),
  3707. NumberSequenceKeypoint.new(1, 1, 0)
  3708. })
  3709. PartEmmit1.Speed = NumberRange.new(0, 0)
  3710. PartEmmit1.VelocitySpread = 30000
  3711. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  3712. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  3713. local BodPoss = IT("BodyPosition", soul)
  3714. BodPoss.P = 3000
  3715. BodPoss.D = 1000
  3716. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3717. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  3718. wait(1.6)
  3719. soul.Touched:connect(function(hit)
  3720. if hit.Parent == char then
  3721. soul:Destroy()
  3722. end
  3723. end)
  3724. wait(1.2)
  3725. while soul do
  3726. swait()
  3727. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  3728. BodPoss.Position = tors.Position
  3729. end
  3730. end)
  3731. soulst()
  3732. end
  3733. end
  3734. function FaceMouse()
  3735. local Cam = workspace.CurrentCamera
  3736. return {
  3737. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3738. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3739. }
  3740. end
  3741. Effects = {
  3742. Block = function(cf,partsize,meshstart,meshadd,matr,colour,spin,inverse,factor)
  3743. local p = Instance.new("Part",EffectModel)
  3744. p.BrickColor = BrickColor.new(colour)
  3745. p.Size = partsize
  3746. p.Anchored = true
  3747. p.CanCollide = false
  3748. p.Material = matr
  3749. p.CFrame = cf
  3750. if inverse == true then
  3751. p.Transparency = 1
  3752. else
  3753. p.Transparency = 0
  3754. end
  3755. local m = Instance.new("BlockMesh",p)
  3756. m.Scale = meshstart
  3757. coroutine.wrap(function()
  3758. for i = 0, 1, factor do
  3759. swait()
  3760. if inverse == true then
  3761. p.Transparency = 1-i
  3762. else
  3763. p.Transparency = i
  3764. end
  3765. m.Scale = m.Scale + meshadd
  3766. if spin == true then
  3767. p.CFrame = p.CFrame * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3768. end
  3769. end
  3770. p:Destroy()
  3771. end)()
  3772. return p
  3773. end,
  3774. Sphere = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
  3775. local p = Instance.new("Part",EffectModel)
  3776. p.BrickColor = BrickColor.new(colour)
  3777. p.Size = partsize
  3778. p.Anchored = true
  3779. p.CanCollide = false
  3780. p.Material = matr
  3781. p.CFrame = cf
  3782. if inverse == true then
  3783. p.Transparency = 1
  3784. else
  3785. p.Transparency = 0
  3786. end
  3787. local m = Instance.new("SpecialMesh",p)
  3788. m.MeshType = "Sphere"
  3789. m.Scale = meshstart
  3790. coroutine.wrap(function()
  3791. for i=0,1,factor do
  3792. swait()
  3793. if inverse == true then
  3794. p.Transparency = 1-i
  3795. else
  3796. p.Transparency = i
  3797. end
  3798. m.Scale = m.Scale + meshadd
  3799. end
  3800. p:Destroy()
  3801. end)()
  3802. return p
  3803. end,
  3804.  
  3805. Cylinder = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
  3806. local p = Instance.new("Part",EffectModel)
  3807. p.BrickColor = BrickColor.new(colour)
  3808. p.Size = partsize
  3809. p.Anchored = true
  3810. p.CanCollide = false
  3811. p.Material = matr
  3812. p.CFrame = cf
  3813. if inverse == true then
  3814. p.Transparency = 1
  3815. else
  3816. p.Transparency = 0
  3817. end
  3818. local m = Instance.new("CylinderMesh",p)
  3819. m.Scale = meshstart
  3820. coroutine.wrap(function()
  3821. for i=0,1,factor do
  3822. swait()
  3823. if inverse == true then
  3824. p.Transparency = 1-i
  3825. else
  3826. p.Transparency = i
  3827. end
  3828. m.Scale = m.Scale + meshadd
  3829. end
  3830. p:Destroy()
  3831. end)()
  3832. return p
  3833. end,
  3834.  
  3835. Wave = function(cf,meshstart,meshadd,colour,spin,inverse,factor)
  3836. local p = Instance.new("Part",EffectModel)
  3837. p.BrickColor = BrickColor.new(colour)
  3838. p.Size = Vector3.new()
  3839. p.Anchored = true
  3840. p.CanCollide = false
  3841. p.CFrame = cf
  3842. if inverse == true then
  3843. p.Transparency = 1
  3844. else
  3845. p.Transparency = 0
  3846. end
  3847. local m = Instance.new("SpecialMesh",p)
  3848. m.MeshId = "rbxassetid://20329976"
  3849. m.Scale = meshstart
  3850. coroutine.wrap(function()
  3851. for i=0,1,factor do
  3852. swait()
  3853. if inverse == true then
  3854. p.Transparency = 1-i
  3855. else
  3856. p.Transparency = i
  3857. end
  3858. m.Scale = m.Scale + meshadd
  3859. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
  3860. end
  3861. p:Destroy()
  3862. end)()
  3863. return p
  3864. end,
  3865.  
  3866. Ring = function(cf,meshstart,meshadd,colour,inverse,factor)
  3867. local p = Instance.new("Part",EffectModel)
  3868. p.BrickColor = BrickColor.new(colour)
  3869. p.Size = Vector3.new()
  3870. p.Anchored = true
  3871. p.CanCollide = false
  3872. p.CFrame = cf
  3873. if inverse == true then
  3874. p.Transparency = 1
  3875. else
  3876. p.Transparency = 0
  3877. end
  3878. local m = Instance.new("SpecialMesh",p)
  3879. m.MeshId = "rbxassetid://3270017"
  3880. m.Scale = meshstart
  3881. coroutine.wrap(function()
  3882. for i=0,1,factor do
  3883. swait()
  3884. if inverse == true then
  3885. p.Transparency = 1-i
  3886. else
  3887. p.Transparency = i
  3888. end
  3889. m.Scale = m.Scale + meshadd
  3890. end
  3891. p:Destroy()
  3892. end)()
  3893. return p
  3894. end,
  3895.  
  3896. Meshed = function(cf,meshstart,meshadd,colour,meshid,textid,spin,inverse,factor)
  3897. local p = Instance.new("Part",EffectModel)
  3898. p.BrickColor = BrickColor.new(colour)
  3899. p.Size = Vector3.new()
  3900. p.Anchored = true
  3901. p.CanCollide = false
  3902. p.CFrame = cf
  3903. if inverse == true then
  3904. p.Transparency = 1
  3905. else
  3906. p.Transparency = 0
  3907. end
  3908. local m = Instance.new("SpecialMesh",p)
  3909. m.MeshId = meshid
  3910. m.TextureId = textid
  3911. m.Scale = meshstart
  3912. coroutine.wrap(function()
  3913. for i=0,1,factor do
  3914. swait()
  3915. if inverse == true then
  3916. p.Transparency = 1-i
  3917. else
  3918. p.Transparency = i
  3919. end
  3920. m.Scale = m.Scale + meshadd
  3921. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
  3922. end
  3923. p:Destroy()
  3924. end)()
  3925. return p
  3926. end,
  3927.  
  3928. Explode = function(cf,partsize,meshstart,meshadd,matr,colour,move,inverse,factor)
  3929. local p = Instance.new("Part",EffectModel)
  3930. p.BrickColor = BrickColor.new(colour)
  3931. p.Size = partsize
  3932. p.Anchored = true
  3933. p.CanCollide = false
  3934. p.Material = matr
  3935. p.CFrame = cf * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3936. if inverse == true then
  3937. p.Transparency = 1
  3938. else
  3939. p.Transparency = 0
  3940. end
  3941. local m = Instance.new("SpecialMesh",p)
  3942. m.MeshType = "Sphere"
  3943. m.Scale = meshstart
  3944. coroutine.wrap(function()
  3945. for i=0,1,factor do
  3946. swait()
  3947. if inverse == true then
  3948. p.Transparency = 1-i
  3949. else
  3950. p.Transparency = i
  3951. end
  3952. m.Scale = m.Scale + meshadd
  3953. p.CFrame = p.CFrame * CFrame.new(0,move,0)
  3954. end
  3955. p:Destroy()
  3956. end)()
  3957. return p
  3958. end,
  3959.  
  3960. }
  3961. -------------------------------------------------------
  3962. --End Effect Function--
  3963. -------------------------------------------------------
  3964. function Cso(ID, PARENT, VOLUME, PITCH)
  3965. local NSound = nil
  3966. coroutine.resume(coroutine.create(function()
  3967. NSound = IT("Sound", PARENT)
  3968. NSound.Volume = VOLUME
  3969. NSound.Pitch = PITCH
  3970. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  3971. swait()
  3972. NSound:play()
  3973. game:GetService("Debris"):AddItem(NSound, 10)
  3974. end))
  3975. return NSound
  3976. end
  3977. function CamShake(Length, Intensity)
  3978. coroutine.resume(coroutine.create(function()
  3979. local intensity = 1 * Intensity
  3980. local rotM = 0.01 * Intensity
  3981. for i = 0, Length, 0.1 do
  3982. swait()
  3983. intensity = intensity - 0.05 * Intensity / Length
  3984. rotM = rotM - 5.0E-4 * Intensity / Length
  3985. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  3986. cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
  3987. end
  3988. hum.CameraOffset = Vector3.new(0, 0, 0)
  3989. end))
  3990. end
  3991. NewInstance = function(instance,parent,properties)
  3992. local inst = Instance.new(instance)
  3993. inst.Parent = parent
  3994. if(properties)then
  3995. for i,v in next, properties do
  3996. pcall(function() inst[i] = v end)
  3997. end
  3998. end
  3999. return inst;
  4000. end
  4001. function New(Object, Parent, Name, Data)
  4002. local Object = Instance.new(Object)
  4003. for Index, Value in pairs(Data or {}) do
  4004. Object[Index] = Value
  4005. end
  4006. Object.Parent = Parent
  4007. Object.Name = Name
  4008. return Object
  4009. end
  4010. Uzi = New("Model", char, "Uzi", {})
  4011. Handle = New("Part", Uzi, "Handle", {
  4012. BrickColor = BrickColor.new("Really black"),
  4013. Transparency = 1,
  4014. Transparency = 1,
  4015. FormFactor = Enum.FormFactor.Custom,
  4016. Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
  4017. CFrame = CFrame.new(-63.9497833, 3.39759564, 8.0905323, -0.999997377, -1.38907907E-9, 5.60066837E-9, -4.67619166E-10, 0.999989152, 5.95959136E-7, -1.86810212E-9, 1.98648195E-7, -0.999986291),
  4018. CanCollide = false,
  4019. BottomSurface = Enum.SurfaceType.Smooth,
  4020. TopSurface = Enum.SurfaceType.Smooth,
  4021. Color = Color3.new(0.105882, 0.164706, 0.207843)
  4022. })
  4023. Port = New("Part", Uzi, "Port", {
  4024. BrickColor = BrickColor.new("White"),
  4025. Material = Enum.Material.SmoothPlastic,
  4026. Transparency = 1,
  4027. Transparency = 1,
  4028. FormFactor = Enum.FormFactor.Custom,
  4029. Size = Vector3.new(0.303939581, 0.303939581, 0.514359295),
  4030. CFrame = CFrame.new(-64.0102158, 4.07008171, 7.94762278, -0.258818001, 0.965921998, 7.03767E-9, -0.965913594, -0.258815765, -8.10978804E-7, -2.25573785E-7, -4.02978912E-8, 0.999983191),
  4031. CanCollide = false,
  4032. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  4033. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  4034. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  4035. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  4036. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  4037. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  4038. Color = Color3.new(0.388235, 0.372549, 0.384314)
  4039. })
  4040. Mesh = New("BlockMesh", Port, "Mesh", {
  4041. Scale = Vector3.new(0.0769230723, 0.538461506, 1)
  4042. })
  4043. mot = New("Motor", Port, "mot", {
  4044. Part0 = Port,
  4045. Part1 = Handle,
  4046. C0 = CFrame.new(0, 0, 0, -0.258819044, -0.965925932, -5.89169019E-7, 0.965925872, -0.258819073, -1.6708546E-7, 8.90398955E-9, -6.12338397E-7, 1),
  4047. C1 = CFrame.new(0.0604324341, 0.672489882, 0.142884254, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  4048. })
  4049. Mag2 = New("Part", Uzi, "Mag2", {
  4050. BrickColor = BrickColor.new("White"),
  4051. Elasticity = 0,
  4052. FormFactor = Enum.FormFactor.Custom,
  4053. Size = Vector3.new(0.303939581, 0.969711781, 0.303939581),
  4054. CFrame = CFrame.new(-63.8785477, 2.57360268, 8.01299381, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490618E-5, 0.999989152, -3.46755522E-4, 0.999986291, -4.34514986E-5, -1.51409104E-5),
  4055. CanCollide = false,
  4056. BottomSurface = Enum.SurfaceType.Smooth,
  4057. TopSurface = Enum.SurfaceType.Smooth,
  4058. Color = Color3.new(0.388235, 0.372549, 0.384314)
  4059. })
  4060. Mesh = New("BlockMesh", Mag2, "Mesh", {
  4061. Scale = Vector3.new(0.809523821, 1, 0.714285731)
  4062. })
  4063. mot = New("Motor", Mag2, "mot", {
  4064. Part0 = Mag2,
  4065. Part1 = Handle,
  4066. C0 = CFrame.new(0, 0, 0, -1.51580507E-5, 4.32481829E-5, 1, -3.46759072E-4, 1, -4.32534325E-5, -1, -3.46759742E-4, -1.51430522E-5),
  4067. C1 = CFrame.new(-0.0712356567, -0.824002028, 0.077539444, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  4068. })
  4069. Part = New("Part", Uzi, "Part", {
  4070. BrickColor = BrickColor.new("Really black"),
  4071. Elasticity = 0,
  4072. FormFactor = Enum.FormFactor.Symmetric,
  4073. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  4074. CFrame = CFrame.new(-63.8792877, 3.47921586, 7.06472969, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490618E-5, 0.999989152, -3.46755522E-4, 0.999986291, -4.34514986E-5, -1.51409104E-5),
  4075. CanCollide = false,
  4076. BottomSurface = Enum.SurfaceType.Smooth,
  4077. TopSurface = Enum.SurfaceType.Smooth,
  4078. Color = Color3.new(0.105882, 0.164706, 0.207843)
  4079. })
  4080. Mesh = New("BlockMesh", Part, "Mesh", {
  4081. Scale = Vector3.new(0.0476190485, 0.380952388, 0.190476194)
  4082. })
  4083. mot = New("Motor", Part, "mot", {
  4084. Part0 = Part,
  4085. Part1 = Handle,
  4086. C0 = CFrame.new(0, 0, 0, -1.51580507E-5, 4.32481829E-5, 1, -3.46759072E-4, 1, -4.32534325E-5, -1, -3.46759742E-4, -1.51430522E-5),
  4087. C1 = CFrame.new(-0.0704956055, 0.0816204548, 1.02581644, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  4088. })
  4089. AimPart = New("Part", Uzi, "AimPart", {
  4090. BrickColor = BrickColor.new("Really black"),
  4091. Transparency = 1,
  4092. Transparency = 1,
  4093. FormFactor = Enum.FormFactor.Custom,
  4094. Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
  4095. CFrame = CFrame.new(-63.8798447, 4.32250595, 5.97696972, -0.999997377, -1.38856626E-9, 5.60066127E-9, -4.67106354E-10, 0.999989152, 5.95963002E-7, -1.86809501E-9, 1.9865206E-7, -0.999986291),
  4096. CanCollide = false,
  4097. BottomSurface = Enum.SurfaceType.Smooth,
  4098. TopSurface = Enum.SurfaceType.Smooth,
  4099. Color = Color3.new(0.105882, 0.164706, 0.207843)
  4100. })
  4101. mot = New("Motor", AimPart, "mot", {
  4102. Part0 = AimPart,
  4103. Part1 = Handle,
  4104. C0 = CFrame.new(0, 0, 0, -1, -9.25960919E-10, -3.73438835E-9, -9.25962418E-10, 1, 3.97315489E-7, 3.73438791E-9, 3.97315489E-7, -1),
  4105. C1 = CFrame.new(-0.0699386597, 0.92491889, 2.11359167, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  4106. })
  4107. Hole = New("Part", Uzi, "Hole", {
  4108. BrickColor = BrickColor.new("Really black"),
  4109. Elasticity = 0,
  4110. FormFactor = Enum.FormFactor.Custom,
  4111. Size = Vector3.new(0.607879162, 0.607879221, 1.51969779),
  4112. CFrame = CFrame.new(-64.0106277, 4.09136534, 7.99518442, 3.04593304E-5, -6.80373148E-7, 0.999997377, -0.999989152, -1.32646619E-5, 3.04581481E-5, 1.36619119E-5, -0.999986291, -6.84514248E-7),
  4113. CanCollide = false,
  4114. BottomSurface = Enum.SurfaceType.Smooth,
  4115. TopSurface = Enum.SurfaceType.Smooth,
  4116. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4117. })
  4118. Mesh = New("BlockMesh", Hole, "Mesh", {
  4119. Scale = Vector3.new(0.238095239, 1.19047618, 0.0476190485)
  4120. })
  4121. mot = New("Motor", Hole, "mot", {
  4122. Part0 = Hole,
  4123. Part1 = Handle,
  4124. C0 = CFrame.new(0, 0, 0, 3.04589466E-5, -1, 1.34634383E-5, -6.8224125E-7, -1.34634593E-5, -1, 1, 3.04589375E-5, -6.82651319E-7),
  4125. C1 = CFrame.new(0.0608444214, 0.693777323, 0.0953493118, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  4126. })
  4127. NoSight = New("Part", Uzi, "NoSight", {
  4128. BrickColor = BrickColor.new("Really black"),
  4129. Elasticity = 0,
  4130. FormFactor = Enum.FormFactor.Custom,
  4131. Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
  4132. CFrame = CFrame.new(-63.9215851, 4.32565308, 8.6785574, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490618E-5, 0.999989152, -3.46755522E-4, 0.999986291, -4.34514986E-5, -1.51409104E-5),
  4133. CanCollide = false,
  4134. BottomSurface = Enum.SurfaceType.Smooth,
  4135. TopSurface = Enum.SurfaceType.Smooth,
  4136. Color = Color3.new(0.105882, 0.164706, 0.207843)
  4137. })
  4138. Mesh = New("SpecialMesh", NoSight, "Mesh", {
  4139. Scale = Vector3.new(0.333333343, 0.142857149, 0.095238097),
  4140. MeshType = Enum.MeshType.Wedge
  4141. })
  4142. mot = New("Motor", NoSight, "mot", {
  4143. Part0 = NoSight,
  4144. Part1 = Handle,
  4145. C0 = CFrame.new(0, 0, 0, -1.51580507E-5, 4.32481829E-5, 1, -3.46759072E-4, 1, -4.32534325E-5, -1, -3.46759742E-4, -1.51430522E-5),
  4146. C1 = CFrame.new(-0.0281982422, 0.928067923, -0.588032722, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  4147. })
  4148. NoSight = New("Part", Uzi, "NoSight", {
  4149. BrickColor = BrickColor.new("Really black"),
  4150. Elasticity = 0,
  4151. FormFactor = Enum.FormFactor.Custom,
  4152. Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
  4153. CFrame = CFrame.new(-63.8792877, 4.27408314, 8.6785574, -0.999997377, 3.7727732E-4, 4.80012168E-5, -3.77270597E-4, -0.999989152, 5.5595694E-5, 4.8025533E-5, 5.59747241E-5, 0.999986291),
  4154. CanCollide = false,
  4155. BottomSurface = Enum.SurfaceType.Smooth,
  4156. TopSurface = Enum.SurfaceType.Smooth,
  4157. Color = Color3.new(0.105882, 0.164706, 0.207843)
  4158. })
  4159. Mesh = New("SpecialMesh", NoSight, "Mesh", {
  4160. Scale = Vector3.new(0.380952358, 0.190476194, 0.333333343),
  4161. MeshType = Enum.MeshType.Torso
  4162. })
  4163. mot = New("Motor", NoSight, "mot", {
  4164. Part0 = NoSight,
  4165. Part1 = Handle,
  4166. C0 = CFrame.new(0, 0, 0, -1, -3.77275166E-4, 4.80242488E-5, 3.77277844E-4, -1, 5.57768326E-5, 4.80032068E-5, 5.57949534E-5, 1),
  4167. C1 = CFrame.new(-0.0704956055, 0.876497507, -0.588032722, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  4168. })
  4169. NoSight = New("Part", Uzi, "NoSight", {
  4170. BrickColor = BrickColor.new("White"),
  4171. Transparency = 1,
  4172. Transparency = 1,
  4173. Elasticity = 0,
  4174. FormFactor = Enum.FormFactor.Custom,
  4175. Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
  4176. CFrame = CFrame.new(-63.8792877, 4.33158779, 9.11930084, 0.999997377, -3.77276359E-4, -1.73402132E-5, 3.77273274E-4, 0.999989152, 5.57149033E-5, 1.73151166E-5, -5.61185843E-5, 0.999986291),
  4177. CanCollide = false,
  4178. BottomSurface = Enum.SurfaceType.Smooth,
  4179. TopSurface = Enum.SurfaceType.Smooth,
  4180. Color = Color3.new(0.94902, 0.952941, 0.952941)
  4181. })
  4182. lenspart = New("IntValue", NoSight, "lenspart", {})
  4183. Mesh = New("BlockMesh", NoSight, "Mesh", {
  4184. Scale = Vector3.new(0.095238097, 0.0476190485, 0.0476190485)
  4185. })
  4186. mot = New("Motor", NoSight, "mot", {
  4187. Part0 = NoSight,
  4188. Part1 = Handle,
  4189. C0 = CFrame.new(0, 0, 0, 1, 3.77277844E-4, 1.73172939E-5, -3.77276883E-4, 1, -5.59206928E-5, -1.73383924E-5, 5.59141627E-5, 1),
  4190. C1 = CFrame.new(-0.0704956055, 0.934002638, -1.02878189, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  4191. })
  4192. NoSight = New("Part", Uzi, "NoSight", {
  4193. BrickColor = BrickColor.new("Really black"),
  4194. Elasticity = 0,
  4195. FormFactor = Enum.FormFactor.Custom,
  4196. Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
  4197. CFrame = CFrame.new(-63.8792877, 4.29654217, 9.19813633, 4.20435099E-4, -1.53568108E-5, 0.999997318, -0.999989092, -4.51352062E-5, 4.20430006E-4, 4.55259251E-5, -0.999986291, -1.53795154E-5),
  4198. CanCollide = false,
  4199. BottomSurface = Enum.SurfaceType.Smooth,
  4200. TopSurface = Enum.SurfaceType.Smooth,
  4201. Color = Color3.new(0.105882, 0.164706, 0.207843)
  4202. })
  4203. Mesh = New("BlockMesh", NoSight, "Mesh", {
  4204. Scale = Vector3.new(0.285714269, 0.476190478, 0.095238097)
  4205. })
  4206. mot = New("Motor", NoSight, "mot", {
  4207. Part0 = NoSight,
  4208. Part1 = Handle,
  4209. C0 = CFrame.new(0, 0, 0, 4.20435739E-4, -0.99999994, 4.53278881E-5, -1.53587171E-5, -4.53343491E-5, -1, 0.99999994, 4.20435041E-4, -1.53777764E-5),
  4210. C1 = CFrame.new(-0.0704956055, 0.898957014, -1.10761929, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  4211. })
  4212. NoSight = New("Part", Uzi, "NoSight", {
  4213. BrickColor = BrickColor.new("Really black"),
  4214. Elasticity = 0,
  4215. FormFactor = Enum.FormFactor.Custom,
  4216. Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
  4217. CFrame = CFrame.new(-63.8355064, 4.32565308, 8.6785574, 1.51598751E-5, -4.07793617E-4, 0.999997377, -4.30490618E-5, 0.999989152, 4.07790008E-4, -0.999986291, -4.34524227E-5, 1.51382555E-5),
  4218. CanCollide = false,
  4219. BottomSurface = Enum.SurfaceType.Smooth,
  4220. TopSurface = Enum.SurfaceType.Smooth,
  4221. Color = Color3.new(0.105882, 0.164706, 0.207843)
  4222. })
  4223. Mesh = New("SpecialMesh", NoSight, "Mesh", {
  4224. Scale = Vector3.new(0.333333343, 0.142857149, 0.095238097),
  4225. MeshType = Enum.MeshType.Wedge
  4226. })
  4227. mot = New("Motor", NoSight, "mot", {
  4228. Part0 = NoSight,
  4229. Part1 = Handle,
  4230. C0 = CFrame.new(0, 0, 0, 1.51580489E-5, -4.32481829E-5, -1, -4.07794229E-4, 1, -4.32543566E-5, 1, 4.07794898E-4, 1.51404101E-5),
  4231. C1 = CFrame.new(-0.114276886, 0.928067923, -0.588032722, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  4232. })
  4233. NoSight = New("Part", Uzi, "NoSight", {
  4234. BrickColor = BrickColor.new("Really black"),
  4235. Elasticity = 0,
  4236. FormFactor = Enum.FormFactor.Custom,
  4237. Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
  4238. CFrame = CFrame.new(-63.8792877, 4.33177757, 7.20867538, 0.999997318, 4.20433673E-4, 1.73239296E-5, 4.2042954E-4, -0.999989152, -1.25467186E-5, 1.73145636E-5, 1.29512719E-5, -0.999986291),
  4239. CanCollide = false,
  4240. BottomSurface = Enum.SurfaceType.Smooth,
  4241. TopSurface = Enum.SurfaceType.Smooth,
  4242. Color = Color3.new(0.105882, 0.164706, 0.207843)
  4243. })
  4244. Mesh = New("SpecialMesh", NoSight, "Mesh", {
  4245. Scale = Vector3.new(0.0868398845, 0.0868398845, 0.0868398845),
  4246. MeshId = "http://www.roblox.com/asset/?id=3270017",
  4247. MeshType = Enum.MeshType.FileMesh
  4248. })
  4249. mot = New("Motor", NoSight, "mot", {
  4250. Part0 = NoSight,
  4251. Part1 = Handle,
  4252. C0 = CFrame.new(0, 0, 0, 0.99999994, 4.20434575E-4, 1.731675E-5, 4.20434313E-4, -1, 1.27527892E-5, 1.73221088E-5, -1.27455087E-5, -1),
  4253. C1 = CFrame.new(-0.0704956055, 0.934191465, 0.881869316, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  4254. })
  4255. NoSight = New("Part", Uzi, "NoSight", {
  4256. BrickColor = BrickColor.new("Really black"),
  4257. Elasticity = 0,
  4258. FormFactor = Enum.FormFactor.Plate,
  4259. Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),
  4260. CFrame = CFrame.new(-63.9950485, 4.25275517, 7.24577427, 3.16243502E-4, -0.999997318, -1.53725232E-5, -0.999989152, -3.16239311E-4, -4.30490618E-5, 4.34413814E-5, 1.53898236E-5, -0.999986291),
  4261. CanCollide = false,
  4262. BottomSurface = Enum.SurfaceType.Smooth,
  4263. TopSurface = Enum.SurfaceType.Smooth,
  4264. Color = Color3.new(0.105882, 0.164706, 0.207843)
  4265. })
  4266. Mesh = New("CylinderMesh", NoSight, "Mesh", {
  4267. Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194)
  4268. })
  4269. mot = New("Motor", NoSight, "mot", {
  4270. Part0 = NoSight,
  4271. Part1 = Handle,
  4272. C0 = CFrame.new(0, 0, 0, 3.16243852E-4, -1, 4.32433153E-5, -0.99999994, -3.16243211E-4, 1.53881065E-5, -1.53744295E-5, -4.32481829E-5, -1),
  4273. C1 = CFrame.new(0.0452651978, 0.855168581, 0.844769955, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  4274. })
  4275. NoSight = New("Part", Uzi, "NoSight", {
  4276. BrickColor = BrickColor.new("Really black"),
  4277. Elasticity = 0,
  4278. FormFactor = Enum.FormFactor.Plate,
  4279. Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),
  4280. CFrame = CFrame.new(-63.9950485, 4.25256538, 9.19813633, 3.16243502E-4, -0.999997318, -1.53725232E-5, -0.999989152, -3.16239311E-4, -4.30490618E-5, 4.34413814E-5, 1.53898236E-5, -0.999986291),
  4281. CanCollide = false,
  4282. BottomSurface = Enum.SurfaceType.Smooth,
  4283. TopSurface = Enum.SurfaceType.Smooth,
  4284. Color = Color3.new(0.105882, 0.164706, 0.207843)
  4285. })
  4286. Mesh = New("CylinderMesh", NoSight, "Mesh", {
  4287. Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194)
  4288. })
  4289. mot = New("Motor", NoSight, "mot", {
  4290. Part0 = NoSight,
  4291. Part1 = Handle,
  4292. C0 = CFrame.new(0, 0, 0, 3.16243852E-4, -1, 4.32433153E-5, -0.99999994, -3.16243211E-4, 1.53881065E-5, -1.53744295E-5, -4.32481829E-5, -1),
  4293. C1 = CFrame.new(0.0452651978, 0.854979753, -1.10761929, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  4294. })
  4295. Part = New("Part", Uzi, "Part", {
  4296. BrickColor = BrickColor.new("Really black"),
  4297. Elasticity = 0,
  4298. FormFactor = Enum.FormFactor.Symmetric,
  4299. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  4300. CFrame = CFrame.new(-63.8792877, 3.84094381, 7.38972139, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490618E-5, 0.999989152, -3.46755522E-4, 0.999986291, -4.34514986E-5, -1.51409104E-5),
  4301. CanCollide = false,
  4302. BottomSurface = Enum.SurfaceType.Smooth,
  4303. TopSurface = Enum.SurfaceType.Smooth,
  4304. Color = Color3.new(0.105882, 0.164706, 0.207843)
  4305. })
  4306. Mesh = New("BlockMesh", Part, "Mesh", {
  4307. Scale = Vector3.new(0.571428597, 0.095238097, 0.190476194)
  4308. })
  4309. mot = New("Motor", Part, "mot", {
  4310. Part0 = Part,
  4311. Part1 = Handle,
  4312. C0 = CFrame.new(0, 0, 0, -1.51580507E-5, 4.32481829E-5, 1, -3.46759072E-4, 1, -4.32534325E-5, -1, -3.46759742E-4, -1.51430522E-5),
  4313. C1 = CFrame.new(-0.0704956055, 0.443352461, 0.700820446, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  4314. })
  4315. Part = New("Part", Uzi, "Part", {
  4316. BrickColor = BrickColor.new("Really black"),
  4317. Elasticity = 0,
  4318. FormFactor = Enum.FormFactor.Symmetric,
  4319. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  4320. CFrame = CFrame.new(-63.8792877, 3.4792161, 6.99127293, -0.999997377, 3.7727732E-4, 4.80012168E-5, -3.77270597E-4, -0.999989152, 5.5595694E-5, 4.8025533E-5, 5.59747241E-5, 0.999986291),
  4321. CanCollide = false,
  4322. BottomSurface = Enum.SurfaceType.Smooth,
  4323. TopSurface = Enum.SurfaceType.Smooth,
  4324. Color = Color3.new(0.105882, 0.164706, 0.207843)
  4325. })
  4326. Mesh = New("SpecialMesh", Part, "Mesh", {
  4327. Scale = Vector3.new(0.190476194, 0.380952388, 0.0476190485),
  4328. MeshType = Enum.MeshType.Wedge
  4329. })
  4330. mot = New("Motor", Part, "mot", {
  4331. Part0 = Part,
  4332. Part1 = Handle,
  4333. C0 = CFrame.new(0, 0, 0, -1, -3.77275166E-4, 4.80242488E-5, 3.77277844E-4, -1, 5.57768326E-5, 4.80032068E-5, 5.57949534E-5, 1),
  4334. C1 = CFrame.new(-0.0704956055, 0.0816206932, 1.09927416, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  4335. })
  4336. Part = New("Part", Uzi, "Part", {
  4337. BrickColor = BrickColor.new("Really black"),
  4338. Elasticity = 0,
  4339. FormFactor = Enum.FormFactor.Symmetric,
  4340. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  4341. CFrame = CFrame.new(-63.8792877, 4.10843039, 9.70547295, 4.20435099E-4, -1.53568108E-5, 0.999997318, -0.999989092, -4.51352062E-5, 4.20430006E-4, 4.55259251E-5, -0.999986291, -1.53795154E-5),
  4342. CanCollide = false,
  4343. BottomSurface = Enum.SurfaceType.Smooth,
  4344. TopSurface = Enum.SurfaceType.Smooth,
  4345. Color = Color3.new(0.105882, 0.164706, 0.207843)
  4346. })
  4347. Mesh = New("CylinderMesh", Part, "Mesh", {
  4348. Scale = Vector3.new(0.095238097, 0.285714298, 0.095238097)
  4349. })
  4350. mot = New("Motor", Part, "mot", {
  4351. Part0 = Part,
  4352. Part1 = Handle,
  4353. C0 = CFrame.new(0, 0, 0, 4.20435739E-4, -0.99999994, 4.53278881E-5, -1.53587171E-5, -4.53343491E-5, -1, 0.99999994, 4.20435041E-4, -1.53777764E-5),
  4354. C1 = CFrame.new(-0.0704956055, 0.710843325, -1.61496258, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  4355. })
  4356. A1 = New("Part", Uzi, "A1", {
  4357. BrickColor = BrickColor.new("Really black"),
  4358. Elasticity = 0,
  4359. FormFactor = Enum.FormFactor.Custom,
  4360. Size = Vector3.new(0.623076081, 0.729454994, 1.51969779),
  4361. CFrame = CFrame.new(-64.0106277, 4.09897423, 7.99518442, 3.04593304E-5, -6.80373148E-7, 0.999997377, -0.999989152, -1.32646619E-5, 3.04581481E-5, 1.36619119E-5, -0.999986291, -6.84514248E-7),
  4362. CanCollide = false,
  4363. BottomSurface = Enum.SurfaceType.Smooth,
  4364. TopSurface = Enum.SurfaceType.Smooth,
  4365. Color = Color3.new(0.105882, 0.164706, 0.207843)
  4366. })
  4367. Mesh = New("BlockMesh", A1, "Mesh", {
  4368. Scale = Vector3.new(0.238000005, 1, 0.0480000004)
  4369. })
  4370. mot = New("Motor", A1, "mot", {
  4371. Part0 = A1,
  4372. Part1 = Handle,
  4373. C0 = CFrame.new(0, 0, 0, 3.04589466E-5, -1, 1.34634383E-5, -6.8224125E-7, -1.34634593E-5, -1, 1, 3.04589375E-5, -6.82651319E-7),
  4374. C1 = CFrame.new(0.0608444214, 0.701386213, 0.0953493118, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  4375. })
  4376. Cylinder1 = New("Part", Uzi, "Cylinder", {
  4377. BrickColor = BrickColor.new("Really black"),
  4378. Elasticity = 0,
  4379. FormFactor = Enum.FormFactor.Plate,
  4380. Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),
  4381. CFrame = CFrame.new(-63.8792877, 4.10842991, 9.93623352, 3.34118115E-4, 1.53568108E-5, -0.999997318, -0.999989092, 4.51352062E-5, -3.34113749E-4, 4.5527253E-5, 0.999986291, 1.53755864E-5),
  4382. CanCollide = false,
  4383. BottomSurface = Enum.SurfaceType.Smooth,
  4384. TopSurface = Enum.SurfaceType.Smooth,
  4385. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4386. })
  4387. Mesh = New("CylinderMesh", Cylinder1, "Mesh", {
  4388. Offset = Vector3.new(0, -0.0185714271, 0),
  4389. Scale = Vector3.new(0.0666666627, 0.0476190485, 0.0666666627)
  4390. })
  4391. mot = New("Motor", Cylinder1, "mot", {
  4392. Part0 = Cylinder1,
  4393. Part1 = Handle,
  4394. C0 = CFrame.new(0, 0, 0, 3.34118522E-4, -0.99999994, 4.53292159E-5, 1.53587171E-5, 4.53343491E-5, 1, -0.99999994, -3.34117853E-4, 1.53738638E-5),
  4395. C1 = CFrame.new(-0.0704956055, 0.710842848, -1.84572601, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  4396. })
  4397. Mag1 = New("Part", Uzi, "Mag1", {
  4398. BrickColor = BrickColor.new("White"),
  4399. Elasticity = 0,
  4400. FormFactor = Enum.FormFactor.Custom,
  4401. Size = Vector3.new(0.303939581, 0.723665655, 0.303939581),
  4402. CFrame = CFrame.new(-63.8785477, 2.8062222, 8.01299381, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490618E-5, 0.999989152, -3.46755522E-4, 0.999986291, -4.34514986E-5, -1.51409104E-5),
  4403. CanCollide = false,
  4404. BottomSurface = Enum.SurfaceType.Smooth,
  4405. TopSurface = Enum.SurfaceType.Smooth,
  4406. Color = Color3.new(0.388235, 0.372549, 0.384314)
  4407. })
  4408. Mesh = New("BlockMesh", Mag1, "Mesh", {
  4409. Scale = Vector3.new(0.809523821, 1, 0.714285731)
  4410. })
  4411. mot = New("Motor", Mag1, "mot", {
  4412. Part0 = Mag1,
  4413. Part1 = Handle,
  4414. C0 = CFrame.new(0, 0, 0, -1.51580507E-5, 4.32481829E-5, 1, -3.46759072E-4, 1, -4.32534325E-5, -1, -3.46759742E-4, -1.51430522E-5),
  4415. C1 = CFrame.new(-0.0712356567, -0.591379881, 0.077539444, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  4416. })
  4417. Part = New("Part", Uzi, "Part", {
  4418. BrickColor = BrickColor.new("Really black"),
  4419. Elasticity = 0,
  4420. FormFactor = Enum.FormFactor.Symmetric,
  4421. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  4422. CFrame = CFrame.new(-63.8792839, 3.96399546, 8.94571686, 4.20436263E-4, -1.53869969E-5, 0.999994516, -0.999985397, -4.49496983E-5, 4.20421362E-4, 4.57110073E-5, -0.999980092, -1.53492692E-5),
  4423. CanCollide = false,
  4424. BottomSurface = Enum.SurfaceType.Smooth,
  4425. TopSurface = Enum.SurfaceType.Smooth,
  4426. Color = Color3.new(0.105882, 0.164706, 0.207843)
  4427. })
  4428. Mesh = New("BlockMesh", Part, "Mesh", {
  4429. Scale = Vector3.new(0.095238097, 0.523809552, 0.238095239)
  4430. })
  4431. Weld = New("ManualWeld", Part, "Weld", {
  4432. Part0 = Part,
  4433. Part1 = Port,
  4434. C0 = CFrame.new(-0.759848893, 0.759848893, 0.759848893, -1, 0, 0, 0, 0, 1, 0, 1, 0),
  4435. C1 = CFrame.new(-0.862224281, 0.690827668, 0.238218009, -0.965815187, -0.259224743, 4.81826173E-5, -0.259224653, 0.965815544, -3.01207638E-6, -4.59400871E-5, -1.53690817E-5, -0.999996901)
  4436. })
  4437. mot = New("Motor", Part, "mot", {
  4438. Part0 = Part,
  4439. Part1 = Handle,
  4440. C0 = CFrame.new(0, 0, 0, 4.20408818E-4, -0.99999994, 4.51425221E-5, -1.53889487E-5, -4.51489977E-5, -1, 1, 4.20408091E-4, -1.5407928E-5),
  4441. C1 = CFrame.new(-0.0704994202, 0.566405296, -0.855195999, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  4442. })
  4443. Part = New("Part", Uzi, "Part", {
  4444. BrickColor = BrickColor.new("Really black"),
  4445. Elasticity = 0,
  4446. FormFactor = Enum.FormFactor.Symmetric,
  4447. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  4448. CFrame = CFrame.new(-63.8792877, 4.07189083, 8.22297764, 3.34118115E-4, 1.53568108E-5, -0.999997318, -0.999989092, 4.51352062E-5, -3.34113749E-4, 4.5527253E-5, 0.999986291, 1.53755864E-5),
  4449. CanCollide = false,
  4450. BottomSurface = Enum.SurfaceType.Smooth,
  4451. TopSurface = Enum.SurfaceType.Smooth,
  4452. Color = Color3.new(0.105882, 0.164706, 0.207843)
  4453. })
  4454. Mesh = New("BlockMesh", Part, "Mesh", {
  4455. Scale = Vector3.new(0.238095239, 1.47619045, 0.190476194)
  4456. })
  4457. mot = New("Motor", Part, "mot", {
  4458. Part0 = Part,
  4459. Part1 = Handle,
  4460. C0 = CFrame.new(0, 0, 0, 3.34118522E-4, -0.99999994, 4.53292159E-5, 1.53587171E-5, 4.53343491E-5, 1, -0.99999994, -3.34117853E-4, 1.53738638E-5),
  4461. C1 = CFrame.new(-0.0704956055, 0.674302816, -0.132447243, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  4462. })
  4463. Part = New("Part", Uzi, "Part", {
  4464. BrickColor = BrickColor.new("Really black"),
  4465. Elasticity = 0,
  4466. FormFactor = Enum.FormFactor.Symmetric,
  4467. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  4468. CFrame = CFrame.new(-63.8792877, 3.89102483, 8.94586086, 4.20435099E-4, -1.53568108E-5, 0.999997318, -0.999989092, -4.51352062E-5, 4.20430006E-4, 4.55259251E-5, -0.999986291, -1.53795154E-5),
  4469. CanCollide = false,
  4470. BottomSurface = Enum.SurfaceType.Smooth,
  4471. TopSurface = Enum.SurfaceType.Smooth,
  4472. Color = Color3.new(0.105882, 0.164706, 0.207843)
  4473. })
  4474. Mesh = New("CylinderMesh", Part, "Mesh", {
  4475. Scale = Vector3.new(0.285714298, 0.523809552, 0.238095239)
  4476. })
  4477. Weld = New("ManualWeld", Part, "Weld", {
  4478. Part0 = Part,
  4479. Part1 = Port,
  4480. C0 = CFrame.new(-0.759848893, 0.759848893, 0.759848893, -1, 0, 0, 0, 0, 1, 0, 1, 0),
  4481. C1 = CFrame.new(-0.791742086, 0.70971489, 0.238357142, -0.965815187, -0.259224743, 4.81826173E-5, -0.259224653, 0.965815544, -3.01207638E-6, -4.59400871E-5, -1.53690817E-5, -0.999996901)
  4482. })
  4483. mot = New("Motor", Part, "mot", {
  4484. Part0 = Part,
  4485. Part1 = Handle,
  4486. C0 = CFrame.new(0, 0, 0, 4.20435739E-4, -0.99999994, 4.53278881E-5, -1.53587171E-5, -4.53343491E-5, -1, 0.99999994, 4.20435041E-4, -1.53777764E-5),
  4487. C1 = CFrame.new(-0.0704956055, 0.493435144, -0.855340004, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  4488. })
  4489. Part = New("Part", Uzi, "Part", {
  4490. BrickColor = BrickColor.new("Really black"),
  4491. Elasticity = 0,
  4492. FormFactor = Enum.FormFactor.Symmetric,
  4493. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  4494. CFrame = CFrame.new(-63.8792877, 3.38516831, 8.00556946, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490618E-5, 0.999989152, -3.46755522E-4, 0.999986291, -4.34514986E-5, -1.51409104E-5),
  4495. CanCollide = false,
  4496. BottomSurface = Enum.SurfaceType.Smooth,
  4497. TopSurface = Enum.SurfaceType.Smooth,
  4498. Color = Color3.new(0.105882, 0.164706, 0.207843)
  4499. })
  4500. Mesh = New("BlockMesh", Part, "Mesh", {
  4501. Scale = Vector3.new(0.238095239, 0.476190478, 0.190476194)
  4502. })
  4503. mot = New("Motor", Part, "mot", {
  4504. Part0 = Part,
  4505. Part1 = Handle,
  4506. C0 = CFrame.new(0, 0, 0, -1.51580507E-5, 4.32481829E-5, 1, -3.46759072E-4, 1, -4.32534325E-5, -1, -3.46759742E-4, -1.51430522E-5),
  4507. C1 = CFrame.new(-0.0704956055, -0.0124275684, 0.0849637985, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  4508. })
  4509. Part = New("Part", Uzi, "Part", {
  4510. BrickColor = BrickColor.new("Really black"),
  4511. Elasticity = 0,
  4512. FormFactor = Enum.FormFactor.Symmetric,
  4513. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  4514. CFrame = CFrame.new(-63.8792877, 3.13159156, 7.78817034, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490618E-5, 0.999989152, -3.46755522E-4, 0.999986291, -4.34514986E-5, -1.51409104E-5),
  4515. CanCollide = false,
  4516. BottomSurface = Enum.SurfaceType.Smooth,
  4517. TopSurface = Enum.SurfaceType.Smooth,
  4518. Color = Color3.new(0.105882, 0.164706, 0.207843)
  4519. })
  4520. Mesh = New("BlockMesh", Part, "Mesh", {
  4521. Scale = Vector3.new(0.0476190485, 0.142857149, 0.190476194)
  4522. })
  4523. mot = New("Motor", Part, "mot", {
  4524. Part0 = Part,
  4525. Part1 = Handle,
  4526. C0 = CFrame.new(0, 0, 0, -1.51580507E-5, 4.32481829E-5, 1, -3.46759072E-4, 1, -4.32534325E-5, -1, -3.46759742E-4, -1.51430522E-5),
  4527. C1 = CFrame.new(-0.0704956055, -0.266007185, 0.302366257, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  4528. })
  4529. Part = New("Part", Uzi, "Part", {
  4530. BrickColor = BrickColor.new("Really black"),
  4531. Elasticity = 0,
  4532. FormFactor = Enum.FormFactor.Symmetric,
  4533. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  4534. CFrame = CFrame.new(-63.8792877, 3.81812668, 8.18587875, 3.34118115E-4, 1.53568108E-5, -0.999997318, -0.999989092, 4.51352062E-5, -3.34113749E-4, 4.5527253E-5, 0.999986291, 1.53755864E-5),
  4535. CanCollide = false,
  4536. BottomSurface = Enum.SurfaceType.Smooth,
  4537. TopSurface = Enum.SurfaceType.Smooth,
  4538. Color = Color3.new(0.105882, 0.164706, 0.207843)
  4539. })
  4540. Mesh = New("BlockMesh", Part, "Mesh", {
  4541. Scale = Vector3.new(0.095238097, 0.476190478, 0.190476194)
  4542. })
  4543. mot = New("Motor", Part, "mot", {
  4544. Part0 = Part,
  4545. Part1 = Handle,
  4546. C0 = CFrame.new(0, 0, 0, 3.34118522E-4, -0.99999994, 4.53292159E-5, 1.53587171E-5, 4.53343491E-5, 1, -0.99999994, -3.34117853E-4, 1.53738638E-5),
  4547. C1 = CFrame.new(-0.0704956055, 0.420535564, -0.0953474045, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  4548. })
  4549. Part = New("Part", Uzi, "Part", {
  4550. BrickColor = BrickColor.new("Really black"),
  4551. Elasticity = 0,
  4552. FormFactor = Enum.FormFactor.Symmetric,
  4553. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  4554. CFrame = CFrame.new(-63.8792877, 3.57790494, 7.28955317, 2.37775297E-4, -2.39374975E-4, -0.999997377, -0.707075596, 0.707122624, -3.37392528E-4, 0.707120895, 0.707073271, -1.11602742E-6),
  4555. CanCollide = false,
  4556. BottomSurface = Enum.SurfaceType.Smooth,
  4557. TopSurface = Enum.SurfaceType.Smooth,
  4558. Color = Color3.new(0.105882, 0.164706, 0.207843)
  4559. })
  4560. Mesh = New("BlockMesh", Part, "Mesh", {
  4561. Scale = Vector3.new(0.0476190485, 0.428571433, 0.095238097)
  4562. })
  4563. mot = New("Motor", Part, "mot", {
  4564. Part0 = Part,
  4565. Part1 = Handle,
  4566. C0 = CFrame.new(0, 0, 0, 2.37776927E-4, -0.707083166, 0.707130432, -2.39373941E-4, 0.707130432, 0.707083166, -1, -3.37396661E-4, -1.1179759E-6),
  4567. C1 = CFrame.new(-0.0704956055, 0.180310726, 0.800990105, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  4568. })
  4569. Part = New("Part", Uzi, "Part", {
  4570. BrickColor = BrickColor.new("Really black"),
  4571. Elasticity = 0,
  4572. FormFactor = Enum.FormFactor.Symmetric,
  4573. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  4574. CFrame = CFrame.new(-63.8792877, 3.91217613, 7.10108757, 1.53677556E-5, 0.999997318, -3.44614644E-4, 5.5595694E-5, 3.44610075E-4, 0.999989152, 0.999986291, -1.53906112E-5, -5.59875407E-5),
  4575. CanCollide = false,
  4576. BottomSurface = Enum.SurfaceType.Smooth,
  4577. TopSurface = Enum.SurfaceType.Smooth,
  4578. Color = Color3.new(0.105882, 0.164706, 0.207843)
  4579. })
  4580. Mesh = New("CylinderMesh", Part, "Mesh", {
  4581. Scale = Vector3.new(0.190476194, 0.190476194, 0.190476194)
  4582. })
  4583. mot = New("Motor", Part, "mot", {
  4584. Part0 = Part,
  4585. Part1 = Handle,
  4586. C0 = CFrame.new(0, 0, 0, 1.53696619E-5, 5.57949534E-5, 1, 0.99999994, 3.44614265E-4, -1.53888886E-5, -3.4461508E-4, 1, -5.57896492E-5),
  4587. C1 = CFrame.new(-0.0704956055, 0.514585495, 0.989458561, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  4588. })
  4589. Part = New("Part", Uzi, "Part", {
  4590. BrickColor = BrickColor.new("Black"),
  4591. Elasticity = 0,
  4592. FormFactor = Enum.FormFactor.Symmetric,
  4593. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  4594. CFrame = CFrame.new(-63.8792877, 3.49313116, 7.78817034, -0.999997318, -4.58751165E-5, 4.07794083E-4, -4.07787855E-4, -4.30788677E-5, -0.999989152, 4.58960603E-5, -0.999986291, 4.3457334E-5),
  4595. CanCollide = false,
  4596. BottomSurface = Enum.SurfaceType.Smooth,
  4597. TopSurface = Enum.SurfaceType.Smooth,
  4598. Color = Color3.new(0.105882, 0.164706, 0.207843)
  4599. })
  4600. Mesh = New("SpecialMesh", Part, "Mesh", {
  4601. Scale = Vector3.new(0.190476194, 0.0476190485, 0.333333343),
  4602. MeshType = Enum.MeshType.Wedge
  4603. })
  4604. mot = New("Motor", Part, "mot", {
  4605. Part0 = Part,
  4606. Part1 = Handle,
  4607. C0 = CFrame.new(0, 0, 0, -0.99999994, -4.07792744E-4, 4.58947434E-5, -4.58770992E-5, -4.32779889E-5, -1, 4.07794694E-4, -1, 4.32592715E-5),
  4608. C1 = CFrame.new(-0.0704956055, 0.0955364704, 0.302366257, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  4609. })
  4610. Part = New("Part", Uzi, "Part", {
  4611. BrickColor = BrickColor.new("Black"),
  4612. Elasticity = 0,
  4613. FormFactor = Enum.FormFactor.Symmetric,
  4614. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  4615. CFrame = CFrame.new(-63.8792877, 3.81812716, 7.78816938, 0.999997377, 7.62029813E-5, -4.07784712E-4, 4.0778832E-4, -1.04068669E-4, 0.999989092, 7.61557822E-5, -0.999986291, -1.0449675E-4),
  4616. CanCollide = false,
  4617. BottomSurface = Enum.SurfaceType.Smooth,
  4618. TopSurface = Enum.SurfaceType.Smooth,
  4619. Color = Color3.new(0.105882, 0.164706, 0.207843)
  4620. })
  4621. Mesh = New("SpecialMesh", Part, "Mesh", {
  4622. Scale = Vector3.new(0.190476194, 0.0476190485, 0.095238097),
  4623. MeshType = Enum.MeshType.Wedge
  4624. })
  4625. mot = New("Motor", Part, "mot", {
  4626. Part0 = Part,
  4627. Part1 = Handle,
  4628. C0 = CFrame.new(0, 0, 0, 1, 4.07793239E-4, 7.61587726E-5, 7.62013078E-5, -1.04268453E-4, -1, -4.07785323E-4, 0.99999994, -1.04299521E-4),
  4629. C1 = CFrame.new(-0.0704956055, 0.420535803, 0.30236721, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  4630. })
  4631. Part = New("Part", Uzi, "Part", {
  4632. BrickColor = BrickColor.new("Black"),
  4633. Elasticity = 0,
  4634. FormFactor = Enum.FormFactor.Symmetric,
  4635. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  4636. CFrame = CFrame.new(-63.8792877, 4.10843039, 9.41535473, 4.20435099E-4, -1.53568108E-5, 0.999997318, -0.999989092, -4.51352062E-5, 4.20430006E-4, 4.55259251E-5, -0.999986291, -1.53795154E-5),
  4637. CanCollide = false,
  4638. BottomSurface = Enum.SurfaceType.Smooth,
  4639. TopSurface = Enum.SurfaceType.Smooth,
  4640. Color = Color3.new(0.105882, 0.164706, 0.207843)
  4641. })
  4642. Mesh = New("CylinderMesh", Part, "Mesh", {
  4643. Scale = Vector3.new(0.142857149, 0.095238097, 0.142857149)
  4644. })
  4645. mot = New("Motor", Part, "mot", {
  4646. Part0 = Part,
  4647. Part1 = Handle,
  4648. C0 = CFrame.new(0, 0, 0, 4.20435739E-4, -0.99999994, 4.53278881E-5, -1.53587171E-5, -4.53343491E-5, -1, 0.99999994, 4.20435041E-4, -1.53777764E-5),
  4649. C1 = CFrame.new(-0.0704956055, 0.710843325, -1.32484055, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  4650. })
  4651. Block = New("Part", Uzi, "Block", {
  4652. BrickColor = BrickColor.new("White"),
  4653. Elasticity = 0,
  4654. FormFactor = Enum.FormFactor.Plate,
  4655. Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),
  4656. CFrame = CFrame.new(-63.8792877, 3.673805, 8.25339222, -3.23260669E-4, 2.16992383E-4, -0.999997377, 0.866039515, -0.499953777, -3.88442742E-4, -0.499952704, -0.866036952, -2.63046823E-5),
  4657. CanCollide = false,
  4658. BottomSurface = Enum.SurfaceType.Smooth,
  4659. TopSurface = Enum.SurfaceType.Smooth,
  4660. Color = Color3.new(0.105882, 0.164706, 0.207843)
  4661. })
  4662. Mesh = New("BlockMesh", Block, "Mesh", {
  4663. Scale = Vector3.new(0.142857149, 0.0952381045, 0.0476190485)
  4664. })
  4665. mot = New("Motor", Block, "mot", {
  4666. Part0 = Block,
  4667. Part1 = Handle,
  4668. C0 = CFrame.new(0, 0, 0, -3.23262066E-4, 0.866048813, -0.499959379, 2.16991102E-4, -0.49995935, -0.866048872, -1, -3.88447457E-4, -2.63069869E-5),
  4669. C1 = CFrame.new(-0.0704956055, 0.276212454, -0.162861824, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  4670. })
  4671. NoSight = New("Part", Uzi, "NoSight", {
  4672. BrickColor = BrickColor.new("White"),
  4673. Elasticity = 0,
  4674. FormFactor = Enum.FormFactor.Plate,
  4675. Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),
  4676. CFrame = CFrame.new(-63.7637138, 4.25275517, 7.24577427, 3.16243502E-4, -0.999997318, -1.53725232E-5, -0.999989152, -3.16239311E-4, -4.30490618E-5, 4.34413814E-5, 1.53898236E-5, -0.999986291),
  4677. CanCollide = false,
  4678. BottomSurface = Enum.SurfaceType.Smooth,
  4679. TopSurface = Enum.SurfaceType.Smooth,
  4680. Color = Color3.new(0.105882, 0.164706, 0.207843)
  4681. })
  4682. Mesh = New("CylinderMesh", NoSight, "Mesh", {
  4683. Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194)
  4684. })
  4685. mot = New("Motor", NoSight, "mot", {
  4686. Part0 = NoSight,
  4687. Part1 = Handle,
  4688. C0 = CFrame.new(0, 0, 0, 3.16243852E-4, -1, 4.32433153E-5, -0.99999994, -3.16243211E-4, 1.53881065E-5, -1.53744295E-5, -4.32481829E-5, -1),
  4689. C1 = CFrame.new(-0.186069489, 0.855168581, 0.844769955, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  4690. })
  4691. NoSight = New("Part", Uzi, "NoSight", {
  4692. BrickColor = BrickColor.new("Black"),
  4693. Elasticity = 0,
  4694. FormFactor = Enum.FormFactor.Custom,
  4695. Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
  4696. CFrame = CFrame.new(-63.857769, 4.31044102, 8.6785574, 1.51598751E-5, -4.07793617E-4, 0.999997377, -4.30490618E-5, 0.999989152, 4.07790008E-4, -0.999986291, -4.34524227E-5, 1.51382555E-5),
  4697. CanCollide = false,
  4698. BottomSurface = Enum.SurfaceType.Smooth,
  4699. TopSurface = Enum.SurfaceType.Smooth,
  4700. Color = Color3.new(0.105882, 0.164706, 0.207843)
  4701. })
  4702. Mesh = New("SpecialMesh", NoSight, "Mesh", {
  4703. Scale = Vector3.new(0.333333224, 0.0476190485, 0.142857105),
  4704. MeshType = Enum.MeshType.Wedge
  4705. })
  4706. mot = New("Motor", NoSight, "mot", {
  4707. Part0 = NoSight,
  4708. Part1 = Handle,
  4709. C0 = CFrame.new(0, 0, 0, 1.51580489E-5, -4.32481829E-5, -1, -4.07794229E-4, 1, -4.32543566E-5, 1, 4.07794898E-4, 1.51404101E-5),
  4710. C1 = CFrame.new(-0.0920143127, 0.912855864, -0.588032722, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  4711. })
  4712. Ring = New("Part", Uzi, "Ring", {
  4713. BrickColor = BrickColor.new("Really black"),
  4714. Elasticity = 0,
  4715. FormFactor = Enum.FormFactor.Symmetric,
  4716. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  4717. CFrame = CFrame.new(-63.8792877, 3.71034932, 8.25933456, 4.58751165E-5, 4.0779452E-4, 0.999997318, 4.30788677E-5, -0.999989152, 4.07788291E-4, 0.999986291, 4.34573376E-5, -4.58960603E-5),
  4718. CanCollide = false,
  4719. BottomSurface = Enum.SurfaceType.Smooth,
  4720. TopSurface = Enum.SurfaceType.Smooth,
  4721. Color = Color3.new(0.105882, 0.164706, 0.207843)
  4722. })
  4723. Mesh = New("SpecialMesh", Ring, "Mesh", {
  4724. Scale = Vector3.new(0.434199393, 0.361832827, 0.361832827),
  4725. MeshId = "http://www.roblox.com/asset/?id=3270017",
  4726. MeshType = Enum.MeshType.FileMesh
  4727. })
  4728. mot = New("Motor", Ring, "mot", {
  4729. Part0 = Ring,
  4730. Part1 = Handle,
  4731. C0 = CFrame.new(0, 0, 0, 4.58770992E-5, 4.32779889E-5, 1, 4.07795131E-4, -1, 4.32592751E-5, 0.99999994, 4.07793181E-4, -4.58947434E-5),
  4732. C1 = CFrame.new(-0.0704956055, 0.312757254, -0.168804169, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  4733. })
  4734. NoSight = New("Part", Uzi, "NoSight", {
  4735. BrickColor = BrickColor.new("Black"),
  4736. Elasticity = 0,
  4737. FormFactor = Enum.FormFactor.Custom,
  4738. Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
  4739. CFrame = CFrame.new(-63.9008064, 4.31044102, 8.6785574, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490618E-5, 0.999989152, -3.46755522E-4, 0.999986291, -4.34514986E-5, -1.51409104E-5),
  4740. CanCollide = false,
  4741. BottomSurface = Enum.SurfaceType.Smooth,
  4742. TopSurface = Enum.SurfaceType.Smooth,
  4743. Color = Color3.new(0.105882, 0.164706, 0.207843)
  4744. })
  4745. Mesh = New("SpecialMesh", NoSight, "Mesh", {
  4746. Scale = Vector3.new(0.333333224, 0.0476190485, 0.142857105),
  4747. MeshType = Enum.MeshType.Wedge
  4748. })
  4749. mot = New("Motor", NoSight, "mot", {
  4750. Part0 = NoSight,
  4751. Part1 = Handle,
  4752. C0 = CFrame.new(0, 0, 0, -1.51580507E-5, 4.32481829E-5, 1, -3.46759072E-4, 1, -4.32534325E-5, -1, -3.46759742E-4, -1.51430522E-5),
  4753. C1 = CFrame.new(-0.0489768982, 0.912855864, -0.588032722, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  4754. })
  4755. NoSight = New("Part", Uzi, "NoSight", {
  4756. BrickColor = BrickColor.new("Black"),
  4757. Elasticity = 0,
  4758. FormFactor = Enum.FormFactor.Plate,
  4759. Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),
  4760. CFrame = CFrame.new(-63.7637138, 4.25256538, 9.19813633, 3.16242484E-4, -0.999998629, -1.53781439E-5, -0.999994516, -3.16240039E-4, -4.36452538E-5, 4.38389834E-5, 1.53937908E-5, -0.999993145),
  4761. CanCollide = false,
  4762. BottomSurface = Enum.SurfaceType.Smooth,
  4763. TopSurface = Enum.SurfaceType.Smooth,
  4764. Color = Color3.new(0.105882, 0.164706, 0.207843)
  4765. })
  4766. Mesh = New("CylinderMesh", NoSight, "Mesh", {
  4767. Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194)
  4768. })
  4769. mot = New("Motor", NoSight, "mot", {
  4770. Part0 = NoSight,
  4771. Part1 = Handle,
  4772. C0 = CFrame.new(0, 0, 0, 3.16242484E-4, -0.999994516, 4.38389834E-5, -0.999998629, -3.16240039E-4, 1.53937908E-5, -1.53781439E-5, -4.36452538E-5, -0.999993145),
  4773. C1 = CFrame.new(-0.186069489, 0.854979753, -1.10761929, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
  4774. })
  4775. NoSight = New("Part", Uzi, "NoSight", {
  4776. BrickColor = BrickColor.new("Black"),
  4777. Elasticity = 0,
  4778. FormFactor = Enum.FormFactor.Custom,
  4779. Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
  4780. CFrame = CFrame.new(-63.8792877, 4.27389956, 7.20867825, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490654E-5, 0.999989152, -3.46755493E-4, 0.999986291, -4.34515023E-5, -1.51409085E-5),
  4781. CanCollide = false,
  4782. BottomSurface = Enum.SurfaceType.Smooth,
  4783. TopSurface = Enum.SurfaceType.Smooth,
  4784. Color = Color3.new(0.105882, 0.164706, 0.207843)
  4785. })
  4786. Mesh = New("BlockMesh", NoSight, "Mesh", {
  4787. Scale = Vector3.new(0.0476190522, 0.190476194, 0.19047603)
  4788. })
  4789. mot = New("Motor", NoSight, "mot", {
  4790. Part0 = NoSight,
  4791. Part1 = Handle,
  4792. C0 = CFrame.new(0, 0, 0, -1.5159917E-5, 4.30495311E-5, 1, -3.46759538E-4, 1, -4.30547843E-5, -1, -3.46760178E-4, -1.51449858E-5),
  4793. C1 = CFrame.new(-0.0704956055, 0.876312971, 0.881866455, -1, -1.38907941E-9, -5.60068347E-9, -1.38908274E-9, 1, 5.95965616E-7, 5.60068303E-9, 5.95965616E-7, -1)
  4794. })
  4795. A2 = New("Part", Uzi, "A2", {
  4796. BrickColor = BrickColor.new("White"),
  4797. Elasticity = 0,
  4798. FormFactor = Enum.FormFactor.Custom,
  4799. Size = Vector3.new(0.303939581, 0.303939581, 1.8236376),
  4800. CFrame = CFrame.new(-64.1623764, 4.10658884, 8.22297573, 3.04593304E-5, -6.80373148E-7, 0.999997377, -0.999989152, -1.32646619E-5, 3.04581481E-5, 1.36619119E-5, -0.999986291, -6.84514305E-7),
  4801. CanCollide = false,
  4802. BottomSurface = Enum.SurfaceType.Smooth,
  4803. TopSurface = Enum.SurfaceType.Smooth,
  4804. Color = Color3.new(0.388235, 0.372549, 0.384314)
  4805. })
  4806. Mesh = New("BlockMesh", A2, "Mesh", {
  4807. Offset = Vector3.new(0, 0, 0.0599999987),
  4808. Scale = Vector3.new(0.200000003, 0.200000003, 0.0480000004)
  4809. })
  4810. mot = New("Motor", A2, "mot", {
  4811. Part0 = A2,
  4812. Part1 = Handle,
  4813. C0 = CFrame.new(0, 0, 0, 3.04594105E-5, -1, 1.32647847E-5, -6.80374967E-7, -1.32648056E-5, -1, 1, 3.04594014E-5, -6.8077901E-7),
  4814. C1 = CFrame.new(0.212593079, 0.709000826, -0.132445335, -1, -1.38907941E-9, -5.60068347E-9, -1.38908274E-9, 1, 5.95965616E-7, 5.60068303E-9, 5.95965616E-7, -1)
  4815. })
  4816. for _, v in pairs(Uzi:GetChildren()) do
  4817. if v:IsA("BasePart") then
  4818. v.CanCollide = false
  4819. end
  4820. end
  4821. local NewInstance = function(instance, parent, properties)
  4822. local inst = Instance.new(instance, parent)
  4823. if properties then
  4824. for i, v in next, properties, nil do
  4825. pcall(function()
  4826. inst[i] = v
  4827. end)
  4828. end
  4829. end
  4830. return inst
  4831. end
  4832. local HW = NewInstance("Weld", char, {
  4833. Part0 = ra,
  4834. Part1 = Handle,
  4835. C0 = CFrame.new(0, -1.1, -0.2) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  4836. })
  4837. -------------------------------------------------------
  4838. --End Important Functions--
  4839. -------------------------------------------------------
  4840.  
  4841.  
  4842. -------------------------------------------------------
  4843. --Start Customization--
  4844. -------------------------------------------------------
  4845. local Player_Size = 1
  4846. if Player_Size ~= 1 then
  4847. root.Size = root.Size * Player_Size
  4848. tors.Size = tors.Size * Player_Size
  4849. hed.Size = hed.Size * Player_Size
  4850. ra.Size = ra.Size * Player_Size
  4851. la.Size = la.Size * Player_Size
  4852. rl.Size = rl.Size * Player_Size
  4853. ll.Size = ll.Size * Player_Size
  4854. ----------------------------------------------------------------------------------
  4855. rootj.Parent = root
  4856. neck.Parent = tors
  4857. RW.Parent = tors
  4858. LW.Parent = tors
  4859. RH.Parent = tors
  4860. LH.Parent = tors
  4861. ----------------------------------------------------------------------------------
  4862. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  4863. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  4864. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  4865. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  4866. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  4867. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  4868. ----------------------------------------------------------------------------------
  4869. RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  4870. LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  4871. RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  4872. LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  4873. --hat.Parent = Character
  4874. end
  4875. ----------------------------------------------------------------------------------
  4876. local SONG = 2588466482
  4877. local SONG2 = 0
  4878. local Music = Instance.new("Sound",tors)
  4879. ----------------------------------------------------------------------------------
  4880. local equipped = false
  4881. local idle = 0
  4882. local change = 1
  4883. local val = 0
  4884. local toim = 0
  4885. local idleanim = 0.4
  4886. local sine = 0
  4887. local Sit = 1
  4888. local WasAir = false
  4889. local InAir = false
  4890. local LandTick = 0
  4891. local movelegs = false
  4892. local Speed = 35
  4893. local Firing = false
  4894. ----------------------------------------------------------------------------------
  4895. hum.JumpPower = 55
  4896. hum.Animator.Parent = nil
  4897. -------------------------------------------------------
  4898. --End Customization--
  4899. -------------------------------------------------------
  4900.  
  4901.  
  4902. -------------------------------------------------------
  4903. --Start Attacks N Stuff--
  4904. -------------------------------------------------------
  4905. function AttackTemplate()
  4906. attack = true
  4907. for i = 0, 2, 0.1 do
  4908. swait()
  4909. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  4910. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1)
  4911. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  4912. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  4913. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 + 5 * Sin(sine / 20)), Rad(10 + 5 * Sin(sine / 20))), 0.1)
  4914. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1)
  4915. end
  4916. attack = false
  4917. end
  4918. local Camera = workspace.CurrentCamera
  4919. function ShootEmUp()
  4920. attack = true
  4921. Speed = 5
  4922. movelegs = true
  4923. repeat
  4924. swait()
  4925. for i = 0, 0.3, 0.2 do
  4926. swait()
  4927. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(60)), 0.3)
  4928. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 5 * Sin(sine / 20)), Rad(0), Rad(-60)), 0.3)
  4929. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.3)
  4930. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.3)
  4931. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(0), Rad(45)), 0.3)
  4932. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.3)
  4933. end
  4934. local part, pos = rayCast(Cylinder1.Position,((mouse.Hit.p+Vector3.new(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)) - Cylinder1.Position),200,char)
  4935. Effects.Block(Cylinder1.CFrame,Vector3.new(.4,.4,.4),Vector3.new(),Vector3.new(.6,.6,.6),"Neon","Bright yellow",true,false,.1)
  4936. Effects.Block(CFrame.new(pos),Vector3.new(.4,.4,.4),Vector3.new(),Vector3.new(.1,.1,.1),"Neon","Bright yellow",true,false,.1)
  4937. Effects.Block(CFrame.new((Cylinder1.Position + pos)/2,pos),Vector3.new(.2,.2,(Cylinder1.Position - pos).magnitude),Vector3.new(0,0,1),Vector3.new(.1,.1,0),"Neon","Bright yellow",false,false,.1)
  4938. Cso("249050335", Cylinder1, 2, Mrandom(90,110)/100)
  4939. local WWWWWWWWWWOAH = Instance.new("Part",Camera)
  4940. WWWWWWWWWWOAH.Anchored = true
  4941. WWWWWWWWWWOAH.Transparency = 1
  4942. WWWWWWWWWWOAH.CanCollide = false
  4943. WWWWWWWWWWOAH.Size = Vector3.new()
  4944. WWWWWWWWWWOAH.CFrame = CFrame.new(pos)
  4945. MagniDamage(WWWWWWWWWWOAH, 3, 18, 2, 10, "Normal")
  4946. for i = 0, 1 do
  4947. swait()
  4948. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(60)), 0.3)
  4949. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 5 * Sin(sine / 20)), Rad(0), Rad(-60)), 0.3)
  4950. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.3)
  4951. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.3)
  4952. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(110), Rad(0), Rad(45)), 0.3)
  4953. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.3)
  4954. end
  4955. until Firing == false
  4956. Speed = 35
  4957. attack = false
  4958. movelegs = false
  4959. end
  4960. Sitt = false
  4961. function SittyBoi()
  4962. attack = true
  4963. Sitt = true
  4964. Speed = 0
  4965. repeat
  4966. swait()
  4967. for i = 0, 1, 0.1 do
  4968. swait()
  4969. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -1.6 + 0.1 * Player_Size * Cos(sine / 20)) * angles(Rad(-15), Rad(0), Rad(0)), 0.1)
  4970. neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0.05 + ((1* Player_Size) - 1)) * angles(Rad(25 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1)
  4971. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.6* Player_Size, -0.2 - 0.1 * Cos(sine / 20)* Player_Size, -0.5* Player_Size) * angles(Rad(20), Rad(-10), Rad(0)), 0.1)
  4972. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -1.1 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(75), Rad(5), Rad(-10)), 0.1)
  4973. RW.C0 = clerp(RW.C0, CF(1.2* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.2* Player_Size) * angles(Rad(80), Rad(40), Rad(-30)), 0.1)
  4974. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.2 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-15), Rad(20), Rad(-15)), 0.1)
  4975. end
  4976. until Sitt == false
  4977. attack = false
  4978. Speed = 35
  4979. end
  4980. function Maniac()
  4981. attack = true
  4982. movelegs = true
  4983. Speed = 4
  4984. local Laugh = Cso("1607788178", hed, 3, 0.9)
  4985. swait(2)
  4986. repeat
  4987. swait()
  4988. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 2)) * angles(Rad(0), Rad(0), Rad(-15)), 0.1)
  4989. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 2.5 * Sin(sine / 2)), Rad(0), Rad(15)), 0.1)
  4990. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 2)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  4991. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 2)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  4992. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.3 + 0.1 * Sin(sine / 2)* Player_Size, 0* Player_Size) * angles(Rad(210), Rad(0), Rad(-10)), 0.1)
  4993. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Cos(sine / 2)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(20), Rad(-5 + 4.5 * Sin(sine / 2))), 0.1)
  4994. until Laugh.Playing == false
  4995. attack = false
  4996. movelegs = false
  4997. Speed = 35
  4998. end
  4999. local VALUE1 = false
  5000. -------------------------------------------------------
  5001. --End Attacks N Stuff--
  5002. -------------------------------------------------------
  5003. mouse.Button1Down:connect(function()
  5004. Firing = true
  5005. if attack == false then
  5006. ShootEmUp()
  5007. end
  5008. end)
  5009. mouse.Button1Up:connect(function()
  5010. Firing = false
  5011. end)
  5012. mouse.KeyDown:connect(function(key)
  5013. if (VALUE1 == false and attack == false) or Sitt == true then
  5014. if key == "q" then
  5015. if Sitt == false then
  5016. SittyBoi()
  5017. elseif Sitt == true then
  5018. Sitt = false
  5019. end
  5020. end
  5021. end
  5022. if attack == false then
  5023. if key == "t" then
  5024. Maniac()
  5025. end
  5026. end
  5027. end)
  5028.  
  5029.  
  5030. for _,v in pairs (Uzi:children()) do
  5031. v.BrickColor = BrickColor.new("Really black")
  5032. end
  5033.  
  5034.  
  5035.  
  5036.  
  5037. -------------------------------------------------------
  5038. --Start Animations--
  5039. -------------------------------------------------------
  5040. print("By Creterisk")
  5041. while true do
  5042. swait()
  5043. sine = sine + change
  5044. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  5045. local velderp = root.Velocity.y
  5046. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  5047. if equipped == true or equipped == false then
  5048. if attack == false then
  5049. idle = idle + 1
  5050. else
  5051. idle = 0
  5052. end
  5053. local Landed = false
  5054. if(hitfloor)then
  5055. WasAir = false
  5056. else
  5057. WasAir = true
  5058. end
  5059. if(WasAir == false)then
  5060. if(InAir == true)then
  5061. LandTick = time()
  5062. Landed = true
  5063. end
  5064. end
  5065. if(time()-LandTick < .3)then
  5066. Landed = true
  5067. end
  5068. if(hitfloor)then
  5069. InAir = false
  5070. else
  5071. InAir = true
  5072. end
  5073. local Walking = (math.abs(root.Velocity.x) > 1 or math.abs(root.Velocity.z) > 1)
  5074. local State = (hum.PlatformStand and 'Paralyzed' or hum.Sit and 'Sit' or Landed and 'Land' or not hitfloor and root.Velocity.y < -1 and "Fall" or not hitfloor and root.Velocity.y > 1 and "Jump" or hitfloor and Walking and "Walk" or hitfloor and "Idle")
  5075. local WALKSPEEDVALUE = 6 / (hum.WalkSpeed / 16)
  5076. if hum.Sit == false then
  5077. if(State == 'Jump')then
  5078. hum.JumpPower = 55
  5079. if attack == false then
  5080. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.1)
  5081. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  5082. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -.2 - 0.1 * Cos(sine / 20), -.3* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.1)
  5083. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.1)
  5084. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  5085. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  5086. end
  5087. elseif(State == 'Fall')then
  5088. if attack == false then
  5089. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.1)
  5090. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  5091. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(-3.5), Rad(0), Rad(0)), 0.1)
  5092. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(-3.5), Rad(0), Rad(0)), 0.1)
  5093. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
  5094. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
  5095. end
  5096. elseif(State == 'Land')then
  5097. hum.JumpPower = 0
  5098. if attack == false then
  5099. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  5100. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(35 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  5101. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, 0.1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(-3.5), Rad(0), Rad(10)), 0.15)
  5102. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, 0.1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(-3.5), Rad(0), Rad(-10)), 0.15)
  5103. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(25 + 4.5 * Sin(sine / 20))), 0.1)
  5104. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.1)
  5105. end
  5106. elseif(State == 'Idle')then
  5107. change = 1
  5108. if attack == false then
  5109. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  5110. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(5)), 0.1)
  5111. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  5112. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  5113. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.3 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(210), Rad(0), Rad(-10)), 0.1)
  5114. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1)
  5115. end
  5116. elseif(State == 'Walk')then
  5117. change = 0.76
  5118. hum.JumpPower = 55
  5119. if attack == false then
  5120. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.3 - 0.15 * Cos(sine / (WALKSPEEDVALUE / 2))) * angles(Rad(25), Rad(0), Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE )) + root.RotVelocity.Y / 75), 0.1)
  5121. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-5 + 5 * Sin(sine / (WALKSPEEDVALUE / 2))), Rad(0), Rad(0 + 10 * Cos(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / 13), 0.1)
  5122. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.8 - 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, 0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-10 - 65 * Cos(sine / WALKSPEEDVALUE)) - root.RotVelocity.Y / 75 + -Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
  5123. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.8 + 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, -0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-10 + 65 * Cos(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / -75 + Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
  5124. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.3 + 0.05 * Cos(sine / WALKSPEEDVALUE)* Player_Size, 0* Player_Size) * angles(Rad(210), Rad(0), Rad(-10)), 0.1)
  5125. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Cos(sine / WALKSPEEDVALUE)* Player_Size, 0 + 0.5 * Cos(sine / WALKSPEEDVALUE)* Player_Size) * angles(Rad(-125 * Cos(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / 75, Rad(10 * Cos(sine / WALKSPEEDVALUE)), Rad(-20) + root.RotVelocity.Y / -75), 0.1)
  5126. elseif attack == true and movelegs == true then
  5127. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.8 - 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, 0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-10 - 25 * Cos(sine / WALKSPEEDVALUE)) - root.RotVelocity.Y / 75 + -Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
  5128. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.8 + 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, -0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-10 + 25 * Cos(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / -75 + Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
  5129. end
  5130. end
  5131. else
  5132. Sit.Value = true
  5133. if attack == false then
  5134. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.5 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  5135. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-5 - 2.5 * Sin(sine / 30)), Rad(0), Rad(-5)), 0.1)
  5136. rl.Weld.C0 = clerp(rl.Weld.C0, CF(1* Player_Size, -0.35 - 0.05 * Cos(sine / 20)* Player_Size, -0.5* Player_Size) * angles(Rad(15), Rad(75), Rad(0)) * angles(Rad(-5), Rad(0), Rad(5)), 0.1)
  5137. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-1* Player_Size, -0.35 - 0.05 * Cos(sine / 20)* Player_Size, -0.5* Player_Size) * angles(Rad(15), Rad(-75), Rad(0)) * angles(Rad(-5), Rad(0), Rad(5)), 0.1)
  5138. RW.C0 = clerp(RW.C0, CF(1.3* Player_Size, 0.4 + 0.1 * Sin(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(35), Rad(-20), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
  5139. LW.C0 = clerp(LW.C0, CF(-1.3* Player_Size, 0.4 + 0.1 * Sin(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(35), Rad(20), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
  5140. end
  5141. end
  5142. end
  5143. hum.WalkSpeed = Speed
  5144. Music.SoundId = "rbxassetid://"..SONG
  5145. Music.Looped = true
  5146. Music.Pitch = 1
  5147. Music.Volume = 2
  5148. Music.Parent = tors
  5149. Music.Playing = true
  5150. if 0 < #Effects then
  5151. for e = 1, #Effects do
  5152. if Effects[e] ~= nil then
  5153. local Thing = Effects[e]
  5154. if Thing ~= nil then
  5155. local Part = Thing[1]
  5156. local Mode = Thing[2]
  5157. local Delay = Thing[3]
  5158. local IncX = Thing[4]
  5159. local IncY = Thing[5]
  5160. local IncZ = Thing[6]
  5161. if 1 >= Thing[1].Transparency then
  5162. if Thing[2] == "Block1" then
  5163. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  5164. local Mesh = Thing[1].Mesh
  5165. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  5166. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  5167. elseif Thing[2] == "Block2" then
  5168. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  5169. local Mesh = Thing[7]
  5170. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  5171. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  5172. elseif Thing[2] == "Block3" then
  5173. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
  5174. local Mesh = Thing[7]
  5175. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  5176. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  5177. elseif Thing[2] == "Cylinder" then
  5178. local Mesh = Thing[1].Mesh
  5179. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  5180. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  5181. elseif Thing[2] == "Blood" then
  5182. local Mesh = Thing[7]
  5183. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  5184. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  5185. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  5186. elseif Thing[2] == "Elec" then
  5187. local Mesh = Thing[1].Mesh
  5188. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  5189. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  5190. elseif Thing[2] == "Disappear" then
  5191. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  5192. elseif Thing[2] == "Shatter" then
  5193. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  5194. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  5195. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  5196. Thing[6] = Thing[6] + Thing[5]
  5197. end
  5198. else
  5199. Part.Parent = nil
  5200. table.remove(Effects, e)
  5201. end
  5202. end
  5203. end
  5204. end
  5205. end
  5206. end
  5207. -------------------------------------------------------
  5208. --End Animations And Script--
  5209. -------------------------------------------------------
  5210.  
  5211. -------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement