The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Guest
Fe Pumpkin Titan script pastebin roblox
By Fe Pumpkin Titan on 2024-09-22 08:00 am | Syntax: LUA | Views: 16



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



  • Recent Roblox Scripts