Advertisement
5sdfsadgaq5465

Uzi script

May 24th, 2019
975
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 127.54 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. local plr = owner
  91. local char = plr.Character
  92. local hum = char:FindFirstChildOfClass'Humanoid'
  93. local hed = char.Head
  94. local root = char:FindFirstChild'HumanoidRootPart'
  95. local rootj = root.RootJoint
  96. local tors = char.Torso
  97. local ra = char["Right Arm"]
  98. local la = char["Left Arm"]
  99. local rl = char["Right Leg"]
  100. local ll = char["Left Leg"]
  101. local neck = tors["Neck"]
  102. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  103. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  104. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  105. local maincolor = BrickColor.new("Institutional white")
  106. -------------------------------------------------------
  107. --Start Whitelist and Invincibility--
  108. -------------------------------------------------------
  109. ff = Instance.new("ForceField",char)
  110. ff.Visible = false
  111. hum.Name = "Base"
  112. hum.MaxHealth = 1.0E298
  113. hum.Health = 1.0E298
  114. game:GetService("RunService"):BindToRenderStep("Base", 0, function()
  115. if hum.Health > 0.1 and hum.Health < 1.0E298 then
  116. hum.MaxHealth = 1.0E298
  117. hum.Health = 1.0E298
  118. end
  119. end)
  120. -------------------------------------------------------
  121. --End Whitelist and Invincibility--
  122. -------------------------------------------------------
  123.  
  124. -------------------------------------------------------
  125. --Start Good Stuff--
  126. -------------------------------------------------------
  127. cam = game.Workspace.CurrentCamera
  128. CF = CFrame.new
  129. angles = CFrame.Angles
  130. attack = false
  131. Euler = CFrame.fromEulerAnglesXYZ
  132. Rad = math.rad
  133. IT = Instance.new
  134. BrickC = BrickColor.new
  135. Cos = math.cos
  136. Acos = math.acos
  137. Sin = math.sin
  138. Asin = math.asin
  139. Abs = math.abs
  140. Mrandom = math.random
  141. Floor = math.floor
  142. -------------------------------------------------------
  143. --End Good Stuff--
  144. -------------------------------------------------------
  145. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  146. RSH, LSH = nil, nil
  147. RW = Instance.new("Weld")
  148. LW = Instance.new("Weld")
  149. RH = tors["Right Hip"]
  150. LH = tors["Left Hip"]
  151. RSH = tors["Right Shoulder"]
  152. LSH = tors["Left Shoulder"]
  153. RSH.Parent = nil
  154. LSH.Parent = nil
  155. RW.Name = "RW"
  156. RW.Part0 = tors
  157. RW.C0 = CF(1.5, 0.5, 0)
  158. RW.C1 = CF(0, 0.5, 0)
  159. RW.Part1 = ra
  160. RW.Parent = tors
  161. LW.Name = "LW"
  162. LW.Part0 = tors
  163. LW.C0 = CF(-1.5, 0.5, 0)
  164. LW.C1 = CF(0, 0.5, 0)
  165. LW.Part1 = la
  166. LW.Parent = tors
  167. Effects = {}
  168. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  169. local wld = Instance.new("Weld", wp1)
  170. wld.Part0 = wp0
  171. wld.Part1 = wp1
  172. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  173. end
  174. newWeld(tors, ll, -0.5, -1, 0)
  175. ll.Weld.C1 = CFrame.new(0, 1, 0)
  176. newWeld(tors, rl, 0.5, -1, 0)
  177. rl.Weld.C1 = CFrame.new(0, 1, 0)
  178. -------------------------------------------------------
  179. --Start HeartBeat--
  180. -------------------------------------------------------
  181. ArtificialHB = Instance.new("BindableEvent", script)
  182. ArtificialHB.Name = "Heartbeat"
  183. script:WaitForChild("Heartbeat")
  184.  
  185. frame = 1 / 60
  186. tf = 0
  187. allowframeloss = false
  188. tossremainder = false
  189.  
  190.  
  191. lastframe = tick()
  192. script.Heartbeat:Fire()
  193.  
  194.  
  195. game:GetService("RunService").Heartbeat:connect(function(s, p)
  196. tf = tf + s
  197. if tf >= frame then
  198. if allowframeloss then
  199. script.Heartbeat:Fire()
  200. lastframe = tick()
  201. else
  202. for i = 1, math.floor(tf / frame) do
  203. script.Heartbeat:Fire()
  204. end
  205. lastframe = tick()
  206. end
  207. if tossremainder then
  208. tf = 0
  209. else
  210. tf = tf - frame * math.floor(tf / frame)
  211. end
  212. end
  213. end)
  214. -------------------------------------------------------
  215. --End HeartBeat--
  216. -------------------------------------------------------
  217.  
  218. -------------------------------------------------------
  219. --Start Important Functions--
  220. -------------------------------------------------------
  221. function swait(num)
  222. if num == 0 or num == nil then
  223. game:service("RunService").Stepped:wait(0)
  224. else
  225. for i = 0, num do
  226. game:service("RunService").Stepped:wait(0)
  227. end
  228. end
  229. end
  230. function thread(f)
  231. coroutine.resume(coroutine.create(f))
  232. end
  233. function clerp(a, b, t)
  234. local qa = {
  235. QuaternionFromCFrame(a)
  236. }
  237. local qb = {
  238. QuaternionFromCFrame(b)
  239. }
  240. local ax, ay, az = a.x, a.y, a.z
  241. local bx, by, bz = b.x, b.y, b.z
  242. local _t = 1 - t
  243. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  244. end
  245. function QuaternionFromCFrame(cf)
  246. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  247. local trace = m00 + m11 + m22
  248. if trace > 0 then
  249. local s = math.sqrt(1 + trace)
  250. local recip = 0.5 / s
  251. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  252. else
  253. local i = 0
  254. if m00 < m11 then
  255. i = 1
  256. end
  257. if m22 > (i == 0 and m00 or m11) then
  258. i = 2
  259. end
  260. if i == 0 then
  261. local s = math.sqrt(m00 - m11 - m22 + 1)
  262. local recip = 0.5 / s
  263. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  264. elseif i == 1 then
  265. local s = math.sqrt(m11 - m22 - m00 + 1)
  266. local recip = 0.5 / s
  267. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  268. elseif i == 2 then
  269. local s = math.sqrt(m22 - m00 - m11 + 1)
  270. local recip = 0.5 / s
  271. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  272. end
  273. end
  274. end
  275. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  276. local xs, ys, zs = x + x, y + y, z + z
  277. local wx, wy, wz = w * xs, w * ys, w * zs
  278. local xx = x * xs
  279. local xy = x * ys
  280. local xz = x * zs
  281. local yy = y * ys
  282. local yz = y * zs
  283. local zz = z * zs
  284. 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))
  285. end
  286. function QuaternionSlerp(a, b, t)
  287. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  288. local startInterp, finishInterp
  289. if cosTheta >= 1.0E-4 then
  290. if 1 - cosTheta > 1.0E-4 then
  291. local theta = math.acos(cosTheta)
  292. local invSinTheta = 1 / Sin(theta)
  293. startInterp = Sin((1 - t) * theta) * invSinTheta
  294. finishInterp = Sin(t * theta) * invSinTheta
  295. else
  296. startInterp = 1 - t
  297. finishInterp = t
  298. end
  299. elseif 1 + cosTheta > 1.0E-4 then
  300. local theta = math.acos(-cosTheta)
  301. local invSinTheta = 1 / Sin(theta)
  302. startInterp = Sin((t - 1) * theta) * invSinTheta
  303. finishInterp = Sin(t * theta) * invSinTheta
  304. else
  305. startInterp = t - 1
  306. finishInterp = t
  307. end
  308. 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
  309. end
  310. function rayCast(Position, Direction, Range, Ignore)
  311. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  312. end
  313. local RbxUtility = LoadLibrary("RbxUtility")
  314. local Create = RbxUtility.Create
  315.  
  316. -------------------------------------------------------
  317. --Start Damage Function--
  318. -------------------------------------------------------
  319. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  320. if hit.Parent == nil then
  321. return
  322. end
  323. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  324. for _, v in pairs(hit.Parent:children()) do
  325. if v:IsA("Humanoid") then
  326. h = v
  327. end
  328. end
  329. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  330.  
  331. hit.Parent:FindFirstChild("Head"):BreakJoints()
  332. end
  333.  
  334. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  335. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  336. if hit.Parent.DebounceHit.Value == true then
  337. return
  338. end
  339. end
  340. if insta == true then
  341. hit.Parent:FindFirstChild("Head"):BreakJoints()
  342. end
  343. local c = Create("ObjectValue"){
  344. Name = "creator",
  345. Value = owner,
  346. Parent = h,
  347. }
  348. game:GetService("Debris"):AddItem(c, .5)
  349. if HitSound ~= nil and HitPitch ~= nil then
  350. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  351. end
  352. local Damage = math.random(20, 40)
  353. local blocked = false
  354. local block = hit.Parent:findFirstChild("Block")
  355. if block ~= nil then
  356. if block.className == "IntValue" then
  357. if block.Value > 0 then
  358. blocked = true
  359. block.Value = block.Value - 1
  360. print(block.Value)
  361. end
  362. end
  363. end
  364. if blocked == false then
  365. h.Health = h.Health - Damage
  366. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  367. else
  368. h.Health = h.Health - (Damage / 2)
  369. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  370. end
  371. if Type == "Knockdown" then
  372. local hum = hit.Parent.Humanoid
  373. hum.PlatformStand = true
  374. coroutine.resume(coroutine.create(function(HHumanoid)
  375. swait(1)
  376. HHumanoid.PlatformStand = false
  377. end), hum)
  378. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  379. local bodvol = Create("BodyVelocity"){
  380. velocity = angle * knockback,
  381. P = 5000,
  382. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  383. Parent = hit,
  384. }
  385. local rl = Create("BodyAngularVelocity"){
  386. P = 3000,
  387. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  388. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  389. Parent = hit,
  390. }
  391. game:GetService("Debris"):AddItem(bodvol, .5)
  392. game:GetService("Debris"):AddItem(rl, .5)
  393. elseif Type == "Normal" then
  394. local vp = Create("BodyVelocity"){
  395. P = 500,
  396. maxForce = Vector3.new(math.huge, 0, math.huge),
  397. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  398. }
  399. if knockback > 0 then
  400. vp.Parent = hit.Parent.Torso
  401. end
  402. game:GetService("Debris"):AddItem(vp, .5)
  403. elseif Type == "Up" then
  404. local bodyVelocity = Create("BodyVelocity"){
  405. velocity = Vector3.new(0, 20, 0),
  406. P = 5000,
  407. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  408. Parent = hit,
  409. }
  410. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  411. elseif Type == "DarkUp" then
  412. coroutine.resume(coroutine.create(function()
  413. for i = 0, 1, 0.1 do
  414. swait()
  415. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  416. end
  417. end))
  418. local bodyVelocity = Create("BodyVelocity"){
  419. velocity = Vector3.new(0, 20, 0),
  420. P = 5000,
  421. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  422. Parent = hit,
  423. }
  424. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  425. elseif Type == "Snare" then
  426. local bp = Create("BodyPosition"){
  427. P = 2000,
  428. D = 100,
  429. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  430. position = hit.Parent.Torso.Position,
  431. Parent = hit.Parent.Torso,
  432. }
  433. game:GetService("Debris"):AddItem(bp, 1)
  434. elseif Type == "Freeze" then
  435. local BodPos = Create("BodyPosition"){
  436. P = 50000,
  437. D = 1000,
  438. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  439. position = hit.Parent.Torso.Position,
  440. Parent = hit.Parent.Torso,
  441. }
  442. local BodGy = Create("BodyGyro") {
  443. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  444. P = 20e+003,
  445. Parent = hit.Parent.Torso,
  446. cframe = hit.Parent.Torso.CFrame,
  447. }
  448. hit.Parent.Torso.Anchored = true
  449. coroutine.resume(coroutine.create(function(Part)
  450. swait(1.5)
  451. Part.Anchored = false
  452. end), hit.Parent.Torso)
  453. game:GetService("Debris"):AddItem(BodPos, 3)
  454. game:GetService("Debris"):AddItem(BodGy, 3)
  455. end
  456. local debounce = Create("BoolValue"){
  457. Name = "DebounceHit",
  458. Parent = hit.Parent,
  459. Value = true,
  460. }
  461. game:GetService("Debris"):AddItem(debounce, Delay)
  462. c = Create("ObjectValue"){
  463. Name = "creator",
  464. Value = Player,
  465. Parent = h,
  466. }
  467. game:GetService("Debris"):AddItem(c, .5)
  468. end
  469. end
  470. -------------------------------------------------------
  471. --End Damage Function--
  472. -------------------------------------------------------
  473.  
  474. -------------------------------------------------------
  475. --Start Damage Function Customization--
  476. -------------------------------------------------------
  477. function ShowDamage(Pos, Text, Time, Color)
  478. local Rate = (1 / 30)
  479. local Pos = (Pos or Vector3.new(0, 0, 0))
  480. local Text = (Text or "")
  481. local Time = (Time or 2)
  482. local Color = (Color or Color3.new(1, 0, 1))
  483. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  484. EffectPart.Anchored = true
  485. local BillboardGui = Create("BillboardGui"){
  486. Size = UDim2.new(3, 0, 3, 0),
  487. Adornee = EffectPart,
  488. Parent = EffectPart,
  489. }
  490. local TextLabel = Create("TextLabel"){
  491. BackgroundTransparency = 1,
  492. Size = UDim2.new(1, 0, 1, 0),
  493. Text = Text,
  494. Font = "Bodoni",
  495. TextColor3 = Color,
  496. TextScaled = true,
  497. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  498. Parent = BillboardGui,
  499. }
  500. game.Debris:AddItem(EffectPart, (Time))
  501. EffectPart.Parent = game:GetService("Workspace")
  502. delay(0, function()
  503. local Frames = (Time / Rate)
  504. for Frame = 1, Frames do
  505. wait(Rate)
  506. local Percent = (Frame / Frames)
  507. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  508. TextLabel.TextTransparency = Percent
  509. end
  510. if EffectPart and EffectPart.Parent then
  511. EffectPart:Destroy()
  512. end
  513. end)
  514. end
  515. -------------------------------------------------------
  516. --End Damage Function Customization--
  517. -------------------------------------------------------
  518.  
  519. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  520. for _, c in pairs(workspace:children()) do
  521. local hum = c:findFirstChild("Humanoid")
  522. if hum ~= nil then
  523. local head = c:findFirstChild("Head")
  524. if head ~= nil then
  525. local targ = head.Position - Part.Position
  526. local mag = targ.magnitude
  527. if magni >= mag and c.Name ~= plr.Name then
  528. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  529. end
  530. end
  531. end
  532. end
  533. end
  534.  
  535.  
  536. CFuncs = {
  537. Part = {
  538. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  539. local Part = Create("Part")({
  540. Parent = Parent,
  541. Reflectance = Reflectance,
  542. Transparency = Transparency,
  543. CanCollide = false,
  544. Locked = true,
  545. BrickColor = BrickColor.new(tostring(BColor)),
  546. Name = Name,
  547. Size = Size,
  548. Material = Material
  549. })
  550. RemoveOutlines(Part)
  551. return Part
  552. end
  553. },
  554. Mesh = {
  555. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  556. local Msh = Create(Mesh)({
  557. Parent = Part,
  558. Offset = OffSet,
  559. Scale = Scale
  560. })
  561. if Mesh == "SpecialMesh" then
  562. Msh.MeshType = MeshType
  563. Msh.MeshId = MeshId
  564. end
  565. return Msh
  566. end
  567. },
  568. Mesh = {
  569. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  570. local Msh = Create(Mesh)({
  571. Parent = Part,
  572. Offset = OffSet,
  573. Scale = Scale
  574. })
  575. if Mesh == "SpecialMesh" then
  576. Msh.MeshType = MeshType
  577. Msh.MeshId = MeshId
  578. end
  579. return Msh
  580. end
  581. },
  582. Weld = {
  583. Create = function(Parent, Part0, Part1, C0, C1)
  584. local Weld = Create("Weld")({
  585. Parent = Parent,
  586. Part0 = Part0,
  587. Part1 = Part1,
  588. C0 = C0,
  589. C1 = C1
  590. })
  591. return Weld
  592. end
  593. },
  594. Sound = {
  595. Create = function(id, par, vol, pit)
  596. coroutine.resume(coroutine.create(function()
  597. local S = Create("Sound")({
  598. Volume = vol,
  599. Pitch = pit or 1,
  600. SoundId = id,
  601. Parent = par or workspace
  602. })
  603. wait()
  604. S:play()
  605. game:GetService("Debris"):AddItem(S, 6)
  606. end))
  607. end
  608. },
  609. ParticleEmitter = {
  610. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  611. local fp = Create("ParticleEmitter")({
  612. Parent = Parent,
  613. Color = ColorSequence.new(Color1, Color2),
  614. LightEmission = LightEmission,
  615. Size = Size,
  616. Texture = Texture,
  617. Transparency = Transparency,
  618. ZOffset = ZOffset,
  619. Acceleration = Accel,
  620. Drag = Drag,
  621. LockedToPart = LockedToPart,
  622. VelocityInheritance = VelocityInheritance,
  623. EmissionDirection = EmissionDirection,
  624. Enabled = Enabled,
  625. Lifetime = LifeTime,
  626. Rate = Rate,
  627. Rotation = Rotation,
  628. RotSpeed = RotSpeed,
  629. Speed = Speed,
  630. VelocitySpread = VelocitySpread
  631. })
  632. return fp
  633. end
  634. }
  635. }
  636. function RemoveOutlines(part)
  637. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  638. end
  639. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  640. local Part = Create("Part")({
  641. formFactor = FormFactor,
  642. Parent = Parent,
  643. Reflectance = Reflectance,
  644. Transparency = Transparency,
  645. CanCollide = false,
  646. Locked = true,
  647. BrickColor = BrickColor.new(tostring(BColor)),
  648. Name = Name,
  649. Size = Size,
  650. Material = Material
  651. })
  652. RemoveOutlines(Part)
  653. return Part
  654. end
  655. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  656. local Msh = Create(Mesh)({
  657. Parent = Part,
  658. Offset = OffSet,
  659. Scale = Scale
  660. })
  661. if Mesh == "SpecialMesh" then
  662. Msh.MeshType = MeshType
  663. Msh.MeshId = MeshId
  664. end
  665. return Msh
  666. end
  667. function CreateWeld(Parent, Part0, Part1, C0, C1)
  668. local Weld = Create("Weld")({
  669. Parent = Parent,
  670. Part0 = Part0,
  671. Part1 = Part1,
  672. C0 = C0,
  673. C1 = C1
  674. })
  675. return Weld
  676. end
  677.  
  678.  
  679. -------------------------------------------------------
  680. --Start Effect Function--
  681. -------------------------------------------------------
  682. EffectModel = Instance.new("Model", char)
  683. Effects = {
  684. Block = {
  685. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  686. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  687. prt.Anchored = true
  688. prt.CFrame = cframe
  689. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  690. game:GetService("Debris"):AddItem(prt, 10)
  691. if Type == 1 or Type == nil then
  692. table.insert(Effects, {
  693. prt,
  694. "Block1",
  695. delay,
  696. x3,
  697. y3,
  698. z3,
  699. msh
  700. })
  701. elseif Type == 2 then
  702. table.insert(Effects, {
  703. prt,
  704. "Block2",
  705. delay,
  706. x3,
  707. y3,
  708. z3,
  709. msh
  710. })
  711. else
  712. table.insert(Effects, {
  713. prt,
  714. "Block3",
  715. delay,
  716. x3,
  717. y3,
  718. z3,
  719. msh
  720. })
  721. end
  722. end
  723. },
  724. Sphere = {
  725. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  726. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  727. prt.Anchored = true
  728. prt.CFrame = cframe
  729. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  730. game:GetService("Debris"):AddItem(prt, 10)
  731. table.insert(Effects, {
  732. prt,
  733. "Cylinder",
  734. delay,
  735. x3,
  736. y3,
  737. z3,
  738. msh
  739. })
  740. end
  741. },
  742. Cylinder = {
  743. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  744. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  745. prt.Anchored = true
  746. prt.CFrame = cframe
  747. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  748. game:GetService("Debris"):AddItem(prt, 10)
  749. table.insert(Effects, {
  750. prt,
  751. "Cylinder",
  752. delay,
  753. x3,
  754. y3,
  755. z3,
  756. msh
  757. })
  758. end
  759. },
  760. Wave = {
  761. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  762. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  763. prt.Anchored = true
  764. prt.CFrame = cframe
  765. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  766. game:GetService("Debris"):AddItem(prt, 10)
  767. table.insert(Effects, {
  768. prt,
  769. "Cylinder",
  770. delay,
  771. x3 / 60,
  772. y3 / 60,
  773. z3 / 60,
  774. msh
  775. })
  776. end
  777. },
  778. Ring = {
  779. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  780. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  781. prt.Anchored = true
  782. prt.CFrame = cframe
  783. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  784. game:GetService("Debris"):AddItem(prt, 10)
  785. table.insert(Effects, {
  786. prt,
  787. "Cylinder",
  788. delay,
  789. x3,
  790. y3,
  791. z3,
  792. msh
  793. })
  794. end
  795. },
  796. Break = {
  797. Create = function(brickcolor, cframe, x1, y1, z1)
  798. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  799. prt.Anchored = true
  800. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  801. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  802. local num = math.random(10, 50) / 1000
  803. game:GetService("Debris"):AddItem(prt, 10)
  804. table.insert(Effects, {
  805. prt,
  806. "Shatter",
  807. num,
  808. prt.CFrame,
  809. math.random() - math.random(),
  810. 0,
  811. math.random(50, 100) / 100
  812. })
  813. end
  814. },
  815. Spiral = {
  816. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  817. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  818. prt.Anchored = true
  819. prt.CFrame = cframe
  820. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  821. game:GetService("Debris"):AddItem(prt, 10)
  822. table.insert(Effects, {
  823. prt,
  824. "Cylinder",
  825. delay,
  826. x3,
  827. y3,
  828. z3,
  829. msh
  830. })
  831. end
  832. },
  833. Push = {
  834. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  835. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  836. prt.Anchored = true
  837. prt.CFrame = cframe
  838. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  839. game:GetService("Debris"):AddItem(prt, 10)
  840. table.insert(Effects, {
  841. prt,
  842. "Cylinder",
  843. delay,
  844. x3,
  845. y3,
  846. z3,
  847. msh
  848. })
  849. end
  850. }
  851. }
  852. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  853. local fp = IT("Part")
  854. fp.formFactor = formfactor
  855. fp.Parent = parent
  856. fp.Reflectance = reflectance
  857. fp.Transparency = transparency
  858. fp.CanCollide = false
  859. fp.Locked = true
  860. fp.BrickColor = brickcolor
  861. fp.Name = name
  862. fp.Size = size
  863. fp.Position = tors.Position
  864. RemoveOutlines(fp)
  865. fp.Material = "SmoothPlastic"
  866. fp:BreakJoints()
  867. return fp
  868. end
  869.  
  870. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  871. local mesh = IT(Mesh)
  872. mesh.Parent = part
  873. if Mesh == "SpecialMesh" then
  874. mesh.MeshType = meshtype
  875. if meshid ~= "nil" then
  876. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  877. end
  878. end
  879. mesh.Offset = offset
  880. mesh.Scale = scale
  881. return mesh
  882. end
  883.  
  884. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  885. local type = type
  886. local rng = Instance.new("Part", char)
  887. rng.Anchored = true
  888. rng.BrickColor = color
  889. rng.CanCollide = false
  890. rng.FormFactor = 3
  891. rng.Name = "Ring"
  892. rng.Material = "Neon"
  893. rng.Size = Vector3.new(1, 1, 1)
  894. rng.Transparency = 0
  895. rng.TopSurface = 0
  896. rng.BottomSurface = 0
  897. rng.CFrame = pos
  898. local rngm = Instance.new("SpecialMesh", rng)
  899. rngm.MeshType = MType
  900. rngm.Scale = scale
  901. local scaler2 = 1
  902. if type == "Add" then
  903. scaler2 = 1 * value
  904. elseif type == "Divide" then
  905. scaler2 = 1 / value
  906. end
  907. coroutine.resume(coroutine.create(function()
  908. for i = 0, 10 / bonuspeed, 0.1 do
  909. swait()
  910. if type == "Add" then
  911. scaler2 = scaler2 - 0.01 * value / bonuspeed
  912. elseif type == "Divide" then
  913. scaler2 = scaler2 - 0.01 / value * bonuspeed
  914. end
  915. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  916. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  917. end
  918. rng:Destroy()
  919. end))
  920. end
  921.  
  922. function Eviscerate(dude)
  923. if dude.Name ~= char then
  924. local bgf = IT("BodyGyro", dude.Head)
  925. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  926. local val = IT("BoolValue", dude)
  927. val.Name = "IsHit"
  928. local ds = coroutine.wrap(function()
  929. dude:WaitForChild("Head"):BreakJoints()
  930. wait(0.5)
  931. target = nil
  932. coroutine.resume(coroutine.create(function()
  933. for i, v in pairs(dude:GetChildren()) do
  934. if v:IsA("Accessory") then
  935. v:Destroy()
  936. end
  937. if v:IsA("Humanoid") then
  938. v:Destroy()
  939. end
  940. if v:IsA("CharacterMesh") then
  941. v:Destroy()
  942. end
  943. if v:IsA("Model") then
  944. v:Destroy()
  945. end
  946. if v:IsA("Part") or v:IsA("MeshPart") then
  947. for x, o in pairs(v:GetChildren()) do
  948. if o:IsA("Decal") then
  949. o:Destroy()
  950. end
  951. end
  952. coroutine.resume(coroutine.create(function()
  953. v.Material = "Neon"
  954. v.CanCollide = false
  955. local PartEmmit1 = IT("ParticleEmitter", v)
  956. PartEmmit1.LightEmission = 1
  957. PartEmmit1.Texture = "rbxassetid://284205403"
  958. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  959. PartEmmit1.Rate = 150
  960. PartEmmit1.Lifetime = NumberRange.new(1)
  961. PartEmmit1.Size = NumberSequence.new({
  962. NumberSequenceKeypoint.new(0, 0.75, 0),
  963. NumberSequenceKeypoint.new(1, 0, 0)
  964. })
  965. PartEmmit1.Transparency = NumberSequence.new({
  966. NumberSequenceKeypoint.new(0, 0, 0),
  967. NumberSequenceKeypoint.new(1, 1, 0)
  968. })
  969. PartEmmit1.Speed = NumberRange.new(0, 0)
  970. PartEmmit1.VelocitySpread = 30000
  971. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  972. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  973. local BodPoss = IT("BodyPosition", v)
  974. BodPoss.P = 3000
  975. BodPoss.D = 1000
  976. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  977. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  978. v.Color = maincolor.Color
  979. coroutine.resume(coroutine.create(function()
  980. for i = 0, 49 do
  981. swait(1)
  982. v.Transparency = v.Transparency + 0.08
  983. end
  984. wait(0.5)
  985. PartEmmit1.Enabled = false
  986. wait(3)
  987. v:Destroy()
  988. dude:Destroy()
  989. end))
  990. end))
  991. end
  992. end
  993. end))
  994. end)
  995. ds()
  996. end
  997. end
  998.  
  999. function FindNearestHead(Position, Distance, SinglePlayer)
  1000. if SinglePlayer then
  1001. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1002. end
  1003. local List = {}
  1004. for i, v in pairs(workspace:GetChildren()) do
  1005. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  1006. table.insert(List, v)
  1007. end
  1008. end
  1009. return List
  1010. end
  1011.  
  1012. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  1013. local type = type
  1014. local rng = Instance.new("Part", char)
  1015. rng.Anchored = true
  1016. rng.BrickColor = color
  1017. rng.CanCollide = false
  1018. rng.FormFactor = 3
  1019. rng.Name = "Ring"
  1020. rng.Material = "Neon"
  1021. rng.Size = Vector3.new(1, 1, 1)
  1022. rng.Transparency = 0
  1023. rng.TopSurface = 0
  1024. rng.BottomSurface = 0
  1025. rng.CFrame = pos
  1026. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1027. local rngm = Instance.new("SpecialMesh", rng)
  1028. rngm.MeshType = MType
  1029. rngm.Scale = Vector3.new(x1, y1, z1)
  1030. local scaler2 = 1
  1031. local speeder = FastSpeed
  1032. if type == "Add" then
  1033. scaler2 = 1 * value
  1034. elseif type == "Divide" then
  1035. scaler2 = 1 / value
  1036. end
  1037. coroutine.resume(coroutine.create(function()
  1038. for i = 0, 10 / bonuspeed, 0.1 do
  1039. swait()
  1040. if type == "Add" then
  1041. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1042. elseif type == "Divide" then
  1043. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1044. end
  1045. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1046. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1047. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1048. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1049. end
  1050. rng:Destroy()
  1051. end))
  1052. end
  1053.  
  1054. function SoulSteal(dude)
  1055. if dude.Name ~= char then
  1056. local bgf = IT("BodyGyro", dude.Head)
  1057. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1058. local val = IT("BoolValue", dude)
  1059. val.Name = "IsHit"
  1060. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  1061. local soulst = coroutine.wrap(function()
  1062. local soul = Instance.new("Part",dude)
  1063. soul.Size = Vector3.new(1,1,1)
  1064. soul.CanCollide = false
  1065. soul.Anchored = false
  1066. soul.Position = torso.Position
  1067. soul.Transparency = 1
  1068. local PartEmmit1 = IT("ParticleEmitter", soul)
  1069. PartEmmit1.LightEmission = 1
  1070. PartEmmit1.Texture = "rbxassetid://569507414"
  1071. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1072. PartEmmit1.Rate = 250
  1073. PartEmmit1.Lifetime = NumberRange.new(1.6)
  1074. PartEmmit1.Size = NumberSequence.new({
  1075. NumberSequenceKeypoint.new(0, 1, 0),
  1076. NumberSequenceKeypoint.new(1, 0, 0)
  1077. })
  1078. PartEmmit1.Transparency = NumberSequence.new({
  1079. NumberSequenceKeypoint.new(0, 0, 0),
  1080. NumberSequenceKeypoint.new(1, 1, 0)
  1081. })
  1082. PartEmmit1.Speed = NumberRange.new(0, 0)
  1083. PartEmmit1.VelocitySpread = 30000
  1084. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1085. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1086. local BodPoss = IT("BodyPosition", soul)
  1087. BodPoss.P = 3000
  1088. BodPoss.D = 1000
  1089. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1090. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1091. wait(1.6)
  1092. soul.Touched:connect(function(hit)
  1093. if hit.Parent == char then
  1094. soul:Destroy()
  1095. end
  1096. end)
  1097. wait(1.2)
  1098. while soul do
  1099. swait()
  1100. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1101. BodPoss.Position = tors.Position
  1102. end
  1103. end)
  1104. soulst()
  1105. end
  1106. end
  1107. function FaceMouse()
  1108. local Cam = workspace.CurrentCamera
  1109. return {
  1110. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1111. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1112. }
  1113. end
  1114. Effects = {
  1115. Block = function(cf,partsize,meshstart,meshadd,matr,colour,spin,inverse,factor)
  1116. local p = Instance.new("Part",EffectModel)
  1117. p.BrickColor = BrickColor.new(colour)
  1118. p.Size = partsize
  1119. p.Anchored = true
  1120. p.CanCollide = false
  1121. p.Material = matr
  1122. p.CFrame = cf
  1123. if inverse == true then
  1124. p.Transparency = 1
  1125. else
  1126. p.Transparency = 0
  1127. end
  1128. local m = Instance.new("BlockMesh",p)
  1129. m.Scale = meshstart
  1130. coroutine.wrap(function()
  1131. for i = 0, 1, factor do
  1132. swait()
  1133. if inverse == true then
  1134. p.Transparency = 1-i
  1135. else
  1136. p.Transparency = i
  1137. end
  1138. m.Scale = m.Scale + meshadd
  1139. if spin == true then
  1140. p.CFrame = p.CFrame * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1141. end
  1142. end
  1143. p:Destroy()
  1144. end)()
  1145. return p
  1146. end,
  1147. Sphere = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
  1148. local p = Instance.new("Part",EffectModel)
  1149. p.BrickColor = BrickColor.new(colour)
  1150. p.Size = partsize
  1151. p.Anchored = true
  1152. p.CanCollide = false
  1153. p.Material = matr
  1154. p.CFrame = cf
  1155. if inverse == true then
  1156. p.Transparency = 1
  1157. else
  1158. p.Transparency = 0
  1159. end
  1160. local m = Instance.new("SpecialMesh",p)
  1161. m.MeshType = "Sphere"
  1162. m.Scale = meshstart
  1163. coroutine.wrap(function()
  1164. for i=0,1,factor do
  1165. swait()
  1166. if inverse == true then
  1167. p.Transparency = 1-i
  1168. else
  1169. p.Transparency = i
  1170. end
  1171. m.Scale = m.Scale + meshadd
  1172. end
  1173. p:Destroy()
  1174. end)()
  1175. return p
  1176. end,
  1177.  
  1178. Cylinder = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
  1179. local p = Instance.new("Part",EffectModel)
  1180. p.BrickColor = BrickColor.new(colour)
  1181. p.Size = partsize
  1182. p.Anchored = true
  1183. p.CanCollide = false
  1184. p.Material = matr
  1185. p.CFrame = cf
  1186. if inverse == true then
  1187. p.Transparency = 1
  1188. else
  1189. p.Transparency = 0
  1190. end
  1191. local m = Instance.new("CylinderMesh",p)
  1192. m.Scale = meshstart
  1193. coroutine.wrap(function()
  1194. for i=0,1,factor do
  1195. swait()
  1196. if inverse == true then
  1197. p.Transparency = 1-i
  1198. else
  1199. p.Transparency = i
  1200. end
  1201. m.Scale = m.Scale + meshadd
  1202. end
  1203. p:Destroy()
  1204. end)()
  1205. return p
  1206. end,
  1207.  
  1208. Wave = function(cf,meshstart,meshadd,colour,spin,inverse,factor)
  1209. local p = Instance.new("Part",EffectModel)
  1210. p.BrickColor = BrickColor.new(colour)
  1211. p.Size = Vector3.new()
  1212. p.Anchored = true
  1213. p.CanCollide = false
  1214. p.CFrame = cf
  1215. if inverse == true then
  1216. p.Transparency = 1
  1217. else
  1218. p.Transparency = 0
  1219. end
  1220. local m = Instance.new("SpecialMesh",p)
  1221. m.MeshId = "rbxassetid://20329976"
  1222. m.Scale = meshstart
  1223. coroutine.wrap(function()
  1224. for i=0,1,factor do
  1225. swait()
  1226. if inverse == true then
  1227. p.Transparency = 1-i
  1228. else
  1229. p.Transparency = i
  1230. end
  1231. m.Scale = m.Scale + meshadd
  1232. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
  1233. end
  1234. p:Destroy()
  1235. end)()
  1236. return p
  1237. end,
  1238.  
  1239. Ring = function(cf,meshstart,meshadd,colour,inverse,factor)
  1240. local p = Instance.new("Part",EffectModel)
  1241. p.BrickColor = BrickColor.new(colour)
  1242. p.Size = Vector3.new()
  1243. p.Anchored = true
  1244. p.CanCollide = false
  1245. p.CFrame = cf
  1246. if inverse == true then
  1247. p.Transparency = 1
  1248. else
  1249. p.Transparency = 0
  1250. end
  1251. local m = Instance.new("SpecialMesh",p)
  1252. m.MeshId = "rbxassetid://3270017"
  1253. m.Scale = meshstart
  1254. coroutine.wrap(function()
  1255. for i=0,1,factor do
  1256. swait()
  1257. if inverse == true then
  1258. p.Transparency = 1-i
  1259. else
  1260. p.Transparency = i
  1261. end
  1262. m.Scale = m.Scale + meshadd
  1263. end
  1264. p:Destroy()
  1265. end)()
  1266. return p
  1267. end,
  1268.  
  1269. Meshed = function(cf,meshstart,meshadd,colour,meshid,textid,spin,inverse,factor)
  1270. local p = Instance.new("Part",EffectModel)
  1271. p.BrickColor = BrickColor.new(colour)
  1272. p.Size = Vector3.new()
  1273. p.Anchored = true
  1274. p.CanCollide = false
  1275. p.CFrame = cf
  1276. if inverse == true then
  1277. p.Transparency = 1
  1278. else
  1279. p.Transparency = 0
  1280. end
  1281. local m = Instance.new("SpecialMesh",p)
  1282. m.MeshId = meshid
  1283. m.TextureId = textid
  1284. m.Scale = meshstart
  1285. coroutine.wrap(function()
  1286. for i=0,1,factor do
  1287. swait()
  1288. if inverse == true then
  1289. p.Transparency = 1-i
  1290. else
  1291. p.Transparency = i
  1292. end
  1293. m.Scale = m.Scale + meshadd
  1294. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
  1295. end
  1296. p:Destroy()
  1297. end)()
  1298. return p
  1299. end,
  1300.  
  1301. Explode = function(cf,partsize,meshstart,meshadd,matr,colour,move,inverse,factor)
  1302. local p = Instance.new("Part",EffectModel)
  1303. p.BrickColor = BrickColor.new(colour)
  1304. p.Size = partsize
  1305. p.Anchored = true
  1306. p.CanCollide = false
  1307. p.Material = matr
  1308. p.CFrame = cf * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  1309. if inverse == true then
  1310. p.Transparency = 1
  1311. else
  1312. p.Transparency = 0
  1313. end
  1314. local m = Instance.new("SpecialMesh",p)
  1315. m.MeshType = "Sphere"
  1316. m.Scale = meshstart
  1317. coroutine.wrap(function()
  1318. for i=0,1,factor do
  1319. swait()
  1320. if inverse == true then
  1321. p.Transparency = 1-i
  1322. else
  1323. p.Transparency = i
  1324. end
  1325. m.Scale = m.Scale + meshadd
  1326. p.CFrame = p.CFrame * CFrame.new(0,move,0)
  1327. end
  1328. p:Destroy()
  1329. end)()
  1330. return p
  1331. end,
  1332.  
  1333. }
  1334. -------------------------------------------------------
  1335. --End Effect Function--
  1336. -------------------------------------------------------
  1337. function Cso(ID, PARENT, VOLUME, PITCH)
  1338. local NSound = nil
  1339. coroutine.resume(coroutine.create(function()
  1340. NSound = IT("Sound", PARENT)
  1341. NSound.Volume = VOLUME
  1342. NSound.Pitch = PITCH
  1343. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1344. swait()
  1345. NSound:play()
  1346. game:GetService("Debris"):AddItem(NSound, 10)
  1347. end))
  1348. return NSound
  1349. end
  1350. function CamShake(Length, Intensity)
  1351. coroutine.resume(coroutine.create(function()
  1352. local intensity = 1 * Intensity
  1353. local rotM = 0.01 * Intensity
  1354. for i = 0, Length, 0.1 do
  1355. swait()
  1356. intensity = intensity - 0.05 * Intensity / Length
  1357. rotM = rotM - 5.0E-4 * Intensity / Length
  1358. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1359. 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)
  1360. end
  1361. hum.CameraOffset = Vector3.new(0, 0, 0)
  1362. end))
  1363. end
  1364. NewInstance = function(instance,parent,properties)
  1365. local inst = Instance.new(instance)
  1366. inst.Parent = parent
  1367. if(properties)then
  1368. for i,v in next, properties do
  1369. pcall(function() inst[i] = v end)
  1370. end
  1371. end
  1372. return inst;
  1373. end
  1374. function New(Object, Parent, Name, Data)
  1375. local Object = Instance.new(Object)
  1376. for Index, Value in pairs(Data or {}) do
  1377. Object[Index] = Value
  1378. end
  1379. Object.Parent = Parent
  1380. Object.Name = Name
  1381. return Object
  1382. end
  1383. Uzi = New("Model", char, "Uzi", {})
  1384. Handle = New("Part", Uzi, "Handle", {
  1385. BrickColor = BrickColor.new("Black"),
  1386. Transparency = 1,
  1387. Transparency = 1,
  1388. FormFactor = Enum.FormFactor.Custom,
  1389. Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
  1390. 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),
  1391. CanCollide = false,
  1392. BottomSurface = Enum.SurfaceType.Smooth,
  1393. TopSurface = Enum.SurfaceType.Smooth,
  1394. Color = Color3.new(0.105882, 0.164706, 0.207843)
  1395. })
  1396. Port = New("Part", Uzi, "Port", {
  1397. BrickColor = BrickColor.new("Dark stone grey"),
  1398. Material = Enum.Material.SmoothPlastic,
  1399. Transparency = 1,
  1400. Transparency = 1,
  1401. FormFactor = Enum.FormFactor.Custom,
  1402. Size = Vector3.new(0.303939581, 0.303939581, 0.514359295),
  1403. 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),
  1404. CanCollide = false,
  1405. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  1406. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  1407. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  1408. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  1409. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  1410. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  1411. Color = Color3.new(0.388235, 0.372549, 0.384314)
  1412. })
  1413. Mesh = New("BlockMesh", Port, "Mesh", {
  1414. Scale = Vector3.new(0.0769230723, 0.538461506, 1)
  1415. })
  1416. mot = New("Motor", Port, "mot", {
  1417. Part0 = Port,
  1418. Part1 = Handle,
  1419. 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),
  1420. 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)
  1421. })
  1422. Mag2 = New("Part", Uzi, "Mag2", {
  1423. BrickColor = BrickColor.new("Dark stone grey"),
  1424. Elasticity = 0,
  1425. FormFactor = Enum.FormFactor.Custom,
  1426. Size = Vector3.new(0.303939581, 0.969711781, 0.303939581),
  1427. 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),
  1428. CanCollide = false,
  1429. BottomSurface = Enum.SurfaceType.Smooth,
  1430. TopSurface = Enum.SurfaceType.Smooth,
  1431. Color = Color3.new(0.388235, 0.372549, 0.384314)
  1432. })
  1433. Mesh = New("BlockMesh", Mag2, "Mesh", {
  1434. Scale = Vector3.new(0.809523821, 1, 0.714285731)
  1435. })
  1436. mot = New("Motor", Mag2, "mot", {
  1437. Part0 = Mag2,
  1438. Part1 = Handle,
  1439. 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),
  1440. 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)
  1441. })
  1442. Part = New("Part", Uzi, "Part", {
  1443. BrickColor = BrickColor.new("Black"),
  1444. Elasticity = 0,
  1445. FormFactor = Enum.FormFactor.Symmetric,
  1446. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  1447. 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),
  1448. CanCollide = false,
  1449. BottomSurface = Enum.SurfaceType.Smooth,
  1450. TopSurface = Enum.SurfaceType.Smooth,
  1451. Color = Color3.new(0.105882, 0.164706, 0.207843)
  1452. })
  1453. Mesh = New("BlockMesh", Part, "Mesh", {
  1454. Scale = Vector3.new(0.0476190485, 0.380952388, 0.190476194)
  1455. })
  1456. mot = New("Motor", Part, "mot", {
  1457. Part0 = Part,
  1458. Part1 = Handle,
  1459. 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),
  1460. 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)
  1461. })
  1462. AimPart = New("Part", Uzi, "AimPart", {
  1463. BrickColor = BrickColor.new("Black"),
  1464. Transparency = 1,
  1465. Transparency = 1,
  1466. FormFactor = Enum.FormFactor.Custom,
  1467. Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
  1468. 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),
  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. mot = New("Motor", AimPart, "mot", {
  1475. Part0 = AimPart,
  1476. Part1 = Handle,
  1477. 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),
  1478. 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)
  1479. })
  1480. Hole = New("Part", Uzi, "Hole", {
  1481. BrickColor = BrickColor.new("Really black"),
  1482. Elasticity = 0,
  1483. FormFactor = Enum.FormFactor.Custom,
  1484. Size = Vector3.new(0.607879162, 0.607879221, 1.51969779),
  1485. 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),
  1486. CanCollide = false,
  1487. BottomSurface = Enum.SurfaceType.Smooth,
  1488. TopSurface = Enum.SurfaceType.Smooth,
  1489. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1490. })
  1491. Mesh = New("BlockMesh", Hole, "Mesh", {
  1492. Scale = Vector3.new(0.238095239, 1.19047618, 0.0476190485)
  1493. })
  1494. mot = New("Motor", Hole, "mot", {
  1495. Part0 = Hole,
  1496. Part1 = Handle,
  1497. 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),
  1498. 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)
  1499. })
  1500. NoSight = New("Part", Uzi, "NoSight", {
  1501. BrickColor = BrickColor.new("Black"),
  1502. Elasticity = 0,
  1503. FormFactor = Enum.FormFactor.Custom,
  1504. Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
  1505. 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),
  1506. CanCollide = false,
  1507. BottomSurface = Enum.SurfaceType.Smooth,
  1508. TopSurface = Enum.SurfaceType.Smooth,
  1509. Color = Color3.new(0.105882, 0.164706, 0.207843)
  1510. })
  1511. Mesh = New("SpecialMesh", NoSight, "Mesh", {
  1512. Scale = Vector3.new(0.333333343, 0.142857149, 0.095238097),
  1513. MeshType = Enum.MeshType.Wedge
  1514. })
  1515. mot = New("Motor", NoSight, "mot", {
  1516. Part0 = NoSight,
  1517. Part1 = Handle,
  1518. 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),
  1519. 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)
  1520. })
  1521. NoSight = New("Part", Uzi, "NoSight", {
  1522. BrickColor = BrickColor.new("Black"),
  1523. Elasticity = 0,
  1524. FormFactor = Enum.FormFactor.Custom,
  1525. Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
  1526. 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),
  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.380952358, 0.190476194, 0.333333343),
  1534. MeshType = Enum.MeshType.Torso
  1535. })
  1536. mot = New("Motor", NoSight, "mot", {
  1537. Part0 = NoSight,
  1538. Part1 = Handle,
  1539. 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),
  1540. 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)
  1541. })
  1542. NoSight = New("Part", Uzi, "NoSight", {
  1543. BrickColor = BrickColor.new("White"),
  1544. Transparency = 1,
  1545. Transparency = 1,
  1546. Elasticity = 0,
  1547. FormFactor = Enum.FormFactor.Custom,
  1548. Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
  1549. 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),
  1550. CanCollide = false,
  1551. BottomSurface = Enum.SurfaceType.Smooth,
  1552. TopSurface = Enum.SurfaceType.Smooth,
  1553. Color = Color3.new(0.94902, 0.952941, 0.952941)
  1554. })
  1555. lenspart = New("IntValue", NoSight, "lenspart", {})
  1556. Mesh = New("BlockMesh", NoSight, "Mesh", {
  1557. Scale = Vector3.new(0.095238097, 0.0476190485, 0.0476190485)
  1558. })
  1559. mot = New("Motor", NoSight, "mot", {
  1560. Part0 = NoSight,
  1561. Part1 = Handle,
  1562. 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),
  1563. 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)
  1564. })
  1565. NoSight = New("Part", Uzi, "NoSight", {
  1566. BrickColor = BrickColor.new("Black"),
  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.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),
  1571. CanCollide = false,
  1572. BottomSurface = Enum.SurfaceType.Smooth,
  1573. TopSurface = Enum.SurfaceType.Smooth,
  1574. Color = Color3.new(0.105882, 0.164706, 0.207843)
  1575. })
  1576. Mesh = New("BlockMesh", NoSight, "Mesh", {
  1577. Scale = Vector3.new(0.285714269, 0.476190478, 0.095238097)
  1578. })
  1579. mot = New("Motor", NoSight, "mot", {
  1580. Part0 = NoSight,
  1581. Part1 = Handle,
  1582. 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),
  1583. 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)
  1584. })
  1585. NoSight = New("Part", Uzi, "NoSight", {
  1586. BrickColor = BrickColor.new("Black"),
  1587. Elasticity = 0,
  1588. FormFactor = Enum.FormFactor.Custom,
  1589. Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
  1590. 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),
  1591. CanCollide = false,
  1592. BottomSurface = Enum.SurfaceType.Smooth,
  1593. TopSurface = Enum.SurfaceType.Smooth,
  1594. Color = Color3.new(0.105882, 0.164706, 0.207843)
  1595. })
  1596. Mesh = New("SpecialMesh", NoSight, "Mesh", {
  1597. Scale = Vector3.new(0.333333343, 0.142857149, 0.095238097),
  1598. MeshType = Enum.MeshType.Wedge
  1599. })
  1600. mot = New("Motor", NoSight, "mot", {
  1601. Part0 = NoSight,
  1602. Part1 = Handle,
  1603. 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),
  1604. 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)
  1605. })
  1606. NoSight = New("Part", Uzi, "NoSight", {
  1607. BrickColor = BrickColor.new("Black"),
  1608. Elasticity = 0,
  1609. FormFactor = Enum.FormFactor.Custom,
  1610. Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
  1611. 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),
  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.0868398845, 0.0868398845, 0.0868398845),
  1619. MeshId = "http://www.roblox.com/asset/?id=3270017",
  1620. MeshType = Enum.MeshType.FileMesh
  1621. })
  1622. mot = New("Motor", NoSight, "mot", {
  1623. Part0 = NoSight,
  1624. Part1 = Handle,
  1625. 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),
  1626. 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)
  1627. })
  1628. NoSight = New("Part", Uzi, "NoSight", {
  1629. BrickColor = BrickColor.new("Black"),
  1630. Elasticity = 0,
  1631. FormFactor = Enum.FormFactor.Plate,
  1632. Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),
  1633. 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),
  1634. CanCollide = false,
  1635. BottomSurface = Enum.SurfaceType.Smooth,
  1636. TopSurface = Enum.SurfaceType.Smooth,
  1637. Color = Color3.new(0.105882, 0.164706, 0.207843)
  1638. })
  1639. Mesh = New("CylinderMesh", NoSight, "Mesh", {
  1640. Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194)
  1641. })
  1642. mot = New("Motor", NoSight, "mot", {
  1643. Part0 = NoSight,
  1644. Part1 = Handle,
  1645. 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),
  1646. 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)
  1647. })
  1648. NoSight = New("Part", Uzi, "NoSight", {
  1649. BrickColor = BrickColor.new("Black"),
  1650. Elasticity = 0,
  1651. FormFactor = Enum.FormFactor.Plate,
  1652. Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),
  1653. 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),
  1654. CanCollide = false,
  1655. BottomSurface = Enum.SurfaceType.Smooth,
  1656. TopSurface = Enum.SurfaceType.Smooth,
  1657. Color = Color3.new(0.105882, 0.164706, 0.207843)
  1658. })
  1659. Mesh = New("CylinderMesh", NoSight, "Mesh", {
  1660. Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194)
  1661. })
  1662. mot = New("Motor", NoSight, "mot", {
  1663. Part0 = NoSight,
  1664. Part1 = Handle,
  1665. 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),
  1666. 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)
  1667. })
  1668. Part = New("Part", Uzi, "Part", {
  1669. BrickColor = BrickColor.new("Black"),
  1670. Elasticity = 0,
  1671. FormFactor = Enum.FormFactor.Symmetric,
  1672. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  1673. 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),
  1674. CanCollide = false,
  1675. BottomSurface = Enum.SurfaceType.Smooth,
  1676. TopSurface = Enum.SurfaceType.Smooth,
  1677. Color = Color3.new(0.105882, 0.164706, 0.207843)
  1678. })
  1679. Mesh = New("BlockMesh", Part, "Mesh", {
  1680. Scale = Vector3.new(0.571428597, 0.095238097, 0.190476194)
  1681. })
  1682. mot = New("Motor", Part, "mot", {
  1683. Part0 = Part,
  1684. Part1 = Handle,
  1685. 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),
  1686. 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)
  1687. })
  1688. Part = New("Part", Uzi, "Part", {
  1689. BrickColor = BrickColor.new("Black"),
  1690. Elasticity = 0,
  1691. FormFactor = Enum.FormFactor.Symmetric,
  1692. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  1693. 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),
  1694. CanCollide = false,
  1695. BottomSurface = Enum.SurfaceType.Smooth,
  1696. TopSurface = Enum.SurfaceType.Smooth,
  1697. Color = Color3.new(0.105882, 0.164706, 0.207843)
  1698. })
  1699. Mesh = New("SpecialMesh", Part, "Mesh", {
  1700. Scale = Vector3.new(0.190476194, 0.380952388, 0.0476190485),
  1701. MeshType = Enum.MeshType.Wedge
  1702. })
  1703. mot = New("Motor", Part, "mot", {
  1704. Part0 = Part,
  1705. Part1 = Handle,
  1706. 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),
  1707. 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)
  1708. })
  1709. Part = New("Part", Uzi, "Part", {
  1710. BrickColor = BrickColor.new("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, 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),
  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("CylinderMesh", Part, "Mesh", {
  1721. Scale = Vector3.new(0.095238097, 0.285714298, 0.095238097)
  1722. })
  1723. mot = New("Motor", Part, "mot", {
  1724. Part0 = Part,
  1725. Part1 = Handle,
  1726. 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),
  1727. 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)
  1728. })
  1729. A1 = New("Part", Uzi, "A1", {
  1730. BrickColor = BrickColor.new("Black"),
  1731. Elasticity = 0,
  1732. FormFactor = Enum.FormFactor.Custom,
  1733. Size = Vector3.new(0.623076081, 0.729454994, 1.51969779),
  1734. 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),
  1735. CanCollide = false,
  1736. BottomSurface = Enum.SurfaceType.Smooth,
  1737. TopSurface = Enum.SurfaceType.Smooth,
  1738. Color = Color3.new(0.105882, 0.164706, 0.207843)
  1739. })
  1740. Mesh = New("BlockMesh", A1, "Mesh", {
  1741. Scale = Vector3.new(0.238000005, 1, 0.0480000004)
  1742. })
  1743. mot = New("Motor", A1, "mot", {
  1744. Part0 = A1,
  1745. Part1 = Handle,
  1746. 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),
  1747. 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)
  1748. })
  1749. Cylinder1 = New("Part", Uzi, "Cylinder", {
  1750. BrickColor = BrickColor.new("Really black"),
  1751. Elasticity = 0,
  1752. FormFactor = Enum.FormFactor.Plate,
  1753. Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),
  1754. 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),
  1755. CanCollide = false,
  1756. BottomSurface = Enum.SurfaceType.Smooth,
  1757. TopSurface = Enum.SurfaceType.Smooth,
  1758. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1759. })
  1760. Mesh = New("CylinderMesh", Cylinder1, "Mesh", {
  1761. Offset = Vector3.new(0, -0.0185714271, 0),
  1762. Scale = Vector3.new(0.0666666627, 0.0476190485, 0.0666666627)
  1763. })
  1764. mot = New("Motor", Cylinder1, "mot", {
  1765. Part0 = Cylinder1,
  1766. Part1 = Handle,
  1767. 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),
  1768. 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)
  1769. })
  1770. Mag1 = New("Part", Uzi, "Mag1", {
  1771. BrickColor = BrickColor.new("Dark stone grey"),
  1772. Elasticity = 0,
  1773. FormFactor = Enum.FormFactor.Custom,
  1774. Size = Vector3.new(0.303939581, 0.723665655, 0.303939581),
  1775. 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),
  1776. CanCollide = false,
  1777. BottomSurface = Enum.SurfaceType.Smooth,
  1778. TopSurface = Enum.SurfaceType.Smooth,
  1779. Color = Color3.new(0.388235, 0.372549, 0.384314)
  1780. })
  1781. Mesh = New("BlockMesh", Mag1, "Mesh", {
  1782. Scale = Vector3.new(0.809523821, 1, 0.714285731)
  1783. })
  1784. mot = New("Motor", Mag1, "mot", {
  1785. Part0 = Mag1,
  1786. Part1 = Handle,
  1787. 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),
  1788. 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)
  1789. })
  1790. Part = New("Part", Uzi, "Part", {
  1791. BrickColor = BrickColor.new("Black"),
  1792. Elasticity = 0,
  1793. FormFactor = Enum.FormFactor.Symmetric,
  1794. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  1795. 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),
  1796. CanCollide = false,
  1797. BottomSurface = Enum.SurfaceType.Smooth,
  1798. TopSurface = Enum.SurfaceType.Smooth,
  1799. Color = Color3.new(0.105882, 0.164706, 0.207843)
  1800. })
  1801. Mesh = New("BlockMesh", Part, "Mesh", {
  1802. Scale = Vector3.new(0.095238097, 0.523809552, 0.238095239)
  1803. })
  1804. Weld = New("ManualWeld", Part, "Weld", {
  1805. Part0 = Part,
  1806. Part1 = Port,
  1807. C0 = CFrame.new(-0.759848893, 0.759848893, 0.759848893, -1, 0, 0, 0, 0, 1, 0, 1, 0),
  1808. 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)
  1809. })
  1810. mot = New("Motor", Part, "mot", {
  1811. Part0 = Part,
  1812. Part1 = Handle,
  1813. 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),
  1814. 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)
  1815. })
  1816. Part = New("Part", Uzi, "Part", {
  1817. BrickColor = BrickColor.new("Black"),
  1818. Elasticity = 0,
  1819. FormFactor = Enum.FormFactor.Symmetric,
  1820. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  1821. 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),
  1822. CanCollide = false,
  1823. BottomSurface = Enum.SurfaceType.Smooth,
  1824. TopSurface = Enum.SurfaceType.Smooth,
  1825. Color = Color3.new(0.105882, 0.164706, 0.207843)
  1826. })
  1827. Mesh = New("BlockMesh", Part, "Mesh", {
  1828. Scale = Vector3.new(0.238095239, 1.47619045, 0.190476194)
  1829. })
  1830. mot = New("Motor", Part, "mot", {
  1831. Part0 = Part,
  1832. Part1 = Handle,
  1833. 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),
  1834. 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)
  1835. })
  1836. Part = New("Part", Uzi, "Part", {
  1837. BrickColor = BrickColor.new("Black"),
  1838. Elasticity = 0,
  1839. FormFactor = Enum.FormFactor.Symmetric,
  1840. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  1841. 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),
  1842. CanCollide = false,
  1843. BottomSurface = Enum.SurfaceType.Smooth,
  1844. TopSurface = Enum.SurfaceType.Smooth,
  1845. Color = Color3.new(0.105882, 0.164706, 0.207843)
  1846. })
  1847. Mesh = New("CylinderMesh", Part, "Mesh", {
  1848. Scale = Vector3.new(0.285714298, 0.523809552, 0.238095239)
  1849. })
  1850. Weld = New("ManualWeld", Part, "Weld", {
  1851. Part0 = Part,
  1852. Part1 = Port,
  1853. C0 = CFrame.new(-0.759848893, 0.759848893, 0.759848893, -1, 0, 0, 0, 0, 1, 0, 1, 0),
  1854. 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)
  1855. })
  1856. mot = New("Motor", Part, "mot", {
  1857. Part0 = Part,
  1858. Part1 = Handle,
  1859. 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),
  1860. 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)
  1861. })
  1862. Part = New("Part", Uzi, "Part", {
  1863. BrickColor = BrickColor.new("Black"),
  1864. Elasticity = 0,
  1865. FormFactor = Enum.FormFactor.Symmetric,
  1866. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  1867. 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),
  1868. CanCollide = false,
  1869. BottomSurface = Enum.SurfaceType.Smooth,
  1870. TopSurface = Enum.SurfaceType.Smooth,
  1871. Color = Color3.new(0.105882, 0.164706, 0.207843)
  1872. })
  1873. Mesh = New("BlockMesh", Part, "Mesh", {
  1874. Scale = Vector3.new(0.238095239, 0.476190478, 0.190476194)
  1875. })
  1876. mot = New("Motor", Part, "mot", {
  1877. Part0 = Part,
  1878. Part1 = Handle,
  1879. 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),
  1880. 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)
  1881. })
  1882. Part = New("Part", Uzi, "Part", {
  1883. BrickColor = BrickColor.new("Black"),
  1884. Elasticity = 0,
  1885. FormFactor = Enum.FormFactor.Symmetric,
  1886. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  1887. 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),
  1888. CanCollide = false,
  1889. BottomSurface = Enum.SurfaceType.Smooth,
  1890. TopSurface = Enum.SurfaceType.Smooth,
  1891. Color = Color3.new(0.105882, 0.164706, 0.207843)
  1892. })
  1893. Mesh = New("BlockMesh", Part, "Mesh", {
  1894. Scale = Vector3.new(0.0476190485, 0.142857149, 0.190476194)
  1895. })
  1896. mot = New("Motor", Part, "mot", {
  1897. Part0 = Part,
  1898. Part1 = Handle,
  1899. 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),
  1900. 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)
  1901. })
  1902. Part = New("Part", Uzi, "Part", {
  1903. BrickColor = BrickColor.new("Black"),
  1904. Elasticity = 0,
  1905. FormFactor = Enum.FormFactor.Symmetric,
  1906. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  1907. 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),
  1908. CanCollide = false,
  1909. BottomSurface = Enum.SurfaceType.Smooth,
  1910. TopSurface = Enum.SurfaceType.Smooth,
  1911. Color = Color3.new(0.105882, 0.164706, 0.207843)
  1912. })
  1913. Mesh = New("BlockMesh", Part, "Mesh", {
  1914. Scale = Vector3.new(0.095238097, 0.476190478, 0.190476194)
  1915. })
  1916. mot = New("Motor", Part, "mot", {
  1917. Part0 = Part,
  1918. Part1 = Handle,
  1919. 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),
  1920. 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)
  1921. })
  1922. Part = New("Part", Uzi, "Part", {
  1923. BrickColor = BrickColor.new("Black"),
  1924. Elasticity = 0,
  1925. FormFactor = Enum.FormFactor.Symmetric,
  1926. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  1927. 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),
  1928. CanCollide = false,
  1929. BottomSurface = Enum.SurfaceType.Smooth,
  1930. TopSurface = Enum.SurfaceType.Smooth,
  1931. Color = Color3.new(0.105882, 0.164706, 0.207843)
  1932. })
  1933. Mesh = New("BlockMesh", Part, "Mesh", {
  1934. Scale = Vector3.new(0.0476190485, 0.428571433, 0.095238097)
  1935. })
  1936. mot = New("Motor", Part, "mot", {
  1937. Part0 = Part,
  1938. Part1 = Handle,
  1939. 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),
  1940. 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)
  1941. })
  1942. Part = New("Part", Uzi, "Part", {
  1943. BrickColor = BrickColor.new("Black"),
  1944. Elasticity = 0,
  1945. FormFactor = Enum.FormFactor.Symmetric,
  1946. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  1947. 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),
  1948. CanCollide = false,
  1949. BottomSurface = Enum.SurfaceType.Smooth,
  1950. TopSurface = Enum.SurfaceType.Smooth,
  1951. Color = Color3.new(0.105882, 0.164706, 0.207843)
  1952. })
  1953. Mesh = New("CylinderMesh", Part, "Mesh", {
  1954. Scale = Vector3.new(0.190476194, 0.190476194, 0.190476194)
  1955. })
  1956. mot = New("Motor", Part, "mot", {
  1957. Part0 = Part,
  1958. Part1 = Handle,
  1959. 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),
  1960. 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)
  1961. })
  1962. Part = New("Part", Uzi, "Part", {
  1963. BrickColor = BrickColor.new("Black"),
  1964. Elasticity = 0,
  1965. FormFactor = Enum.FormFactor.Symmetric,
  1966. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  1967. 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),
  1968. CanCollide = false,
  1969. BottomSurface = Enum.SurfaceType.Smooth,
  1970. TopSurface = Enum.SurfaceType.Smooth,
  1971. Color = Color3.new(0.105882, 0.164706, 0.207843)
  1972. })
  1973. Mesh = New("SpecialMesh", Part, "Mesh", {
  1974. Scale = Vector3.new(0.190476194, 0.0476190485, 0.333333343),
  1975. MeshType = Enum.MeshType.Wedge
  1976. })
  1977. mot = New("Motor", Part, "mot", {
  1978. Part0 = Part,
  1979. Part1 = Handle,
  1980. 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),
  1981. 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)
  1982. })
  1983. Part = New("Part", Uzi, "Part", {
  1984. BrickColor = BrickColor.new("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.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),
  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.095238097),
  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, 1, 4.07793239E-4, 7.61587726E-5, 7.62013078E-5, -1.04268453E-4, -1, -4.07785323E-4, 0.99999994, -1.04299521E-4),
  2002. 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)
  2003. })
  2004. Part = New("Part", Uzi, "Part", {
  2005. BrickColor = BrickColor.new("Black"),
  2006. Elasticity = 0,
  2007. FormFactor = Enum.FormFactor.Symmetric,
  2008. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  2009. 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),
  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("CylinderMesh", Part, "Mesh", {
  2016. Scale = Vector3.new(0.142857149, 0.095238097, 0.142857149)
  2017. })
  2018. mot = New("Motor", Part, "mot", {
  2019. Part0 = Part,
  2020. Part1 = Handle,
  2021. 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),
  2022. 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)
  2023. })
  2024. Block = New("Part", Uzi, "Block", {
  2025. BrickColor = BrickColor.new("Black"),
  2026. Elasticity = 0,
  2027. FormFactor = Enum.FormFactor.Plate,
  2028. Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),
  2029. 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),
  2030. CanCollide = false,
  2031. BottomSurface = Enum.SurfaceType.Smooth,
  2032. TopSurface = Enum.SurfaceType.Smooth,
  2033. Color = Color3.new(0.105882, 0.164706, 0.207843)
  2034. })
  2035. Mesh = New("BlockMesh", Block, "Mesh", {
  2036. Scale = Vector3.new(0.142857149, 0.0952381045, 0.0476190485)
  2037. })
  2038. mot = New("Motor", Block, "mot", {
  2039. Part0 = Block,
  2040. Part1 = Handle,
  2041. 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),
  2042. 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)
  2043. })
  2044. NoSight = New("Part", Uzi, "NoSight", {
  2045. BrickColor = BrickColor.new("Black"),
  2046. Elasticity = 0,
  2047. FormFactor = Enum.FormFactor.Plate,
  2048. Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),
  2049. 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),
  2050. CanCollide = false,
  2051. BottomSurface = Enum.SurfaceType.Smooth,
  2052. TopSurface = Enum.SurfaceType.Smooth,
  2053. Color = Color3.new(0.105882, 0.164706, 0.207843)
  2054. })
  2055. Mesh = New("CylinderMesh", NoSight, "Mesh", {
  2056. Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194)
  2057. })
  2058. mot = New("Motor", NoSight, "mot", {
  2059. Part0 = NoSight,
  2060. Part1 = Handle,
  2061. 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),
  2062. 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)
  2063. })
  2064. NoSight = New("Part", Uzi, "NoSight", {
  2065. BrickColor = BrickColor.new("Black"),
  2066. Elasticity = 0,
  2067. FormFactor = Enum.FormFactor.Custom,
  2068. Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
  2069. 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),
  2070. CanCollide = false,
  2071. BottomSurface = Enum.SurfaceType.Smooth,
  2072. TopSurface = Enum.SurfaceType.Smooth,
  2073. Color = Color3.new(0.105882, 0.164706, 0.207843)
  2074. })
  2075. Mesh = New("SpecialMesh", NoSight, "Mesh", {
  2076. Scale = Vector3.new(0.333333224, 0.0476190485, 0.142857105),
  2077. MeshType = Enum.MeshType.Wedge
  2078. })
  2079. mot = New("Motor", NoSight, "mot", {
  2080. Part0 = NoSight,
  2081. Part1 = Handle,
  2082. 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),
  2083. 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)
  2084. })
  2085. Ring = New("Part", Uzi, "Ring", {
  2086. BrickColor = BrickColor.new("Black"),
  2087. Elasticity = 0,
  2088. FormFactor = Enum.FormFactor.Symmetric,
  2089. Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
  2090. 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),
  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", Ring, "Mesh", {
  2097. Scale = Vector3.new(0.434199393, 0.361832827, 0.361832827),
  2098. MeshId = "http://www.roblox.com/asset/?id=3270017",
  2099. MeshType = Enum.MeshType.FileMesh
  2100. })
  2101. mot = New("Motor", Ring, "mot", {
  2102. Part0 = Ring,
  2103. Part1 = Handle,
  2104. 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),
  2105. 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)
  2106. })
  2107. NoSight = New("Part", Uzi, "NoSight", {
  2108. BrickColor = BrickColor.new("Black"),
  2109. Elasticity = 0,
  2110. FormFactor = Enum.FormFactor.Custom,
  2111. Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
  2112. 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),
  2113. CanCollide = false,
  2114. BottomSurface = Enum.SurfaceType.Smooth,
  2115. TopSurface = Enum.SurfaceType.Smooth,
  2116. Color = Color3.new(0.105882, 0.164706, 0.207843)
  2117. })
  2118. Mesh = New("SpecialMesh", NoSight, "Mesh", {
  2119. Scale = Vector3.new(0.333333224, 0.0476190485, 0.142857105),
  2120. MeshType = Enum.MeshType.Wedge
  2121. })
  2122. mot = New("Motor", NoSight, "mot", {
  2123. Part0 = NoSight,
  2124. Part1 = Handle,
  2125. 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),
  2126. 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)
  2127. })
  2128. NoSight = New("Part", Uzi, "NoSight", {
  2129. BrickColor = BrickColor.new("Black"),
  2130. Elasticity = 0,
  2131. FormFactor = Enum.FormFactor.Plate,
  2132. Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),
  2133. 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),
  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("CylinderMesh", NoSight, "Mesh", {
  2140. Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194)
  2141. })
  2142. mot = New("Motor", NoSight, "mot", {
  2143. Part0 = NoSight,
  2144. Part1 = Handle,
  2145. 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),
  2146. 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)
  2147. })
  2148. NoSight = New("Part", Uzi, "NoSight", {
  2149. BrickColor = BrickColor.new("Black"),
  2150. Elasticity = 0,
  2151. FormFactor = Enum.FormFactor.Custom,
  2152. Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
  2153. 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),
  2154. CanCollide = false,
  2155. BottomSurface = Enum.SurfaceType.Smooth,
  2156. TopSurface = Enum.SurfaceType.Smooth,
  2157. Color = Color3.new(0.105882, 0.164706, 0.207843)
  2158. })
  2159. Mesh = New("BlockMesh", NoSight, "Mesh", {
  2160. Scale = Vector3.new(0.0476190522, 0.190476194, 0.19047603)
  2161. })
  2162. mot = New("Motor", NoSight, "mot", {
  2163. Part0 = NoSight,
  2164. Part1 = Handle,
  2165. 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),
  2166. 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)
  2167. })
  2168. A2 = New("Part", Uzi, "A2", {
  2169. BrickColor = BrickColor.new("Dark stone grey"),
  2170. Elasticity = 0,
  2171. FormFactor = Enum.FormFactor.Custom,
  2172. Size = Vector3.new(0.303939581, 0.303939581, 1.8236376),
  2173. 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),
  2174. CanCollide = false,
  2175. BottomSurface = Enum.SurfaceType.Smooth,
  2176. TopSurface = Enum.SurfaceType.Smooth,
  2177. Color = Color3.new(0.388235, 0.372549, 0.384314)
  2178. })
  2179. Mesh = New("BlockMesh", A2, "Mesh", {
  2180. Offset = Vector3.new(0, 0, 0.0599999987),
  2181. Scale = Vector3.new(0.200000003, 0.200000003, 0.0480000004)
  2182. })
  2183. mot = New("Motor", A2, "mot", {
  2184. Part0 = A2,
  2185. Part1 = Handle,
  2186. 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),
  2187. 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)
  2188. })
  2189. for _, v in pairs(Uzi:GetChildren()) do
  2190. if v:IsA("BasePart") then
  2191. v.CanCollide = false
  2192. end
  2193. end
  2194. local NewInstance = function(instance, parent, properties)
  2195. local inst = Instance.new(instance, parent)
  2196. if properties then
  2197. for i, v in next, properties, nil do
  2198. pcall(function()
  2199. inst[i] = v
  2200. end)
  2201. end
  2202. end
  2203. return inst
  2204. end
  2205. local HW = NewInstance("Weld", char, {
  2206. Part0 = ra,
  2207. Part1 = Handle,
  2208. C0 = CFrame.new(0, -1.1, -0.2) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  2209. })
  2210. -------------------------------------------------------
  2211. --End Important Functions--
  2212. -------------------------------------------------------
  2213.  
  2214.  
  2215. -------------------------------------------------------
  2216. --Start Customization--
  2217. -------------------------------------------------------
  2218. mas = Instance.new("Model",hed)
  2219. mas.Name = "Model2Script"
  2220. o1 = Instance.new("Model")
  2221. o2 = Instance.new("Part")
  2222. o3 = Instance.new("Part")
  2223. o4 = Instance.new("Part")
  2224. o5 = Instance.new("Part")
  2225. o6 = Instance.new("Part")
  2226. o7 = Instance.new("Part")
  2227. o8 = Instance.new("Part")
  2228. o9 = Instance.new("Part")
  2229. o10 = Instance.new("Part")
  2230. o11 = Instance.new("Part")
  2231. o12 = Instance.new("Part")
  2232. o13 = Instance.new("Part")
  2233. o14 = Instance.new("Part")
  2234. o15 = Instance.new("Part")
  2235. o16 = Instance.new("Part")
  2236. o17 = Instance.new("Part")
  2237. o18 = Instance.new("Part")
  2238. o19 = Instance.new("Part")
  2239. o20 = Instance.new("Part")
  2240. o21 = Instance.new("Part")
  2241. o22 = Instance.new("Part")
  2242. o23 = Instance.new("Part")
  2243. o24 = Instance.new("Part")
  2244. o25 = Instance.new("Part")
  2245. o26 = Instance.new("Part")
  2246. o27 = Instance.new("Part")
  2247. o28 = Instance.new("Part")
  2248. o29 = Instance.new("Part")
  2249. o30 = Instance.new("Part")
  2250. o31 = Instance.new("Part")
  2251. o32 = Instance.new("Part")
  2252. o33 = Instance.new("Part")
  2253. o34 = Instance.new("Part")
  2254. o35 = Instance.new("Part")
  2255. o36 = Instance.new("Part")
  2256. o37 = Instance.new("Part")
  2257. o1.Parent = mas
  2258. o2.Name = "Head"
  2259. o2.Parent = o1
  2260. o2.Material = Enum.Material.SmoothPlastic
  2261. o2.BrickColor = BrickColor.new("Really black")
  2262. o2.Transparency = 1
  2263. o2.Rotation = Vector3.new(-0.00999999978, 3.26999998, 0.00999999978)
  2264. o2.FormFactor = Enum.FormFactor.Symmetric
  2265. o2.Size = Vector3.new(1.99999988, 0.99999994, 0.99999994)
  2266. o2.CFrame = CFrame.new(12.5892553, 4.50960207, -3.75727963, 0.998376548, -0.000250246754, 0.0569584854, 0.000245001953, 1.00000846, 9.91025372e-05, -0.056957975, -8.49864373e-05, 0.998385131)
  2267. o2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  2268. o2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  2269. o2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  2270. o2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  2271. o2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  2272. o2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  2273. o2.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2274. o2.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2275. o3.Parent = o2
  2276. o3.BrickColor = BrickColor.new("Fossil")
  2277. o3.Rotation = Vector3.new(-0.00999999978, 35.1199989, 0.0199999996)
  2278. o3.CanCollide = false
  2279. o3.Size = Vector3.new(0.0600024611, 0.250000179, 0.220000237)
  2280. o3.CFrame = CFrame.new(12.3422012, 4.47093582, -4.18185663, 0.817933738, -0.000248847413, 0.575312555, 0.000196001551, 1.00000846, 0.000153887318, -0.575316489, -1.31072084e-05, 0.817941368)
  2281. o3.BottomSurface = Enum.SurfaceType.Smooth
  2282. o3.TopSurface = Enum.SurfaceType.Smooth
  2283. o3.Color = Color3.new(0.623529, 0.631373, 0.67451)
  2284. o3.Color = Color3.new(0.623529, 0.631373, 0.67451)
  2285. o4.Parent = o2
  2286. o4.Material = Enum.Material.Neon
  2287. o4.BrickColor = BrickColor.new("Eggplant")
  2288. o4.Rotation = Vector3.new(0, 0.629999995, 0.00999999978)
  2289. o4.CanCollide = false
  2290. o4.Shape = Enum.PartType.Ball
  2291. o4.Size = Vector3.new(0.190001294, 0.190001294, 0.190001294)
  2292. o4.CFrame = CFrame.new(12.6813383, 4.85306978, -4.3403945, 0.999939919, -0.00023901432, 0.0109635331, 0.00023900198, 1.00000846, 2.62037793e-06, -0.0109626129, 3.71073838e-10, 0.999948502)
  2293. o4.BottomSurface = Enum.SurfaceType.Smooth
  2294. o4.TopSurface = Enum.SurfaceType.Smooth
  2295. o4.Color = Color3.new(0.482353, 0, 0.482353)
  2296. o4.Color = Color3.new(0.482353, 0, 0.482353)
  2297. o5.Parent = o2
  2298. o5.BrickColor = BrickColor.new("Fossil")
  2299. o5.Rotation = Vector3.new(-0.00999999978, 35.1199989, 0.0199999996)
  2300. o5.CanCollide = false
  2301. o5.Size = Vector3.new(0.0600024611, 0.250000179, 0.220000237)
  2302. o5.CFrame = CFrame.new(12.25453, 4.47092152, -4.12017584, 0.817933738, -0.000248847413, 0.575312555, 0.000196001551, 1.00000846, 0.000153887318, -0.575316489, -1.31072084e-05, 0.817941368)
  2303. o5.BottomSurface = Enum.SurfaceType.Smooth
  2304. o5.TopSurface = Enum.SurfaceType.Smooth
  2305. o5.Color = Color3.new(0.623529, 0.631373, 0.67451)
  2306. o5.Color = Color3.new(0.623529, 0.631373, 0.67451)
  2307. o6.Parent = o2
  2308. o6.BrickColor = BrickColor.new("Fossil")
  2309. o6.Rotation = Vector3.new(-0.00999999978, 35.1199989, 0.0199999996)
  2310. o6.CanCollide = false
  2311. o6.Size = Vector3.new(0.0600024611, 0.250000179, 0.220000237)
  2312. o6.CFrame = CFrame.new(12.3307505, 4.47093344, -4.19189453, 0.817933738, -0.000248847413, 0.575312555, 0.000196001551, 1.00000846, 0.000153887318, -0.575316489, -1.31072084e-05, 0.817941368)
  2313. o6.BottomSurface = Enum.SurfaceType.Smooth
  2314. o6.TopSurface = Enum.SurfaceType.Smooth
  2315. o6.Color = Color3.new(0.623529, 0.631373, 0.67451)
  2316. o6.Color = Color3.new(0.623529, 0.631373, 0.67451)
  2317. o7.Parent = o2
  2318. o7.BrickColor = BrickColor.new("Fossil")
  2319. o7.Rotation = Vector3.new(-0.00999999978, 35.1199989, 0.0199999996)
  2320. o7.CanCollide = false
  2321. o7.Size = Vector3.new(0.0600024611, 0.250000179, 0.220000237)
  2322. o7.CFrame = CFrame.new(12.4249439, 4.47095871, -4.24005365, 0.817933738, -0.000248847413, 0.575312555, 0.000196001551, 1.00000846, 0.000153887318, -0.575316489, -1.31072084e-05, 0.817941368)
  2323. o7.BottomSurface = Enum.SurfaceType.Smooth
  2324. o7.TopSurface = Enum.SurfaceType.Smooth
  2325. o7.Color = Color3.new(0.623529, 0.631373, 0.67451)
  2326. o7.Color = Color3.new(0.623529, 0.631373, 0.67451)
  2327. o8.Parent = o2
  2328. o8.BrickColor = BrickColor.new("Fossil")
  2329. o8.Rotation = Vector3.new(0.00999999978, -30.1099987, 0.0199999996)
  2330. o8.CanCollide = false
  2331. o8.Size = Vector3.new(0.0600024611, 0.250000179, 0.260000259)
  2332. o8.CFrame = CFrame.new(12.8379145, 4.46701479, -4.16434002, 0.865085423, -0.000253115431, -0.501624584, 0.000219001973, 1.00000846, -0.000126912026, 0.50162971, -6.67569111e-08, 0.865092278)
  2333. o8.BottomSurface = Enum.SurfaceType.Smooth
  2334. o8.TopSurface = Enum.SurfaceType.Smooth
  2335. o8.Color = Color3.new(0.623529, 0.631373, 0.67451)
  2336. o8.Color = Color3.new(0.623529, 0.631373, 0.67451)
  2337. o9.Parent = o2
  2338. o9.BrickColor = BrickColor.new("Fossil")
  2339. o9.Rotation = Vector3.new(0.00999999978, -30.1099987, 0.0199999996)
  2340. o9.CanCollide = false
  2341. o9.Size = Vector3.new(0.0600024611, 0.250000179, 0.260000259)
  2342. o9.CFrame = CFrame.new(12.9631338, 4.46704054, -4.09174585, 0.865085423, -0.000253115431, -0.501624584, 0.000219001973, 1.00000846, -0.000126912026, 0.50162971, -6.67569111e-08, 0.865092278)
  2343. o9.BottomSurface = Enum.SurfaceType.Smooth
  2344. o9.TopSurface = Enum.SurfaceType.Smooth
  2345. o9.Color = Color3.new(0.623529, 0.631373, 0.67451)
  2346. o9.Color = Color3.new(0.623529, 0.631373, 0.67451)
  2347. o10.Parent = o2
  2348. o10.BrickColor = BrickColor.new("Fossil")
  2349. o10.Rotation = Vector3.new(-0.00999999978, 35.1199989, 0.0199999996)
  2350. o10.CanCollide = false
  2351. o10.Size = Vector3.new(0.0600024611, 0.250000179, 0.220000237)
  2352. o10.CFrame = CFrame.new(12.2429972, 4.4709177, -4.11946106, 0.817933738, -0.000248847413, 0.575312555, 0.000196001551, 1.00000846, 0.000153887318, -0.575316489, -1.31072084e-05, 0.817941368)
  2353. o10.BottomSurface = Enum.SurfaceType.Smooth
  2354. o10.TopSurface = Enum.SurfaceType.Smooth
  2355. o10.Color = Color3.new(0.623529, 0.631373, 0.67451)
  2356. o10.Color = Color3.new(0.623529, 0.631373, 0.67451)
  2357. o11.Parent = o2
  2358. o11.Material = Enum.Material.Metal
  2359. o11.BrickColor = BrickColor.new("Pearl")
  2360. o11.Rotation = Vector3.new(-179.959991, 70.5100021, 179.970001)
  2361. o11.CanCollide = false
  2362. o11.Size = Vector3.new(0.250002503, 0.350000173, 0.2900002)
  2363. o11.CFrame = CFrame.new(13.0351248, 4.18798542, -4.05297899, -0.333613515, -0.000202421492, 0.942709923, -1.74622983e-10, 1.00000834, 0.000214724801, -0.942718267, 7.16352733e-05, -0.333615392)
  2364. o11.BottomSurface = Enum.SurfaceType.Smooth
  2365. o11.TopSurface = Enum.SurfaceType.Smooth
  2366. o11.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2367. o11.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2368. o12.Parent = o2
  2369. o12.Material = Enum.Material.Metal
  2370. o12.BrickColor = BrickColor.new("Pearl")
  2371. o12.Rotation = Vector3.new(-0.0199999996, 59.8599968, 0.0299999993)
  2372. o12.CanCollide = false
  2373. o12.Size = Vector3.new(0.250002503, 0.330000162, 0.2900002)
  2374. o12.CFrame = CFrame.new(12.1336823, 4.17776823, -4.01179171, 0.502042472, -0.000225768134, 0.864842951, 0.000113000759, 1.00000834, 0.000195456203, -0.864849985, -3.99100827e-07, 0.502047539)
  2375. o12.BottomSurface = Enum.SurfaceType.Smooth
  2376. o12.TopSurface = Enum.SurfaceType.Smooth
  2377. o12.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2378. o12.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2379. o13.Parent = o2
  2380. o13.BrickColor = BrickColor.new("Fossil")
  2381. o13.Rotation = Vector3.new(-0.00999999978, 35.1199989, 0.0199999996)
  2382. o13.CanCollide = false
  2383. o13.Size = Vector3.new(0.0600024611, 0.250000179, 0.260000259)
  2384. o13.CFrame = CFrame.new(12.4135151, 4.13782883, -4.25640917, 0.817933738, -0.000248847413, 0.575312555, 0.000196001551, 1.00000846, 0.000153887318, -0.575316489, -1.31072084e-05, 0.817941368)
  2385. o13.BottomSurface = Enum.SurfaceType.Smooth
  2386. o13.TopSurface = Enum.SurfaceType.Smooth
  2387. o13.Color = Color3.new(0.623529, 0.631373, 0.67451)
  2388. o13.Color = Color3.new(0.623529, 0.631373, 0.67451)
  2389. o14.Parent = o2
  2390. o14.Material = Enum.Material.SmoothPlastic
  2391. o14.BrickColor = BrickColor.new("Really black")
  2392. o14.Rotation = Vector3.new(0, 0.629999995, 0.00999999978)
  2393. o14.CanCollide = false
  2394. o14.Size = Vector3.new(0.370002419, 0.380000234, 0.300000221)
  2395. o14.CFrame = CFrame.new(12.5940952, 4.50669909, -4.2362237, 0.999939919, -0.00023901432, 0.0109635331, 0.00023900198, 1.00000846, 2.62037793e-06, -0.0109626129, 3.71073838e-10, 0.999948502)
  2396. o14.BottomSurface = Enum.SurfaceType.Smooth
  2397. o14.TopSurface = Enum.SurfaceType.Smooth
  2398. o14.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2399. o14.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2400. o15.Parent = o2
  2401. o15.Material = Enum.Material.Metal
  2402. o15.BrickColor = BrickColor.new("Pearl")
  2403. o15.Rotation = Vector3.new(0, 0.629999995, 0.00999999978)
  2404. o15.CanCollide = false
  2405. o15.Size = Vector3.new(0.0800024197, 0.250000238, 0.300000221)
  2406. o15.CFrame = CFrame.new(12.720789, 4.13790607, -4.30649519, 0.999939919, -0.00023901432, 0.0109635331, 0.00023900198, 1.00000846, 2.62037793e-06, -0.0109626129, 3.71073838e-10, 0.999948502)
  2407. o15.BottomSurface = Enum.SurfaceType.Smooth
  2408. o15.TopSurface = Enum.SurfaceType.Smooth
  2409. o15.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2410. o15.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2411. o16.Parent = o2
  2412. o16.BrickColor = BrickColor.new("Fossil")
  2413. o16.Rotation = Vector3.new(0.00999999978, -30.1099987, 0.0199999996)
  2414. o16.CanCollide = false
  2415. o16.Size = Vector3.new(0.0600024611, 0.250000179, 0.260000259)
  2416. o16.CFrame = CFrame.new(12.8739166, 4.14795494, -4.19200373, 0.865085423, -0.000253115431, -0.501624584, 0.000219001973, 1.00000846, -0.000126912026, 0.50162971, -6.67569111e-08, 0.865092278)
  2417. o16.BottomSurface = Enum.SurfaceType.Smooth
  2418. o16.TopSurface = Enum.SurfaceType.Smooth
  2419. o16.Color = Color3.new(0.623529, 0.631373, 0.67451)
  2420. o16.Color = Color3.new(0.623529, 0.631373, 0.67451)
  2421. o17.Parent = o2
  2422. o17.Material = Enum.Material.Metal
  2423. o17.BrickColor = BrickColor.new("Pearl")
  2424. o17.Rotation = Vector3.new(0, 0.629999995, 30.0699997)
  2425. o17.CanCollide = false
  2426. o17.Size = Vector3.new(0.370002478, 0.120000228, 0.130000144)
  2427. o17.CFrame = CFrame.new(13.0013018, 5.05734348, -4.35467005, 0.865364432, -0.501023412, 0.0109602921, 0.501057446, 0.865423858, 2.24432806e-05, -0.00949566439, 0.00547180884, 0.999948561)
  2428. o17.BottomSurface = Enum.SurfaceType.Smooth
  2429. o17.TopSurface = Enum.SurfaceType.Smooth
  2430. o17.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2431. o17.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2432. o18.Parent = o2
  2433. o18.Material = Enum.Material.Neon
  2434. o18.BrickColor = BrickColor.new("Eggplant")
  2435. o18.Rotation = Vector3.new(0, 0.629999995, -89.9899979)
  2436. o18.CanCollide = false
  2437. o18.Shape = Enum.PartType.Cylinder
  2438. o18.Size = Vector3.new(0.48999992, 1.15999997, 1.30999982)
  2439. o18.CFrame = CFrame.new(12.586771, 4.26036596, -3.78879094, 0.000245000003, 0.999939919, 0.0109635293, -1.00000846, 0.000244855793, 1.46855382e-05, 1.19998876e-05, -0.0109626055, 0.999948502)
  2440. o18.BottomSurface = Enum.SurfaceType.Smooth
  2441. o18.TopSurface = Enum.SurfaceType.Smooth
  2442. o18.Color = Color3.new(0.482353, 0, 0.482353)
  2443. o18.Color = Color3.new(0.482353, 0, 0.482353)
  2444. o19.Parent = o2
  2445. o19.Material = Enum.Material.Metal
  2446. o19.BrickColor = BrickColor.new("Pearl")
  2447. o19.Rotation = Vector3.new(0, 0.629999995, 12.8699999)
  2448. o19.CanCollide = false
  2449. o19.Size = Vector3.new(0.0800024197, 0.170000225, 0.2900002)
  2450. o19.CFrame = CFrame.new(12.6530409, 4.55379057, -4.27083921, 0.974806547, -0.22278282, 0.0109562129, 0.222797751, 0.974873364, 2.55261766e-05, -0.0106856115, 0.00241591129, 0.999948502)
  2451. o19.BottomSurface = Enum.SurfaceType.Smooth
  2452. o19.TopSurface = Enum.SurfaceType.Smooth
  2453. o19.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2454. o19.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2455. o20.Parent = o2
  2456. o20.Material = Enum.Material.Metal
  2457. o20.BrickColor = BrickColor.new("Pearl")
  2458. o20.Rotation = Vector3.new(-0.00999999978, 29.6299992, 0.0199999996)
  2459. o20.CanCollide = false
  2460. o20.Size = Vector3.new(0.420002431, 0.200000226, 0.2900002)
  2461. o20.CFrame = CFrame.new(12.2898045, 4.11280489, -4.19457197, 0.869223297, -0.000238353008, 0.494419813, 0.000207001765, 1.00000846, 0.000118167409, -0.494423091, -3.67785105e-07, 0.869231284)
  2462. o20.BottomSurface = Enum.SurfaceType.Smooth
  2463. o20.TopSurface = Enum.SurfaceType.Smooth
  2464. o20.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2465. o20.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2466. o21.Parent = o2
  2467. o21.Material = Enum.Material.Metal
  2468. o21.BrickColor = BrickColor.new("Pearl")
  2469. o21.Rotation = Vector3.new(0, 0.629999995, 30.0699997)
  2470. o21.CanCollide = false
  2471. o21.Size = Vector3.new(0.350002438, 0.120000228, 0.130000204)
  2472. o21.CFrame = CFrame.new(13.0757389, 4.90882826, -4.35546923, 0.865364432, -0.501023412, 0.0109602921, 0.501057446, 0.865423858, 2.24432806e-05, -0.00949566439, 0.00547180884, 0.999948561)
  2473. o21.BottomSurface = Enum.SurfaceType.Smooth
  2474. o21.TopSurface = Enum.SurfaceType.Smooth
  2475. o21.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2476. o21.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2477. o22.Parent = o2
  2478. o22.Material = Enum.Material.Metal
  2479. o22.BrickColor = BrickColor.new("Pearl")
  2480. o22.Rotation = Vector3.new(0, 0.629999995, 30.0699997)
  2481. o22.CanCollide = false
  2482. o22.Size = Vector3.new(0.330002487, 0.110000268, 0.140000194)
  2483. o22.CFrame = CFrame.new(13.142314, 4.7739563, -4.35119486, 0.865364432, -0.501023412, 0.0109602921, 0.501057446, 0.865423858, 2.24432806e-05, -0.00949566439, 0.00547180884, 0.999948561)
  2484. o22.BottomSurface = Enum.SurfaceType.Smooth
  2485. o22.TopSurface = Enum.SurfaceType.Smooth
  2486. o22.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2487. o22.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2488. o23.Parent = o2
  2489. o23.Material = Enum.Material.Metal
  2490. o23.BrickColor = BrickColor.new("Pearl")
  2491. o23.Rotation = Vector3.new(0, 0.629999995, 0.00999999978)
  2492. o23.CanCollide = false
  2493. o23.Size = Vector3.new(0.0800024197, 0.250000238, 0.2900002)
  2494. o23.CFrame = CFrame.new(12.4452009, 4.13783503, -4.29846525, 0.999939919, -0.00023901432, 0.0109635331, 0.00023900198, 1.00000846, 2.62037793e-06, -0.0109626129, 3.71073838e-10, 0.999948502)
  2495. o23.BottomSurface = Enum.SurfaceType.Smooth
  2496. o23.TopSurface = Enum.SurfaceType.Smooth
  2497. o23.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2498. o23.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2499. o24.Parent = o2
  2500. o24.Material = Enum.Material.Metal
  2501. o24.BrickColor = BrickColor.new("Pearl")
  2502. o24.Rotation = Vector3.new(0, 0.629999995, -30.1299992)
  2503. o24.CanCollide = false
  2504. o24.Size = Vector3.new(0.330002487, 0.110000268, 0.130000249)
  2505. o24.CFrame = CFrame.new(13.0381289, 4.67515135, -4.35506392, 0.864809334, 0.501980901, 0.0109607317, -0.502015352, 0.864868522, 1.60243653e-05, -0.00947066396, -0.00551580451, 0.999948561)
  2506. o24.BottomSurface = Enum.SurfaceType.Smooth
  2507. o24.TopSurface = Enum.SurfaceType.Smooth
  2508. o24.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2509. o24.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2510. o25.Parent = o2
  2511. o25.BrickColor = BrickColor.new("Fossil")
  2512. o25.Rotation = Vector3.new(-0.00999999978, 35.1199989, 0.0199999996)
  2513. o25.CanCollide = false
  2514. o25.Size = Vector3.new(0.0600024611, 0.250000179, 0.260000259)
  2515. o25.CFrame = CFrame.new(12.2344007, 4.13779402, -4.13043022, 0.817933738, -0.000248847413, 0.575312555, 0.000196001551, 1.00000846, 0.000153887318, -0.575316489, -1.31072084e-05, 0.817941368)
  2516. o25.BottomSurface = Enum.SurfaceType.Smooth
  2517. o25.TopSurface = Enum.SurfaceType.Smooth
  2518. o25.Color = Color3.new(0.623529, 0.631373, 0.67451)
  2519. o25.Color = Color3.new(0.623529, 0.631373, 0.67451)
  2520. o26.Parent = o2
  2521. o26.BrickColor = BrickColor.new("Fossil")
  2522. o26.Rotation = Vector3.new(0.00999999978, -30.1099987, 0.0199999996)
  2523. o26.CanCollide = false
  2524. o26.Size = Vector3.new(0.0600024611, 0.250000179, 0.260000259)
  2525. o26.CFrame = CFrame.new(12.7699385, 4.14792395, -4.25231028, 0.865085423, -0.000253115431, -0.501624584, 0.000219001973, 1.00000846, -0.000126912026, 0.50162971, -6.67569111e-08, 0.865092278)
  2526. o26.BottomSurface = Enum.SurfaceType.Smooth
  2527. o26.TopSurface = Enum.SurfaceType.Smooth
  2528. o26.Color = Color3.new(0.623529, 0.631373, 0.67451)
  2529. o26.Color = Color3.new(0.623529, 0.631373, 0.67451)
  2530. o27.Parent = o2
  2531. o27.Material = Enum.Material.SmoothPlastic
  2532. o27.BrickColor = BrickColor.new("Really black")
  2533. o27.Rotation = Vector3.new(180, -3.27999997, 179.98999)
  2534. o27.Shape = Enum.PartType.Cylinder
  2535. o27.Size = Vector3.new(0.0500000007, 0.250000238, 1.6000005)
  2536. o27.CFrame = CFrame.new(12.2895432, 4.72786093, -4.26638556, -0.998360634, -0.000245401112, -0.0572395623, -0.000245002186, 1.00000846, -1.40238844e-05, 0.0572390407, 2.32175807e-08, -0.998369098)
  2537. o27.BottomSurface = Enum.SurfaceType.Smooth
  2538. o27.TopSurface = Enum.SurfaceType.Smooth
  2539. o27.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2540. o27.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2541. o28.Parent = o2
  2542. o28.Material = Enum.Material.SmoothPlastic
  2543. o28.BrickColor = BrickColor.new("Really black")
  2544. o28.Rotation = Vector3.new(0, 0.629999995, -89.9899979)
  2545. o28.CanCollide = false
  2546. o28.Shape = Enum.PartType.Cylinder
  2547. o28.Size = Vector3.new(0.24999994, 1.25999975, 1.54999959)
  2548. o28.CFrame = CFrame.new(12.5879374, 4.09035969, -3.785882, 0.000245000003, 0.999939919, 0.0109635293, -1.00000846, 0.000244855793, 1.46855382e-05, 1.19998876e-05, -0.0109626055, 0.999948502)
  2549. o28.BottomSurface = Enum.SurfaceType.Smooth
  2550. o28.TopSurface = Enum.SurfaceType.Smooth
  2551. o28.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2552. o28.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2553. o29.Parent = o2
  2554. o29.Material = Enum.Material.Neon
  2555. o29.BrickColor = BrickColor.new("Eggplant")
  2556. o29.Rotation = Vector3.new(0, 0.629999995, 0.00999999978)
  2557. o29.CanCollide = false
  2558. o29.Shape = Enum.PartType.Ball
  2559. o29.Size = Vector3.new(0.190001294, 0.190001294, 0.190001294)
  2560. o29.CFrame = CFrame.new(12.8344183, 4.76740217, -4.34208727, 0.999939919, -0.00023901432, 0.0109635331, 0.00023900198, 1.00000846, 2.62037793e-06, -0.0109626129, 3.71073838e-10, 0.999948502)
  2561. o29.BottomSurface = Enum.SurfaceType.Smooth
  2562. o29.TopSurface = Enum.SurfaceType.Smooth
  2563. o29.Color = Color3.new(0.482353, 0, 0.482353)
  2564. o29.Color = Color3.new(0.482353, 0, 0.482353)
  2565. o30.Parent = o2
  2566. o30.Material = Enum.Material.Neon
  2567. o30.BrickColor = BrickColor.new("Eggplant")
  2568. o30.Rotation = Vector3.new(0, 0.629999995, 0.00999999978)
  2569. o30.CanCollide = false
  2570. o30.Shape = Enum.PartType.Ball
  2571. o30.Size = Vector3.new(0.190001294, 0.190001294, 0.190001294)
  2572. o30.CFrame = CFrame.new(12.6813812, 4.67232227, -4.34039068, 0.999939919, -0.00023901432, 0.0109635331, 0.00023900198, 1.00000846, 2.62037793e-06, -0.0109626129, 3.71073838e-10, 0.999948502)
  2573. o30.BottomSurface = Enum.SurfaceType.Smooth
  2574. o30.TopSurface = Enum.SurfaceType.Smooth
  2575. o30.Color = Color3.new(0.482353, 0, 0.482353)
  2576. o30.Color = Color3.new(0.482353, 0, 0.482353)
  2577. o31.Parent = o2
  2578. o31.BrickColor = BrickColor.new("Fossil")
  2579. o31.Rotation = Vector3.new(0.00999999978, -30.1099987, 0.0199999996)
  2580. o31.CanCollide = false
  2581. o31.Size = Vector3.new(0.0600024611, 0.250000179, 0.260000259)
  2582. o31.CFrame = CFrame.new(12.9933138, 4.14798307, -4.12279606, 0.865085423, -0.000253115431, -0.501624584, 0.000219001973, 1.00000846, -0.000126912026, 0.50162971, -6.67569111e-08, 0.865092278)
  2583. o31.BottomSurface = Enum.SurfaceType.Smooth
  2584. o31.TopSurface = Enum.SurfaceType.Smooth
  2585. o31.Color = Color3.new(0.623529, 0.631373, 0.67451)
  2586. o31.Color = Color3.new(0.623529, 0.631373, 0.67451)
  2587. o32.Name = "r"
  2588. o32.Parent = o2
  2589. o32.Material = Enum.Material.SmoothPlastic
  2590. o32.BrickColor = BrickColor.new("Really black")
  2591. o32.Rotation = Vector3.new(0, 0.629999995, -89.9899979)
  2592. o32.CanCollide = false
  2593. o32.Shape = Enum.PartType.Cylinder
  2594. o32.Size = Vector3.new(0.46999985, 1.25999975, 1.54999959)
  2595. o32.CFrame = CFrame.new(12.5878134, 4.61972094, -3.7858963, 0.000245000003, 0.999939919, 0.0109635293, -1.00000846, 0.000244855793, 1.46855382e-05, 1.19998876e-05, -0.0109626055, 0.999948502)
  2596. o32.BottomSurface = Enum.SurfaceType.Smooth
  2597. o32.TopSurface = Enum.SurfaceType.Smooth
  2598. o32.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2599. o32.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2600. o33.Parent = o2
  2601. o33.BrickColor = BrickColor.new("Fossil")
  2602. o33.Rotation = Vector3.new(-0.00999999978, 35.1199989, 0.0199999996)
  2603. o33.CanCollide = false
  2604. o33.Size = Vector3.new(0.0600024611, 0.250000179, 0.260000259)
  2605. o33.CFrame = CFrame.new(12.3250799, 4.13780499, -4.19420767, 0.817933738, -0.000248847413, 0.575312555, 0.000196001551, 1.00000846, 0.000153887318, -0.575316489, -1.31072084e-05, 0.817941368)
  2606. o33.BottomSurface = Enum.SurfaceType.Smooth
  2607. o33.TopSurface = Enum.SurfaceType.Smooth
  2608. o33.Color = Color3.new(0.623529, 0.631373, 0.67451)
  2609. o33.Color = Color3.new(0.623529, 0.631373, 0.67451)
  2610. o34.Parent = o2
  2611. o34.Material = Enum.Material.Neon
  2612. o34.BrickColor = BrickColor.new("Eggplant")
  2613. o34.Rotation = Vector3.new(0, 0.629999995, 0.00999999978)
  2614. o34.CanCollide = false
  2615. o34.Shape = Enum.PartType.Ball
  2616. o34.Size = Vector3.new(0.230001301, 0.230001301, 0.230001301)
  2617. o34.CFrame = CFrame.new(12.320076, 4.73971415, -4.26470613, 0.999939919, -0.00023901432, 0.0109635331, 0.00023900198, 1.00000846, 2.62037793e-06, -0.0109626129, 3.71073838e-10, 0.999948502)
  2618. o34.BottomSurface = Enum.SurfaceType.Smooth
  2619. o34.TopSurface = Enum.SurfaceType.Smooth
  2620. o34.Color = Color3.new(0.482353, 0, 0.482353)
  2621. o34.Color = Color3.new(0.482353, 0, 0.482353)
  2622. o35.Parent = o2
  2623. o35.Material = Enum.Material.Metal
  2624. o35.BrickColor = BrickColor.new("Pearl")
  2625. o35.Rotation = Vector3.new(0, 0.629999995, 12.8699999)
  2626. o35.CanCollide = false
  2627. o35.Size = Vector3.new(0.520002484, 0.440000206, 0.2900002)
  2628. o35.CFrame = CFrame.new(12.8338127, 4.79513836, -4.27282286, 0.974806547, -0.22278282, 0.0109562129, 0.222797751, 0.974873364, 2.55261766e-05, -0.0106856115, 0.00241591129, 0.999948502)
  2629. o35.BottomSurface = Enum.SurfaceType.Smooth
  2630. o35.TopSurface = Enum.SurfaceType.Smooth
  2631. o35.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2632. o35.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2633. o36.Parent = o2
  2634. o36.Material = Enum.Material.Metal
  2635. o36.BrickColor = BrickColor.new("Pearl")
  2636. o36.Rotation = Vector3.new(0.00999999978, -30.1099987, 0.0199999996)
  2637. o36.CanCollide = false
  2638. o36.Size = Vector3.new(0.420002431, 0.200000226, 0.2900002)
  2639. o36.CFrame = CFrame.new(12.8746452, 4.11295271, -4.2049346, 0.865085423, -0.000253115431, -0.501624584, 0.000219001973, 1.00000846, -0.000126912026, 0.50162971, -6.67569111e-08, 0.865092278)
  2640. o36.BottomSurface = Enum.SurfaceType.Smooth
  2641. o36.TopSurface = Enum.SurfaceType.Smooth
  2642. o36.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2643. o36.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2644. o37.Parent = o2
  2645. o37.BrickColor = BrickColor.new("Fossil")
  2646. o37.Rotation = Vector3.new(0.00999999978, -30.1099987, 0.0199999996)
  2647. o37.CanCollide = false
  2648. o37.Size = Vector3.new(0.0600024611, 0.250000179, 0.260000259)
  2649. o37.CFrame = CFrame.new(12.7551317, 4.46699476, -4.21234465, 0.865085423, -0.000253115431, -0.501624584, 0.000219001973, 1.00000846, -0.000126912026, 0.50162971, -6.67569111e-08, 0.865092278)
  2650. o37.BottomSurface = Enum.SurfaceType.Smooth
  2651. o37.TopSurface = Enum.SurfaceType.Smooth
  2652. o37.Color = Color3.new(0.623529, 0.631373, 0.67451)
  2653. o37.Color = Color3.new(0.623529, 0.631373, 0.67451)
  2654. mas.Parent = workspace
  2655. mas:MakeJoints()
  2656.  
  2657. for i,v in pairs(char:children()) do
  2658. if v:IsA("Shirt") and v:IsA("Pants") and v:IsA("Hat") and v:IsA("Accessory") then
  2659. v:Remove()
  2660. end
  2661. end
  2662. shirt = Instance.new("Shirt", char)
  2663. shirt.Name = "Shirt"
  2664. pants = Instance.new("Pants", char)
  2665. pants.Name = "Pants"
  2666. char.Shirt.ShirtTemplate = "rbxassetid://1533635803"
  2667. char.Pants.PantsTemplate = "rbxassetid://1460022985"
  2668. local Player_Size = 1
  2669. if Player_Size ~= 1 then
  2670. root.Size = root.Size * Player_Size
  2671. tors.Size = tors.Size * Player_Size
  2672. hed.Size = hed.Size * Player_Size
  2673. ra.Size = ra.Size * Player_Size
  2674. la.Size = la.Size * Player_Size
  2675. rl.Size = rl.Size * Player_Size
  2676. ll.Size = ll.Size * Player_Size
  2677. ----------------------------------------------------------------------------------
  2678. rootj.Parent = root
  2679. neck.Parent = tors
  2680. RW.Parent = tors
  2681. LW.Parent = tors
  2682. RH.Parent = tors
  2683. LH.Parent = tors
  2684. ----------------------------------------------------------------------------------
  2685. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  2686. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  2687. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  2688. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  2689. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  2690. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  2691. ----------------------------------------------------------------------------------
  2692. 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))
  2693. 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))
  2694. 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))
  2695. 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))
  2696. --hat.Parent = Character
  2697. end
  2698. ----------------------------------------------------------------------------------
  2699. local SONG = 2114921530
  2700. local SONG2 = 0
  2701. local Music = Instance.new("Sound",tors)
  2702. ----------------------------------------------------------------------------------
  2703. local equipped = false
  2704. local idle = 0
  2705. local change = 1
  2706. local val = 0
  2707. local toim = 0
  2708. local idleanim = 0.4
  2709. local sine = 0
  2710. local Sit = 1
  2711. local WasAir = false
  2712. local InAir = false
  2713. local LandTick = 0
  2714. local movelegs = false
  2715. local Speed = 35
  2716. local Firing = false
  2717. ----------------------------------------------------------------------------------
  2718. hum.JumpPower = 55
  2719. hum.Animator.Parent = nil
  2720. -------------------------------------------------------
  2721. --End Customization--
  2722. -------------------------------------------------------
  2723.  
  2724.  
  2725. -------------------------------------------------------
  2726. --Start Attacks N Stuff--
  2727. -------------------------------------------------------
  2728. function AttackTemplate()
  2729. attack = true
  2730. for i = 0, 2, 0.1 do
  2731. swait()
  2732. 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)
  2733. 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)
  2734. 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)
  2735. 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)
  2736. 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)
  2737. 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)
  2738. end
  2739. attack = false
  2740. end
  2741. local Camera = workspace.CurrentCamera
  2742. function ShootEmUp()
  2743. attack = true
  2744. Speed = 5
  2745. movelegs = true
  2746. repeat
  2747. swait()
  2748. for i = 0, 0.3, 0.2 do
  2749. swait()
  2750. 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)
  2751. 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)
  2752. 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)
  2753. 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)
  2754. 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)
  2755. 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)
  2756. end
  2757. 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)
  2758. Effects.Block(Cylinder1.CFrame,Vector3.new(.4,.4,.4),Vector3.new(),Vector3.new(.6,.6,.6),"Neon","Bright yellow",true,false,.1)
  2759. Effects.Block(CFrame.new(pos),Vector3.new(.4,.4,.4),Vector3.new(),Vector3.new(.1,.1,.1),"Neon","Bright yellow",true,false,.1)
  2760. 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)
  2761. Cso("249050335", Cylinder1, 2, Mrandom(90,110)/100)
  2762. local WWWWWWWWWWOAH = Instance.new("Part",Camera)
  2763. WWWWWWWWWWOAH.Anchored = true
  2764. WWWWWWWWWWOAH.Transparency = 1
  2765. WWWWWWWWWWOAH.CanCollide = false
  2766. WWWWWWWWWWOAH.Size = Vector3.new()
  2767. WWWWWWWWWWOAH.CFrame = CFrame.new(pos)
  2768. MagniDamage(WWWWWWWWWWOAH, 3, 18, 2, 10, "Normal")
  2769. for i = 0, 1 do
  2770. swait()
  2771. 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)
  2772. 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)
  2773. 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)
  2774. 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)
  2775. 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)
  2776. 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)
  2777. end
  2778. until Firing == false
  2779. Speed = 35
  2780. attack = false
  2781. movelegs = false
  2782. end
  2783. Sitt = false
  2784. function SittyBoi()
  2785. attack = true
  2786. Sitt = true
  2787. Speed = 0
  2788. repeat
  2789. swait()
  2790. for i = 0, 1, 0.1 do
  2791. swait()
  2792. 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)
  2793. 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)
  2794. 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)
  2795. 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)
  2796. 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)
  2797. 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)
  2798. end
  2799. until Sitt == false
  2800. attack = false
  2801. Speed = 35
  2802. end
  2803. function Maniac()
  2804. attack = true
  2805. movelegs = true
  2806. Speed = 4
  2807. local Laugh = Cso("246480487", hed, 3, 0.9)
  2808. swait(2)
  2809. repeat
  2810. swait()
  2811. 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)
  2812. 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)
  2813. 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)
  2814. 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)
  2815. 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)
  2816. 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)
  2817. until Laugh.Playing == false
  2818. attack = false
  2819. movelegs = false
  2820. Speed = 35
  2821. end
  2822. local VALUE1 = false
  2823. -------------------------------------------------------
  2824. --End Attacks N Stuff--
  2825. -------------------------------------------------------
  2826. mouse.Button1Down:connect(function()
  2827. Firing = true
  2828. if attack == false then
  2829. ShootEmUp()
  2830. end
  2831. end)
  2832. mouse.Button1Up:connect(function()
  2833. Firing = false
  2834. end)
  2835. mouse.KeyDown:connect(function(key)
  2836. if (VALUE1 == false and attack == false) or Sitt == true then
  2837. if key == "q" then
  2838. if Sitt == false then
  2839. SittyBoi()
  2840. elseif Sitt == true then
  2841. Sitt = false
  2842. end
  2843. end
  2844. end
  2845. if attack == false then
  2846. if key == "t" then
  2847. Maniac()
  2848. end
  2849. end
  2850. end)
  2851.  
  2852.  
  2853.  
  2854.  
  2855.  
  2856.  
  2857.  
  2858. -------------------------------------------------------
  2859. --Start Animations--
  2860. -------------------------------------------------------
  2861. print("By Creterisk")
  2862. while true do
  2863. swait()
  2864. sine = sine + change
  2865. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  2866. local velderp = root.Velocity.y
  2867. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  2868. if equipped == true or equipped == false then
  2869. if attack == false then
  2870. idle = idle + 1
  2871. else
  2872. idle = 0
  2873. end
  2874. local Landed = false
  2875. if(hitfloor)then
  2876. WasAir = false
  2877. else
  2878. WasAir = true
  2879. end
  2880. if(WasAir == false)then
  2881. if(InAir == true)then
  2882. LandTick = time()
  2883. Landed = true
  2884. end
  2885. end
  2886. if(time()-LandTick < .3)then
  2887. Landed = true
  2888. end
  2889. if(hitfloor)then
  2890. InAir = false
  2891. else
  2892. InAir = true
  2893. end
  2894. local Walking = (math.abs(root.Velocity.x) > 1 or math.abs(root.Velocity.z) > 1)
  2895. 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")
  2896. local WALKSPEEDVALUE = 6 / (hum.WalkSpeed / 16)
  2897. if hum.Sit == false then
  2898. if(State == 'Jump')then
  2899. hum.JumpPower = 55
  2900. if attack == false then
  2901. 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)
  2902. 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)
  2903. 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)
  2904. 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)
  2905. 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)
  2906. 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)
  2907. end
  2908. elseif(State == 'Fall')then
  2909. if attack == false then
  2910. 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)
  2911. 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)
  2912. 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)
  2913. 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)
  2914. 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)
  2915. 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)
  2916. end
  2917. elseif(State == 'Land')then
  2918. hum.JumpPower = 0
  2919. if attack == false then
  2920. 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)
  2921. 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)
  2922. 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)
  2923. 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)
  2924. 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)
  2925. 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)
  2926. end
  2927. elseif(State == 'Idle')then
  2928. change = 1
  2929. if attack == false then
  2930. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 24) * Player_Size) * angles(Rad(0 - 4 * Sin(sine / 24)), Rad(0 + 1 * Cos(sine / 24)), Rad(-10)), 0.1)
  2931. neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(7 - 2 * Sin(sine / 20)), Rad(0), Rad(10)), 0.1)
  2932. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 * Player_Size - 0.1 * Cos(sine / 24) - Rad(0 + 1 * Cos(sine / 24)) * Player_Size, 0* Player_Size) * angles(Rad(0 - 6 * Sin(sine / 24)), Rad(0 + 1 * Cos(sine / 24)), Rad(0)) * angles(Rad(0 + 1 * Cos(sine / 24)), Rad(0), Rad(5)), 0.1)
  2933. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 * Player_Size - 0.1 * Cos(sine / 24) + Rad(0 + 1 * Cos(sine / 24)) * Player_Size, 0* Player_Size) * angles(Rad(0 - 6 * Sin(sine / 24)), Rad(-0 + 1 * Cos(sine / 24)), Rad(0)) * angles(Rad(0 - 1 * Cos(sine / 24)), Rad(0), Rad(-5)), 0.1)
  2934. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(70), Rad(0 + 5 * Sin(sine / 20)), Rad(-30 + 5 * Sin(sine / 20))), 0.1)
  2935. 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)
  2936. end
  2937. elseif(State == 'Walk')then
  2938. change = 0.76
  2939. hum.JumpPower = 55
  2940. if attack == false then
  2941. 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)
  2942. 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)
  2943. 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)
  2944. 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)
  2945. 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)
  2946. 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)
  2947. elseif attack == true and movelegs == true then
  2948. 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)
  2949. 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)
  2950. end
  2951. end
  2952. else
  2953. Sit.Value = true
  2954. if attack == false then
  2955. 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)
  2956. 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)
  2957. 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)
  2958. 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)
  2959. 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)
  2960. 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)
  2961. end
  2962. end
  2963. end
  2964. hum.WalkSpeed = Speed
  2965. Music.SoundId = "rbxassetid://"..SONG
  2966. Music.Looped = true
  2967. Music.Pitch = 1
  2968. Music.Volume = 2
  2969. Music.Parent = tors
  2970. Music.Playing = true
  2971. if 0 < #Effects then
  2972. for e = 1, #Effects do
  2973. if Effects[e] ~= nil then
  2974. local Thing = Effects[e]
  2975. if Thing ~= nil then
  2976. local Part = Thing[1]
  2977. local Mode = Thing[2]
  2978. local Delay = Thing[3]
  2979. local IncX = Thing[4]
  2980. local IncY = Thing[5]
  2981. local IncZ = Thing[6]
  2982. if 1 >= Thing[1].Transparency then
  2983. if Thing[2] == "Block1" then
  2984. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2985. local Mesh = Thing[1].Mesh
  2986. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2987. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2988. elseif Thing[2] == "Block2" then
  2989. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  2990. local Mesh = Thing[7]
  2991. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2992. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2993. elseif Thing[2] == "Block3" then
  2994. 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)
  2995. local Mesh = Thing[7]
  2996. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2997. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2998. elseif Thing[2] == "Cylinder" then
  2999. local Mesh = Thing[1].Mesh
  3000. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3001. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3002. elseif Thing[2] == "Blood" then
  3003. local Mesh = Thing[7]
  3004. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  3005. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3006. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3007. elseif Thing[2] == "Elec" then
  3008. local Mesh = Thing[1].Mesh
  3009. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  3010. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3011. elseif Thing[2] == "Disappear" then
  3012. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3013. elseif Thing[2] == "Shatter" then
  3014. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3015. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  3016. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  3017. Thing[6] = Thing[6] + Thing[5]
  3018. end
  3019. else
  3020. Part.Parent = nil
  3021. table.remove(Effects, e)
  3022. end
  3023. end
  3024. end
  3025. end
  3026. end
  3027. end
  3028. -------------------------------------------------------
  3029. --End Animations And Script--
  3030. -------------------------------------------------------
  3031.  
  3032. -------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement