Advertisement
Christoffer07700Extr

Jevil With A Uzi

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