Advertisement
creativenico

GIANT FE SCRIPT

Apr 5th, 2021
2,941
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 30.10 KB | None | 0 0
  1. --made by 69#9158
  2. --made by 69#9158
  3. --made by 69#9158
  4. --made by 69#9158
  5. --made by 69#9158
  6. --made by 69#9158
  7. --made by 69#9158
  8. --made by 69#9158
  9. --made by 69#9158
  10. --made by 69#9158
  11. --made by 69#9158
  12. --made by 69#9158
  13. --made by 69#9158
  14. --made by 69#9158
  15. --made by 69#9158
  16. print("made by 69#9158")
  17. shared.Fling()
  18.  
  19. local plr = game.Players.LocalPlayer
  20. local mouse = plr:GetMouse()
  21. local char = plr.Character.Dummy
  22. local hum = char.Humanoid
  23.  
  24. char.Archivable = true
  25.  
  26. if char:FindFirstChild("LowerTorso") ~= nil then
  27.    
  28.     char:FindFirstChild("LeftHand"):Destroy()
  29.     char:FindFirstChild("RightHand"):Destroy()
  30.     char:FindFirstChild("LeftLowerArm"):Destroy()
  31.     char:FindFirstChild("RightLowerArm"):Destroy()
  32.     char:FindFirstChild("LeftLowerLeg"):Destroy()
  33.     char:FindFirstChild("RightLowerLeg"):Destroy()
  34.     char:FindFirstChild("LeftFoot"):Destroy()
  35.     char:FindFirstChild("RightFoot"):Destroy()
  36.    clone = char:FindFirstChild("UpperTorso"):Clone()
  37.    clone.Parent = char
  38.    clone.Name = "Torso"
  39.     char:FindFirstChild("LeftUpperArm").Name = "Left Arm"
  40.     char:FindFirstChild("LeftUpperLeg").Name = "Left Leg"
  41.     char:FindFirstChild("RightUpperArm").Name = "Right Arm"
  42.     char:FindFirstChild("RightUpperLeg").Name = "Right Leg"
  43.     char:FindFirstChild("LowerTorso")
  44.     rootjk = Instance.new("Motor6D",char.HumanoidRootPart)
  45.     rootjk.Name = "RootJoint"
  46.     rootjk.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  47.     rootjk.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  48.     rootjk.CurrentAngle = 0
  49.     rootjk.DesiredAngle = 0
  50.     rootjk.MaxVelocity = 0.1
  51.     rootjk.Part0 = char.HumanoidRootPart
  52.     rootjk.Part1 = char.Torso
  53. end
  54.  
  55. local hed = char.Head
  56. local root = char.HumanoidRootPart
  57. local rootj = root.RootJoint
  58. local tors = char.Torso
  59. local ra = char["Right Arm"]
  60. local la = char["Left Arm"]
  61. local rl = char["Right Leg"]
  62. local ll = char["Left Leg"]
  63. local change = 1
  64. local idle = 0
  65. local sine = 0
  66. local equipped = false
  67. local cam = game.Workspace.CurrentCamera
  68. local CF = CFrame.new
  69. local angles = CFrame.Angles
  70. local titan = false
  71. local Euler = CFrame.fromEulerAnglesXYZ
  72. local Rad = math.rad
  73. local IT = Instance.new
  74. local BrickC = BrickColor.new
  75. local Cos = math.cos
  76. local Acos = math.acos
  77. local Sin = math.sin
  78. local Asin = math.asin
  79. local Abs = math.abs
  80. local Mrandom = math.random
  81. local Floor = math.floor
  82. local head = char.Parent["MeshPartAccessory"].Handle
  83. local torso = char.Parent["LavaDragon"].Handle
  84. local rightarm = char.Parent["LightGuardianWings"].Handle
  85. local rightleg = char.Parent["DarkGuardianWings"].Handle
  86. local leftarm = char.Parent["RoseGuardianWings"].Handle
  87. local leftleg = char.Parent["VenomousGuardianWings"].Handle
  88. local handle1 = char.Parent["Meshes/archangelrifleAccessory"].Handle handle1.Parent.Name = "handle1"
  89. local handle2 = char.Parent["Meshes/archangelrifleAccessory"].Handle handle2.Parent.Name = "handle2"
  90. local handle3 = char.Parent["GlitterFairyWings"].Handle handle3.Parent.Name = "handle3"
  91.  
  92. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  93. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  94. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  95.  
  96. ArtificialHB = Instance.new("BindableEvent", script)
  97. ArtificialHB.Name = "Heartbeat"
  98. script:WaitForChild("Heartbeat")
  99.  
  100. frame = 1 / 90
  101. tf = 0
  102. allowframeloss = false
  103. tossremainder = false
  104.  
  105.  
  106. lastframe = tick()
  107. script.Heartbeat:Fire()
  108.  
  109.  
  110. game:GetService("RunService").Heartbeat:connect(function(s, p)
  111.     tf = tf + s
  112.     if tf >= frame then
  113.         if allowframeloss then
  114.             script.Heartbeat:Fire()
  115.             lastframe = tick()
  116.         else
  117.             for i = 1, math.floor(tf / frame) do
  118.                 script.Heartbeat:Fire()
  119.             end
  120.             lastframe = tick()
  121.         end
  122.         if tossremainder then
  123.             tf = 0
  124.         else
  125.             tf = tf - frame * math.floor(tf / frame)
  126.         end
  127.     end
  128. end)
  129.  
  130.  
  131. function swait(num)
  132.     if num == 0 or num == nil then
  133.         game:service("RunService").Stepped:wait(0)
  134.     else
  135.         for i = 0, num do
  136.             game:service("RunService").Stepped:wait(0)
  137.         end
  138.     end
  139. end
  140. function thread(f)
  141.     coroutine.resume(coroutine.create(f))
  142. end
  143. function clerp(a, b, t)
  144.     local qa = {
  145.         QuaternionFromCFrame(a)
  146.     }
  147.     local qb = {
  148.         QuaternionFromCFrame(b)
  149.     }
  150.     local ax, ay, az = a.x, a.y, a.z
  151.     local bx, by, bz = b.x, b.y, b.z
  152.     local _t = 1 - t
  153.     return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  154. end
  155. function QuaternionFromCFrame(cf)
  156.     local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  157.     local trace = m00 + m11 + m22
  158.     if trace > 0 then
  159.         local s = math.sqrt(1 + trace)
  160.         local recip = 0.5 / s
  161.         return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  162.     else
  163.         local i = 0
  164.         if m00 < m11 then
  165.             i = 1
  166.         end
  167.         if m22 > (i == 0 and m00 or m11) then
  168.             i = 2
  169.         end
  170.         if i == 0 then
  171.             local s = math.sqrt(m00 - m11 - m22 + 1)
  172.             local recip = 0.5 / s
  173.             return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  174.         elseif i == 1 then
  175.             local s = math.sqrt(m11 - m22 - m00 + 1)
  176.             local recip = 0.5 / s
  177.             return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  178.         elseif i == 2 then
  179.             local s = math.sqrt(m22 - m00 - m11 + 1)
  180.             local recip = 0.5 / s
  181.             return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  182.         end
  183.     end
  184. end
  185. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  186.     local xs, ys, zs = x + x, y + y, z + z
  187.     local wx, wy, wz = w * xs, w * ys, w * zs
  188.     local xx = x * xs
  189.     local xy = x * ys
  190.     local xz = x * zs
  191.     local yy = y * ys
  192.     local yz = y * zs
  193.     local zz = z * zs
  194.     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))
  195. end
  196. function QuaternionSlerp(a, b, t)
  197.     local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  198.     local startInterp, finishInterp
  199.     if cosTheta >= 1.0E-4 then
  200.         if 1 - cosTheta > 1.0E-4 then
  201.             local theta = math.acos(cosTheta)
  202.             local invSinTheta = 1 / Sin(theta)
  203.             startInterp = Sin((1 - t) * theta) * invSinTheta
  204.             finishInterp = Sin(t * theta) * invSinTheta
  205.         else
  206.             startInterp = 1 - t
  207.             finishInterp = t
  208.         end
  209.     elseif 1 + cosTheta > 1.0E-4 then
  210.         local theta = math.acos(-cosTheta)
  211.         local invSinTheta = 1 / Sin(theta)
  212.         startInterp = Sin((t - 1) * theta) * invSinTheta
  213.         finishInterp = Sin(t * theta) * invSinTheta
  214.     else
  215.         startInterp = t - 1
  216.         finishInterp = t
  217.     end
  218.     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
  219. end
  220. function rayCast(Position, Direction, Range, Ignore)
  221.     return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  222. end
  223.  
  224. local inf = math.huge
  225. local vt = Vector3.new
  226.  
  227. head.AccessoryWeld:Destroy()
  228. torso.AccessoryWeld:Destroy()
  229. rightarm.AccessoryWeld:Destroy()
  230. rightleg.AccessoryWeld:Destroy()
  231. leftarm.AccessoryWeld:Destroy()
  232. leftleg.AccessoryWeld:Destroy()
  233. handle1.AccessoryWeld:Destroy()
  234. handle2.AccessoryWeld:Destroy()
  235. handle3.AccessoryWeld:Destroy()
  236.  
  237.  
  238.  
  239. torso.SpecialMesh:Destroy()
  240. rightarm.SpecialMesh:Destroy()
  241. rightleg.SpecialMesh:Destroy()
  242. leftarm.SpecialMesh:Destroy()
  243. leftleg.SpecialMesh:Destroy()
  244. handle1.SpecialMesh:Destroy()
  245. handle2.SpecialMesh:Destroy()
  246. handle3.SpecialMesh:Destroy()
  247.  
  248.  
  249. ------------align position--------
  250.  
  251.  
  252. -----------
  253.  
  254. --torso
  255. local hat2               = Instance.new("Part",tors)
  256. hat2.Name = "torso"
  257. hat2.Position = char.Torso.Position
  258. hat2.Size                = torso.Size
  259. hat2.Transparency        = 1
  260. hat2.CanCollide          = false
  261. local _ap                 = Instance.new("AlignPosition",torso)
  262. local _ao                 = Instance.new("AlignOrientation",torso)
  263. local _att1,_att2,torsweld     = Instance.new("Attachment",torso),Instance.new("Attachment",hat2),Instance.new("Weld",hat2)
  264. torsweld.Part0,torsweld.Part1    = hat2,tors
  265. torsweld.C1 = CFrame.new(0,1.195,0)
  266. _ap.MaxForce              = 1.7976932442896e+38
  267. _ap.MaxVelocity           = inf
  268. _ap.ReactionForceEnabled  = false
  269. _ap.Responsiveness        = 200
  270. _ap.Attachment0           = _att1
  271. _ap.Attachment1           = _att2
  272. _ao.MaxTorque             = inf
  273. _ao.MaxAngularVelocity    = inf
  274. _ao.ReactionTorqueEnabled = true
  275. _ao.Responsiveness        = 200
  276. _ao.Attachment0           = _att1
  277. _ao.Attachment1           = _att2
  278. _att2.Orientation         = vt(0,0,0)
  279. _att2.Position            = vt(0,8,0)
  280. -----------
  281. local hat1               = Instance.new("Part",torso)
  282. hat1.Name = "head"
  283. hat1.Size                = head.Size
  284. hat1.Transparency        = 1
  285. hat1.CanCollide          = false
  286. local ap                 = Instance.new("AlignPosition",head)
  287. local ao                 = Instance.new("AlignOrientation",head)
  288. local att1,att2,weld     = Instance.new("Attachment",head),Instance.new("Attachment",hat1),Instance.new("Weld",hat1)
  289. weld.Part0,weld.Part1    = hat1,torso
  290. weld.C1 = CF(0.0500011444, 4.75, 0.130000114) *angles(Rad(0),Rad(0),Rad(0))
  291. ap.MaxForce              = 1.7976932442896e+38
  292. ap.MaxVelocity           = inf
  293. ap.ReactionForceEnabled  = false
  294. ap.Responsiveness        = 200
  295. ap.Attachment0           = att1
  296. ap.Attachment1           = att2
  297. ao.MaxTorque             = inf
  298. ao.MaxAngularVelocity    = inf
  299. ao.ReactionTorqueEnabled = false
  300. ao.Responsiveness        = 200
  301. ao.Attachment0           = att1
  302. ao.Attachment1           = att2
  303. att2.Orientation         = vt(0, 0, 0)
  304. att2.Position            = vt(0,0,0)
  305. -----------
  306. --right arm
  307.  
  308. local hat2               = Instance.new("Part",torso)
  309. hat2.Name = "rightarm"
  310. hat2.Size                = rightarm.Size
  311. hat2.Position = char.Torso.Position
  312. hat2.Transparency        = 1
  313. hat2.CanCollide          = false
  314. local _ap                 = Instance.new("AlignPosition",rightarm)
  315. local _ao                 = Instance.new("AlignOrientation",rightarm)
  316. local _att1,_att2,_weld     = Instance.new("Attachment",rightarm),Instance.new("Attachment",hat2),Instance.new("Weld",hat2)
  317. _weld.Part0,_weld.Part1    = hat2,torso
  318. _weld.C1 = CF(4.23, -1.25, 0)  * angles(Rad(0), Rad(90),    Rad(90))
  319. _ap.MaxForce              = 1.7976932442896e+38
  320. _ap.MaxVelocity           = inf
  321. _ap.ReactionForceEnabled  = false
  322. _ap.Responsiveness        = 200
  323. _ap.Attachment0           = _att1
  324. _ap.Attachment1           = _att2
  325. _ao.MaxTorque             = inf
  326. _ao.MaxAngularVelocity    = inf
  327. _ao.ReactionTorqueEnabled = false
  328. _ao.Responsiveness        = 200
  329. _ao.Attachment0           = _att1
  330. _ao.Attachment1           = _att2
  331. _att2.Orientation         = vt(0, 0,0)
  332. _att2.Position            = vt(0, 0, 0)
  333. -----------
  334. --left arm
  335. local hat2               = Instance.new("Part",torso)
  336. hat2.Name = "leftarm"
  337. hat2.Size                = leftarm.Size
  338. hat2.Transparency        = 1
  339. hat2.CanCollide          = false
  340. local _ap                = Instance.new("AlignPosition",leftarm)
  341. local _ao                = Instance.new("AlignOrientation",leftarm)
  342. local _att1,_att2,_weld  = Instance.new("Attachment",leftarm),Instance.new("Attachment",hat2),Instance.new("Weld",hat2)
  343. _weld.Part0,_weld.Part1    = hat2,torso
  344. _weld.C1 = CF(-4.23, -1.25, 0)  * angles(Rad(0), Rad(90),   Rad(90))
  345. _ap.MaxForce              = 1.7976932442896e+38
  346. _ap.MaxVelocity           = inf
  347. _ap.ReactionForceEnabled  = false
  348. _ap.Responsiveness        = 200
  349. _ap.Attachment0           = _att1
  350. _ap.Attachment1           = _att2
  351. _ao.MaxTorque             = inf
  352. _ao.MaxAngularVelocity    = inf
  353. _ao.ReactionTorqueEnabled = false
  354. _ao.Responsiveness        = 200
  355. _ao.Attachment0           = _att1
  356. _ao.Attachment1           = _att2
  357. _att2.Orientation         = vt(0,0,0)
  358. _att2.Position            = vt(0,0,0)
  359. -----------
  360.  
  361. --right leg
  362. local hat2               = Instance.new("Part",torso)
  363. hat2.Name = "rightleg"
  364. hat2.Size                = rightleg.Size
  365. hat2.Transparency        = 1
  366. hat2.CanCollide          = false
  367. local _ap                 = Instance.new("AlignPosition",rightleg)
  368. local _ao                 = Instance.new("AlignOrientation",rightleg)
  369. local _att1,_att2,_weld     = Instance.new("Attachment",rightleg),Instance.new("Attachment",hat2),Instance.new("Weld",hat2)
  370. _weld.Part0,_weld.Part1    = hat2,torso
  371. _ap.MaxForce              = 1.7976932442896e+38
  372. _ap.MaxVelocity           = inf
  373. _ap.ReactionForceEnabled  = false
  374. _ap.Responsiveness        = 200
  375. _ap.Attachment0           = _att1
  376. _ap.Attachment1           = _att2
  377. _ao.MaxTorque             = inf
  378. _ao.MaxAngularVelocity    = inf
  379. _ao.ReactionTorqueEnabled = false
  380. _ao.Responsiveness        = 200
  381. _ao.Attachment0           = _att1
  382. _ao.Attachment1           = _att2
  383. _att2.Orientation         = vt(0, -90.39, 90)
  384. _att2.Position            = vt(1.72999954, -7.63000011, 0)
  385.  
  386. -----------
  387. --left leg
  388.  
  389. local hat2               = Instance.new("Part",torso)
  390. hat2.Name = "leftleg"
  391. hat2.Size                = leftleg.Size
  392. hat2.Transparency        = 1
  393. hat2.CanCollide          = false
  394. local _ap                 = Instance.new("AlignPosition",leftleg)
  395. local _ao                 = Instance.new("AlignOrientation",leftleg)
  396. local _att1,_att2,_weld     = Instance.new("Attachment",leftleg),Instance.new("Attachment",hat2),Instance.new("Weld",hat2)
  397. _weld.Part0,_weld.Part1    = hat2,torso
  398. _ap.MaxForce              = 1.7976932442896e+38
  399. _ap.MaxVelocity           = inf
  400. _ap.ReactionForceEnabled  = false
  401. _ap.Responsiveness        = 200
  402. _ap.Attachment0           = _att1
  403. _ap.Attachment1           = _att2
  404. _ao.MaxTorque             = inf
  405. _ao.MaxAngularVelocity    = inf
  406. _ao.ReactionTorqueEnabled = false
  407. _ao.Responsiveness        = 200
  408. _ao.Attachment0           = _att1
  409. _ao.Attachment1           = _att2
  410. _att2.Orientation         = vt(0, -90.39, 90)
  411. _att2.Position            = vt(-1.56000137, -7.63000011, 0)
  412. -----------
  413. --handle1
  414. local hat2               = Instance.new("Part",leftarm)
  415. hat2.Name = "handle1"
  416. hat2.Size                = handle1.Size
  417.  
  418. hat2.Transparency        = 1
  419. hat2.CanCollide          = false
  420. local ap                 = Instance.new("AlignPosition",handle1)
  421. local ao                 = Instance.new("AlignOrientation",handle1)
  422. local att1,att2,HANDLEWELD     = Instance.new("Attachment",handle1),Instance.new("Attachment",hat2),Instance.new("Weld",hat2)
  423. HANDLEWELD.Part0,HANDLEWELD.Part1    = hat2,leftarm
  424. HANDLEWELD.C1 = CF(-4.5,-4,0) *angles(Rad(0),Rad(0),Rad(-90))
  425. ap.MaxForce              = 1.7976932442896e+38
  426. ap.MaxVelocity           = inf
  427. ap.ReactionForceEnabled  = false
  428. ap.Responsiveness        = 200
  429. ap.Attachment0           = att1
  430. ap.Attachment1           = att2
  431. ao.MaxTorque             = inf
  432. ao.MaxAngularVelocity    = inf
  433. ao.ReactionTorqueEnabled = false
  434. ao.Responsiveness        = 200
  435. ao.Attachment0           = att1
  436. ao.Attachment1           = att2
  437. att2.Orientation         = vt(0,0,0)
  438. att2.Position            = vt(0,0,0)
  439. -----------
  440. --handle2
  441. local hat2               = Instance.new("Part",handle1)
  442. hat2.Name = "handle2"
  443. hat2.Size                = handle2.Size
  444. hat2.Transparency        = 1
  445. hat2.CanCollide          = false
  446. local ap                 = Instance.new("AlignPosition",handle2)
  447. local ao                 = Instance.new("AlignOrientation",handle2)
  448. local att1,att2,weld     = Instance.new("Attachment",handle2),Instance.new("Attachment",hat2),Instance.new("Weld",hat2)
  449. weld.Part0,weld.Part1    = hat2,handle1
  450. weld.C1 = CF(6.4,0,0)
  451. ap.MaxForce              = 1.7976932442896e+38
  452. ap.MaxVelocity           = inf
  453. ap.ReactionForceEnabled  = false
  454. ap.Responsiveness        = 200
  455. ap.Attachment0           = att1
  456. ap.Attachment1           = att2
  457. ao.MaxTorque             = inf
  458. ao.MaxAngularVelocity    = inf
  459. ao.ReactionTorqueEnabled = false
  460. ao.Responsiveness        = 200
  461. ao.Attachment0           = att1
  462. ao.Attachment1           = att2
  463. att2.Orientation         = vt(0,0,0)
  464. att2.Position            = vt(0,0,0)
  465. -----------
  466. --handle3
  467. local hat2               = Instance.new("Part",handle1)
  468. hat2.Name = "handle2"
  469. hat2.Size                = handle3.Size
  470. hat2.Transparency        = 1
  471. hat2.CanCollide          = false
  472. local ap                 = Instance.new("AlignPosition",handle3)
  473. local ao                 = Instance.new("AlignOrientation",handle3)
  474. local att1,att2,weld     = Instance.new("Attachment",handle3),Instance.new("Attachment",hat2),Instance.new("Weld",hat2)
  475. weld.Part0,weld.Part1    = hat2,handle1
  476. weld.C1 = CF(13.2,0,0)
  477.  
  478. ap.MaxForce              = 1.7976932442896e+38
  479. ap.MaxVelocity           = inf
  480. ap.ReactionForceEnabled  = false
  481. ap.Responsiveness        = 200
  482. ap.Attachment0           = att1
  483. ap.Attachment1           = att2
  484. ao.MaxTorque             = inf
  485. ao.MaxAngularVelocity    = inf
  486. ao.ReactionTorqueEnabled = false
  487. ao.Responsiveness        = 200
  488. ao.Attachment0           = att1
  489. ao.Attachment1           = att2
  490. att2.Orientation         = vt(0,0,0)
  491. att2.Position            = vt(0,0,0)
  492.  
  493.  
  494. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  495. local neck = torso.head["Weld"]
  496. RW = torso.rightarm.Weld
  497. LW = torso.leftarm.Weld
  498. RH = torso.rightleg.Weld
  499. LH = torso.leftleg.Weld
  500. Player_Size = 1
  501. mouse.KeyDown:connect(function(key)
  502.     if string.byte(key) == 48 then
  503.         Swing = 2
  504.         hum.WalkSpeed = 40
  505.     end
  506. end)
  507. mouse.KeyUp:connect(function(key)
  508.     if string.byte(key) == 48 then
  509.         Swing = 1
  510.         hum.WalkSpeed = 8
  511.     end
  512. end)
  513.  
  514. stalker = false
  515.  
  516.  
  517. function attackrel()
  518.     titan = true
  519.     for i = 0,5,0.1 do
  520.         swait()
  521.                 hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,12.5,0),0.15)
  522.                 rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0) * angles(Rad(0), Rad(0) , Rad(0)), 0.15)
  523.                 neck.C0 = clerp(neck.C0, necko* CF(0,0,-1) * angles(Rad(90), Rad(180), Rad(0)), 0.15)
  524.                 torsweld.C0 = clerp(torsweld.C0,  CF(0* Player_Size, 0* Player_Size, 0) * angles(Rad(0), Rad(0) , Rad(0)), 0.15)
  525.  
  526.                 RW.C0 = clerp(RW.C0, CF(5.5,-5,0) * angles(Rad(-15)  , Rad(35) ,    Rad(-225)), 0.15)
  527.                 LW.C0 = clerp(LW.C0, CF(5.5,-5,0) * angles(Rad(15)  , Rad(-35) ,    Rad(-225)), 0.15)
  528.                 HANDLEWELD.C1 = CF(-4.5,4,0) *angles(Rad(15),Rad(-55),Rad(135))
  529.                 HANDLEWELD.C0 = CF(0,-3,0) *angles(Rad(0),Rad(15),Rad(-45))
  530.     end
  531.     swait(1)
  532.     for i = 0,2,0.1 do
  533.         swait()
  534.                 hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,12.5,0),0.15)
  535.                 rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0) * angles(Rad(0), Rad(0) , Rad(0)), 0.15)
  536.                 neck.C0 = clerp(neck.C0, necko* CF(0,0,-1) * angles(Rad(90), Rad(180), Rad(0)), 0.15)
  537.                 torsweld.C0 = clerp(torsweld.C0,  CF(0* Player_Size, 0* Player_Size, 0) * angles(Rad(0), Rad(0) , Rad(0)), 0.15)
  538.  
  539.                 RW.C0 = clerp(RW.C0, CF(5.5-2.5,2+1*i,0) * angles(Rad(-15)  , Rad(35) , Rad(-100+38.5*i)), 0.15)
  540.                 LW.C0 = clerp(LW.C0, CF(5.5-2.5,2+1*i,0) * angles(Rad(15)  , Rad(-35) , Rad(-100+38.5*i)), 0.15)
  541.                 HANDLEWELD.C1 = CF(-4.5,4,0) *angles(Rad(15),Rad(-55),Rad(135))
  542.                 HANDLEWELD.C0 = CF(0,-3,0) *angles(Rad(0),Rad(15),Rad(-45))
  543.     end
  544.     swait(3)
  545.     titan = false
  546. end
  547. mouse.KeyDown:connect(function(key)
  548.     if titan == false then
  549.     if key == 'e' and stalker == false then
  550.         stalker = true
  551.         HANDLEWELD.Part1 = torso
  552.         elseif key == 'e' and stalker == true then
  553. stalker = false
  554. HANDLEWELD.Part1 = leftarm
  555. end
  556. end
  557. end)
  558.  
  559.  
  560.  
  561. mouse.Button1Down:Connect(function()
  562.    
  563.     if titan == false and stalker == false then
  564.         titan = true
  565.     attackrel()
  566.                 HANDLEWELD.C1 = CF(-4.5,-4,0) *angles(Rad(0),Rad(0),Rad(-90))
  567. HANDLEWELD.C0 = CF(0,-3,0) *angles(Rad(0),Rad(15),Rad(-45))
  568.  
  569.     end
  570.    
  571. end)
  572.  
  573. while true do
  574.     swait()
  575.     sine = sine + change
  576.     local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  577.     local velderp = root.Velocity.y
  578.     hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  579.    
  580.     if hitfloor == nil then
  581.         cankick = true
  582.     else
  583.         cankick = false
  584.     end
  585.    
  586.    
  587.     if equipped == true or equipped == false then
  588.         if titan == false then
  589.             idle = idle + 1
  590.         else
  591.             idle = 0
  592.         end
  593.         if 1 < root.Velocity.y and hitfloor == nil then
  594.             Anim = "Jump"
  595.             if titan == false or titan == true or stalker == false  then
  596.                                     rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0) * angles(Rad(0), Rad(0) , Rad(0)), 0.15)
  597.                 RH.C0 = clerp(RH.C0, CF(0,-2,2.5) * angles(Rad(45),Rad(0),Rad(0)), 0.15)
  598.                 LH.C0 = clerp(LH.C0, CF(0,-2,2.5) * angles(Rad(45),Rad(0),Rad(0)), 0.15)
  599.                
  600. end
  601.             if titan == false and stalker == false then
  602.                 hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,12.5,0),0.15)
  603.             RW.C0 = clerp(RW.C0, CF(6.5,2,2) * angles(Rad(0),Rad(-35),Rad(-150)), 0.15)
  604.                 LW.C0 = clerp(LW.C0, CF(6.5,2,-2) * angles(Rad(0),Rad(35),Rad(-150)), 0.15)
  605.                                 torsweld.C0 = clerp(torsweld.C0,  CF(0* Player_Size, 0* Player_Size, 0) * angles(Rad(0), Rad(0) , Rad(0)), 0.15)
  606.  
  607.             end
  608.             if titan == false and stalker == true then
  609.                 hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,12.5,0),0.15)
  610.                 rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0) * angles(Rad(0), Rad(0) , Rad(0)), 0.15)
  611.                 RH.C0 = clerp(RH.C0, CF(0,-2,2.5) * angles(Rad(45),Rad(0),Rad(0)), 0.15)
  612.                 LH.C0 = clerp(LH.C0, CF(0,-2,2.5) * angles(Rad(45),Rad(0),Rad(0)), 0.15)
  613.                 RW.C0 = clerp(RW.C0, CF(6.5,2,2) * angles(Rad(0),Rad(-35),Rad(-150)), 0.15)
  614.                 LW.C0 = clerp(LW.C0, CF(6.5,2,-2) * angles(Rad(0),Rad(35),Rad(-150)), 0.15)
  615.                
  616.             end
  617.         elseif -1 > root.Velocity.y and hitfloor == nil then
  618.             Anim = "Fall"
  619.             if titan == false or titan == true or stalker == false  then
  620.                                 rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0) * angles(Rad(0), Rad(0) , Rad(0)), 0.15)
  621.                 RH.C0 = clerp(RH.C0, CF(0* Player_Size, 0,0) * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  622.                 LH.C0 = clerp(LH.C0, CF(0* Player_Size, 0,0) * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  623.                
  624. end
  625.             if titan == false and stalker == false then
  626.                 hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,12.5,0),0.15)
  627.                 RW.C0 = clerp(RW.C0, CF(0* Player_Size, 0* Player_Size, 0) * angles(Rad(0)  , Rad(0) ,  Rad(0)), 0.15)
  628.                 LW.C0 = clerp(LW.C0, CF(0* Player_Size, 0* Player_Size, 0) * angles(Rad(0)  , Rad(0) ,  Rad(0)), 0.15)
  629.                 torsweld.C0 = clerp(torsweld.C0,  CF(0* Player_Size, 0* Player_Size, 0) * angles(Rad(0), Rad(0) , Rad(0)), 0.15)
  630.  
  631.             end
  632.             if titan == false and stalker == true then
  633.                 hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,12.5,0),0.15)
  634.                 rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0) * angles(Rad(0), Rad(0) , Rad(0)), 0.15)
  635.                 RH.C0 = clerp(RH.C0, CF(0* Player_Size, 0,0) * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  636.                 LH.C0 = clerp(LH.C0, CF(0* Player_Size, 0,0) * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  637.                 RW.C0 = clerp(RW.C0, CF(0* Player_Size, 0* Player_Size, 0) * angles(Rad(0)  , Rad(0) ,  Rad(0)), 0.15)
  638.                 LW.C0 = clerp(LW.C0, CF(0* Player_Size, 0* Player_Size, 0) * angles(Rad(0)  , Rad(0) ,  Rad(0)), 0.15)
  639.  
  640.             end
  641.         elseif torvel < 1 and hitfloor ~= nil then
  642.             Anim = "Idle"
  643.             change = 1
  644.             if titan == false or titan == true or stalker == false  then
  645.                 RH.C0 = clerp(RH.C0, CF(0* Player_Size, 0,0) * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  646.                 LH.C0 = clerp(LH.C0, CF(0* Player_Size, 0,0) * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  647.                 neck.C0 = clerp(neck.C0, necko* CF(0,0,-1) * angles(Rad(90), Rad(180), Rad(0)), 0.15)
  648.            
  649.                     end
  650.             if titan == false and stalker == false then
  651.                 hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,12.5,0),0.15)
  652.                 rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0) * angles(Rad(0), Rad(0) , Rad(0)), 0.15)
  653.                 RW.C0 = clerp(RW.C0, CF(0,0,0) * angles(Rad(0)  , Rad(0) ,  Rad(0)), 0.15)
  654.                 LW.C0 = clerp(LW.C0, CF(4, 0, 0) * angles(Rad(15)  , Rad(0) ,   Rad(-125)), 0.15)
  655.             HANDLEWELD.C1 = CF(-4.5,-4,0) *angles(Rad(0),Rad(0),Rad(-90))
  656.             HANDLEWELD.C0 = CF(0,-3,0) *angles(Rad(0),Rad(15),Rad(-45))
  657.  
  658.             end
  659.             if titan == false and stalker == true  then
  660.                
  661.                 hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,12.5,0),0.15)
  662.                 rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0) * angles(Rad(0), Rad(0) , Rad(0)), 0.15)
  663.                 neck.C0 = clerp(neck.C0, necko* CF(0,0,-1) * angles(Rad(135), Rad(-180), Rad(0)), 0.15)
  664.                 torsweld.C0 = clerp(torsweld.C0,  CF(0* Player_Size, 0* Player_Size, 0) * angles(Rad(75), Rad(0) , Rad(0)), 0.15)
  665.  
  666.                 RH.C0 = clerp(RH.C0, CF(0, -2,-2) * angles(Rad(-50), Rad(0), Rad(0)), 0.3)
  667.                 LH.C0 = clerp(LH.C0, CF(0, -2,-2) * angles(Rad(-50), Rad(0), Rad(0)), 0.3)
  668.                 RW.C0 = clerp(RW.C0, CF(1.5,2,0) * angles(Rad(0)  , Rad(0) ,    Rad(-75)), 0.15)
  669.                 LW.C0 = clerp(LW.C0, CF(1.5,2,0) * angles(Rad(0)  , Rad(0) ,    Rad(-75)), 0.15)
  670.                 HANDLEWELD.C1 = CF(-2,2,2.5) *angles(Rad(0),Rad(0),Rad(-90))
  671.                 HANDLEWELD.C0 = CF(0,0,0) *angles(Rad(0),Rad(0),Rad(-45))
  672.                
  673.             end
  674.         elseif torvel > 2 and torvel < 22 and hitfloor ~= nil then
  675.             Anim = "Walk"
  676.             change = 1
  677.             if titan == false or titan == true or stalker == false   then
  678.                                 rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, .575 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(15- 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(0)), 0.15)
  679.  
  680.                 RH.C0 = clerp(RH.C0, CF(0* Player_Size, .2* Player_Size,-.1* Player_Size) * angles(Rad(-15 - 15 * Cos(sine / 35)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(0 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  681.                 LH.C0 = clerp(LH.C0, CF(0* Player_Size, .2* Player_Size, -.1* Player_Size) * angles(Rad(-15 + 15 * Cos(sine / 35)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-0 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  682.                 end
  683.             if titan == false  and stalker == false then
  684.                 hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,12.5,0),0.15)
  685.                
  686.                
  687.                 RW.C0 = clerp(RW.C0, CF(1.5+1.5*Cos(sine/12),1+2*Cos(sine/12),0) * angles( Rad(0) , Rad(0),Rad(-22.5-45*Cos(sine/12))  ), 0.15)
  688.                 LW.C0 = clerp(LW.C0, CF(6.5,2,-2) * angles(Rad(0),Rad(35),Rad(-150)), 0.15)
  689.                                 torsweld.C0 = clerp(torsweld.C0,  CF(0* Player_Size, 0* Player_Size, 0) * angles(Rad(0), Rad(0) , Rad(0)), 0.15)
  690.     HANDLEWELD.C1 = CF(-4.5,-4,0) *angles(Rad(0),Rad(0),Rad(-90))
  691.             HANDLEWELD.C0 = CF(0,-3,0) *angles(Rad(0),Rad(15),Rad(-45))
  692.  
  693.             end
  694.             if titan == false and stalker == true then
  695.                 hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,2,0),0.15)
  696.                 rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0) * angles(Rad(0), Rad(0) , Rad(0)), 0.15)
  697.                 torsweld.C0 = clerp(torsweld.C0,  CF(0* Player_Size, 0* Player_Size, 0) * angles(Rad(75), Rad(0) , Rad(0)), 0.15)
  698.  
  699.                
  700.                 --neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(90), Rad(180), Rad(0) - hed.RotVelocity.Y / 15), 0.15)
  701.                 RH.C0 = clerp(RH.C0, CF(0, -2,-2) * angles(Rad(-50-35*Cos(sine/12)), Rad(0), Rad(0)), 0.3)
  702.                 LH.C0 = clerp(LH.C0, CF(0, -2,-2) * angles(Rad(-50+35*Cos(sine/12)), Rad(0), Rad(0)), 0.3)
  703.                 RW.C0 = clerp(RW.C0, CF(1.5,2,0) * angles(Rad(0)  , Rad(0) ,    Rad(-75)), 0.15)
  704.                 LW.C0 = clerp(LW.C0, CF(1.5,2,0) * angles(Rad(0)  , Rad(0) ,    Rad(-75)), 0.15)
  705.                 HANDLEWELD.C1 = CF(-2,2,2.5) *angles(Rad(0),Rad(0),Rad(-90))
  706.                 HANDLEWELD.C0 = CF(0,0,0) *angles(Rad(0),Rad(0),Rad(-45))
  707.                
  708.             end
  709.         elseif torvel >= 22 and hitfloor ~= nil then
  710.             Anim = "Sprint"
  711.             change = 1.35
  712.             if stalker == false and titan == false or titan == true   then
  713.                 rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, .575 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
  714.                 RH.C0 = clerp(RH.C0, CF(0* Player_Size, .2* Player_Size,-.25+.25*Cos(sine/12)* Player_Size) * angles(Rad(-15 - 35 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(0 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  715.                 LH.C0 = clerp(LH.C0, CF(0* Player_Size, .2* Player_Size, -.25+.25*Cos(sine/12)* Player_Size) * angles(Rad(-15 + 35 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-0 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  716.                
  717. end
  718.             if titan == false and stalker == false then
  719.                 hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,12.5,0),0.15)
  720.                 RW.C0 = clerp(RW.C0, CF(1.5+1.5*Cos(sine/12),1+2*Cos(sine/12),0) * angles( Rad(0) , Rad(0),Rad(-45-90*Cos(sine/12))  ), 0.15)
  721.                 LW.C0 = clerp(LW.C0, CF(1.5-1.5*Cos(sine/12),1-2*Cos(sine/12),0) * angles( Rad(0) , Rad(0),Rad(-45+90*Cos(sine/12))), 0.15)
  722.                 torsweld.C0 = clerp(torsweld.C0,  CF(0* Player_Size, 0* Player_Size, 0) * angles(Rad(0), Rad(0) , Rad(0)), 0.15)
  723.     HANDLEWELD.C1 = CF(-4.5,-4,0) *angles(Rad(0),Rad(0),Rad(-90))
  724.             HANDLEWELD.C0 = CF(0,-3,0) *angles(Rad(0),Rad(15),Rad(-45))
  725.  
  726.             end
  727.             if titan == false and stalker == true then
  728.                 hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,2,0),0.15)
  729.                 rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0) * angles(Rad(0), Rad(0) , Rad(0)), 0.15)
  730.                 torsweld.C0 = clerp(torsweld.C0,  CF(0* Player_Size, 0* Player_Size, 0) * angles(Rad(75), Rad(0) , Rad(0)), 0.15)
  731.  
  732.                 RH.C0 = clerp(RH.C0, CF(0,-2+1*Sin(sine/12),-1) * angles(Rad(-50+50*Sin(sine/12)), Rad(0), Rad(0)), 0.3)
  733.                 LH.C0 = clerp(LH.C0, CF(0,-2+1*Sin(sine/12),-1) * angles(Rad(-50+50*Sin(sine/12)), Rad(0), Rad(0)), 0.3)
  734.                 RW.C0 = clerp(RW.C0, CF(1.5+1*Sin(sine/12),2-1*Sin(sine/12),0) * angles(Rad(0)  , Rad(0) ,  Rad(-50-50*2*Sin(sine/12))), 0.15)
  735.                 LW.C0 = clerp(LW.C0, CF(1.5+1*Sin(sine/12),2-1*Sin(sine/12),0) * angles(Rad(0)  , Rad(0) ,  Rad(-50-50*2*Sin(sine/12))), 0.15)
  736.                 HANDLEWELD.C1 = CF(-2,2,2.5) *angles(Rad(0),Rad(0),Rad(-90))
  737.                 HANDLEWELD.C0 = CF(0,0,0) *angles(Rad(0),Rad(0),Rad(-45))
  738.                
  739.                
  740.             end
  741.         end
  742.     end
  743.  
  744.  
  745.  
  746. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement