carlosname

Untitled

Apr 15th, 2021 (edited)
402
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 95.47 KB | None | 0 0
  1. --Made by Fuexname/Carlosname
  2. -- date:3/25/2021
  3. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
  4. do
  5. script.Parent = owner.Character
  6. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  7. local function NewFakeEvent()
  8. local Bind = Instance.new("BindableEvent")
  9. local Fake;Fake = {Connections = {},
  10. fakeEvent=true;
  11. Connect=function(self,Func)
  12. Bind.Event:connect(Func)
  13. self.Connections[Bind] = true
  14. return setmetatable({Connected = true},{
  15. __index = function (self,Index)
  16. if Index:lower() == "disconnect" then
  17. return function() Fake.Connections[Bind] = false;self.Connected = false end
  18. end
  19. return Fake[Index]
  20. end;
  21. __tostring = function() return "Connection" end;
  22. })
  23. end}
  24. Fake.connect = Fake.Connect;return Fake;
  25. end
  26. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  27. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  28. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  29. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  30. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  31. local function TriggerEvent(self,Event,...)
  32. local Trigger = Mouse[Event]
  33. if Trigger and Trigger.fakeEvent and Trigger.Connections then
  34. for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  35. end
  36. end
  37. Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  38. Event.OnServerEvent:Connect(function(FiredBy,Input)
  39. if FiredBy.Name ~= owner.Name then return end
  40. if Input.MouseEvent then
  41. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  42. else
  43. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  44. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  45. for _,Action in pairs(ContextActionService.Actions) do
  46. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  47. end
  48. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  49. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  50. end
  51. end)
  52. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  53. Event.Parent = NLS([[
  54. local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  55. local Input = function(Input,gameProcessedEvent)
  56. if gameProcessedEvent then return end
  57. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  58. end
  59. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  60. local Hit,Target
  61. while wait(1/30) do
  62. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  63. Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  64. end
  65. end
  66. ]],owner.Character)
  67. end
  68. RealGame = game;game = setmetatable({},{
  69. __index = function (self,Index)
  70. local Sandbox = function (Thing)
  71. if Thing:IsA("Player") then
  72. local RealPlayer = Thing
  73. return setmetatable({},{
  74. __index = function (self,Index)
  75. local Type = type(RealPlayer[Index])
  76. if Type == "function" then
  77. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  78. return function (self)return InternalData["Mouse"] end
  79. end
  80. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  81. end
  82. return RealPlayer[Index]
  83. end;
  84. __tostring = function(self) return RealPlayer.Name end
  85. })
  86. end
  87. end
  88. if RealGame[Index] then
  89. local Type = type(RealGame[Index])
  90. if Type == "function" then
  91. if Index:lower() == "getservice" or Index:lower() == "service" then
  92. return function (self,Service)
  93. local FakeServices = {
  94. ["players"] = function()
  95. return setmetatable({},{
  96. __index = function (self2,Index2)
  97. local RealService = RealGame:GetService(Service)
  98. local Type2 = type(Index2)
  99. if Type2 == "function" then
  100. return function (self,...) return RealService[Index2](RealService,...)end
  101. else
  102. if Index2:lower() == "localplayer" then return Sandbox(owner) end
  103. return RealService[Index2]
  104. end
  105. end;
  106. __tostring = function(self) return RealGame:GetService(Service).Name end
  107. })
  108. end;
  109. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  110. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  111. ["runservice"] = function()
  112. return setmetatable({},{
  113. __index = function(self2,Index2)
  114. local RealService = RealGame:GetService(Service)
  115. local Type2 = type(Index2)
  116. if Type2 == "function" then
  117. return function (self,...) return RealService[Index2](RealService,...) end
  118. else
  119. local RunServices = {
  120. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  121. ["renderstepped"] = function() return RealService["Stepped"] end
  122. }
  123. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  124. return RealService[Index2]
  125. end
  126. end
  127. })
  128. end
  129. }
  130. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  131. return RealGame:GetService(Service)
  132. end
  133. end
  134. return function (self,...) return RealGame[Index](RealGame,...) end
  135. else
  136. if game:GetService(Index) then return game:GetService(Index) end
  137. return RealGame[Index]
  138. end
  139. end
  140. return nil
  141. end
  142. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
  143. wait(0.1)
  144.  
  145. local plr = game.Players.LocalPlayer
  146. local mouse = plr:GetMouse()
  147. local char = plr.Character
  148. hum = char.Humanoid
  149. local hed = char.Head
  150. local RootPart = char.HumanoidRootPart
  151. local root = char.HumanoidRootPart
  152. local angle = 0
  153. local LightningColor = BrickColor.new('Daisy orange')
  154. local larm = char["Left Arm"]
  155. local rarm = char["Right Arm"]
  156. local lleg = char["Left Leg"]
  157. local rleg = char["Right Leg"]
  158. local tor = char.Torso
  159. local head = char.Head
  160. local root = char.HumanoidRootPart
  161. local sine = 0
  162. local RH = tor["Right Hip"]
  163. local LH = tor["Left Hip"]
  164. local RS = tor["Right Shoulder"]
  165. local LS = tor["Left Shoulder"]
  166. local neck = tor.Neck
  167. local rootjoint = root.RootJoint
  168. --local titansize = 20
  169. local Anim = "Idle"
  170. local id = -8
  171. local opposite = false
  172. local opposite2 = false
  173. local step = 40
  174. local attack = false
  175. local attacktype = 1
  176. local cf = CFrame.new
  177. local angles = CFrame.Angles
  178. function swait()
  179. game:GetService("RunService").Heartbeat:wait()
  180. end
  181. local AnimSpeed = 2.5
  182. local FrameSpeed = 1 / 60
  183. local Sine = 0
  184. local Change = 2 / AnimSpeed
  185. local Attack = false
  186. local DefaultAnims = true
  187. RS = tor:FindFirstChild("Right Shoulder")
  188. LS = tor:FindFirstChild("Left Shoulder")
  189. RH = tor:FindFirstChild("Right Hip")
  190. LH = tor:FindFirstChild("Left Hip")
  191. RJ = RootPart:FindFirstChild("RootJoint")
  192. N = tor:FindFirstChild("Neck")
  193. local RootPart = char["HumanoidRootPart"]
  194. local Torso = char["Torso"]
  195. local Head = char["Head"]
  196. local RightArm = char["Right Arm"]
  197. local LeftArm = char["Left Arm"]
  198. local RightLeg = char["Right Leg"]
  199. local LeftLeg = char["Left Leg"]
  200. local titansize = 60
  201. local RootJoint = RootPart.RootJoint
  202. local Neck = Torso.Neck
  203. local LW = Torso["Left Shoulder"]
  204. local LH = Torso["Left Hip"]
  205. local RW = Torso["Right Shoulder"]
  206. local RH = Torso["Right Hip"]
  207. Head=char.Head
  208. Root=char.HumanoidRootPart
  209. Torso=char.Torso RArm=char["Right Arm"] LArm=char["Left Arm"] RLeg=char["Right Leg"] LLeg=char["Left Leg"] RJ=Root.RootJoint Neck=Torso.Neck LS=Torso["Left Shoulder"] LH=Torso["Left Hip"] RS=Torso["Right Shoulder"] RH=Torso["Right Hip"]
  210. --------Important stuff -----------
  211. it=Instance.new IT = Instance.new cf = CFrame.new VT = Vector3.new Rad = math.rad C3 = Color3.new UD2 = UDim2.new BRICKC = BrickColor.new angles = CFrame.Angles Euler = CFrame.fromEulerAnglesXYZ Cos = math.cos Acos = math.acos Sin = math.sin Asin = math.asin ABS = math.abs MRANDOM = math.random FLOOR = math.floor
  212. radian = math.rad Rad = math.rad vt = Vector3.new BRICKC = BrickColor.new random = math.random Vec3 = Vector3.new Inst = Instance.new cFrame = CFrame.new Euler = CFrame.fromEulerAnglesXYZ vt = Vector3.new bc = BrickColor.new br = BrickColor.random it = Instance.new cf = CFrame.new IT = Instance.new CF = CFrame.new VT = Vector3.new RAD = math.rad C3 = Color3.new c3 = Color3.new UD2 = UDim2.new BRICKC = BrickColor.new ANGLES = CFrame.Angles EULER = CFrame.fromEulerAnglesXYZ COS = math.cos ACOS = math.acos SIN = math.sin ASIN = math.asin ABS = math.abs MRANDOM = math.random FLOOR = math.floor ceuler = CFrame.fromEulerAnglesXYZ
  213. cn=CFrame.new euler=CFrame.fromEulerAnglesXYZ
  214. -----------------------------------
  215. local MM = {RN = math.random, CS = math.cos, AS = math.acos, RD = math.rad, SN = math.sin}
  216. local CC = {NW = CFrame.new, AA = CFrame.Angles}
  217. local CLR = {B = BrickColor.new, T = Color3.new, RGB = Color3.fromRGB}
  218. local VV = Vector3.new
  219. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  220. local motors = {}
  221. for _, v in pairs(char:GetDescendants()) do
  222. if v:IsA("Motor6D") then
  223. motors[v.Part1.Name] = v
  224. end
  225. end
  226. local necko = cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  227. local necko2 = cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  228. local LHC0 = cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  229. local LHC1 = cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  230. local RHC0 = cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  231. local RHC1 = cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  232. local RightShoulderC0 = cf(-0.5, 0, 0) * angles(Rad(0), Rad(90), Rad(0))
  233. local LeftShoulderC0 = cf(0.5, 0, 0) * angles(Rad(0), Rad(-90), Rad(0))
  234. function TweenAnimate(object,Aniim,time,easingstyle,easingdirection,repet,reverse,deelay)
  235. local infos=TweenInfo.new(time,Enum.EasingStyle[easingstyle],Enum.EasingDirection[easingdirection],repet,reverse,deelay)
  236. local tween=game:GetService("TweenService"):Create(object,infos,Aniim)
  237. tween:Play()
  238. return tween
  239. end
  240. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  241. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  242. end
  243. local ignore = Instance.new("Model", char)
  244. ignore.Name = "Ignore"
  245. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  246. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  247. end
  248. function CreateRing(maxsize)
  249. spawn(function()
  250. local ringpart = Instance.new("Part", ignore)
  251. ringpart.Name = "Ring"
  252. ringpart.Size = Vector3.new(1,1,1)
  253. ringpart.CFrame = tor.CFrame * CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
  254. ringpart.CanCollide = false
  255. ringpart.Anchored = true
  256. ringpart.BrickColor = LightningColor
  257. ringpart.Material = Enum.Material.Neon
  258. local ringpartmesh = Instance.new('SpecialMesh', ringpart)
  259. ringpartmesh.MeshId = "rbxassetid://3270017"
  260. ringpartmesh.Scale = Vector3.new(1,1,1)
  261. ringpartmesh.VertexColor = Vector3.new(LightningColor.r,LightningColor.b,LightningColor.g)
  262. spawn(function()
  263. for i = 1,5, 0.1 do
  264. ringpartmesh.Scale = ringpartmesh.Scale:Lerp(Vector3.new(maxsize*10,maxsize*10,maxsize*10),0.1)
  265. wait()
  266. end
  267. end)
  268. wait(.5)
  269. for i = 1,20 do
  270. ringpart.Transparency = ringpart.Transparency + 0.05
  271. wait()
  272. end
  273. game.Debris:AddItem(ringpart, 5)
  274. end)
  275. end
  276. function ragdollkill(character)
  277. local victimshumanoid = character:findFirstChildOfClass("Humanoid")
  278. local checkragd = character:findFirstChild("ragded")
  279. if not checkragd then
  280. local boolvalue = Instance.new("BoolValue", character)
  281. boolvalue.Name = "ragded"
  282. if not character:findFirstChild("UpperTorso") then
  283. character.Archivable = true
  284. for i,v in pairs(character:GetChildren()) do
  285. if v.ClassName == "Sound" then
  286. v:remove()
  287. end
  288. for q,w in pairs(v:GetChildren()) do
  289. if w.ClassName == "Sound" then
  290. w:remove()
  291. end
  292. end
  293. end
  294. local ragdoll = character:Clone()
  295. for i,v in pairs(ragdoll:GetDescendants()) do
  296. if v.ClassName == "Motor" or v.ClassName == "Motor6D" then
  297. v:destroy()
  298. end
  299. end
  300. ragdoll:findFirstChildOfClass("Humanoid").BreakJointsOnDeath = false
  301. ragdoll:findFirstChildOfClass("Humanoid").Health = 0
  302. if ragdoll:findFirstChild("Health") then
  303. if ragdoll:findFirstChild("Health").ClassName == "Script" then
  304. ragdoll:findFirstChild("Health").Disabled = true
  305. end
  306. end
  307. for i,v in pairs(character:GetChildren()) do
  308. if v.ClassName == "Part" or v.ClassName == "ForceField" or v.ClassName == "Accessory" or v.ClassName == "Hat" then
  309. v:destroy()
  310. end
  311. end
  312. for i,v in pairs(character:GetChildren()) do
  313. if v.ClassName == "Accessory" then
  314. local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
  315. if attachment1 then
  316. for q,w in pairs(character:GetChildren()) do
  317. if w.ClassName == "Part" then
  318. local attachment2 = w:findFirstChild(attachment1.Name)
  319. if attachment2 then
  320. local hinge = Instance.new("HingeConstraint", v.Handle)
  321. hinge.Attachment0 = attachment1
  322. hinge.Attachment1 = attachment2
  323. hinge.LimitsEnabled = true
  324. hinge.LowerAngle = 0
  325. hinge.UpperAngle = 0
  326. end
  327. end
  328. end
  329. end
  330. end
  331. end
  332. ragdoll.Parent = workspace
  333. if ragdoll:findFirstChild("Right Arm") then
  334. local glue = Instance.new("Glue", ragdoll.Torso)
  335. glue.Part0 = ragdoll.Torso
  336. glue.Part1 = ragdoll:findFirstChild("Right Arm")
  337. glue.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  338. glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  339. local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Right Arm"))
  340. limbcollider.Size = Vector3.new(1.4,1,1)
  341. limbcollider.Shape = "Cylinder"
  342. limbcollider.Transparency = 1
  343. limbcollider.Name = "LimbCollider"
  344. local limbcolliderweld = Instance.new("Weld", limbcollider)
  345. limbcolliderweld.Part0 = ragdoll:findFirstChild("Right Arm")
  346. limbcolliderweld.Part1 = limbcollider
  347. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  348. end
  349. if ragdoll:findFirstChild("Left Arm") then
  350. local glue = Instance.new("Glue", ragdoll.Torso)
  351. glue.Part0 = ragdoll.Torso
  352. glue.Part1 = ragdoll:findFirstChild("Left Arm")
  353. glue.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  354. glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  355. local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Left Arm"))
  356. limbcollider.Size = Vector3.new(1.4,1,1)
  357. limbcollider.Shape = "Cylinder"
  358. limbcollider.Name = "LimbCollider"
  359. limbcollider.Transparency = 1
  360. local limbcolliderweld = Instance.new("Weld", limbcollider)
  361. limbcolliderweld.Part0 = ragdoll:findFirstChild("Left Arm")
  362. limbcolliderweld.Part1 = limbcollider
  363. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  364. end
  365. if ragdoll:findFirstChild("Left Leg") then
  366. local glue = Instance.new("Glue", ragdoll.Torso)
  367. glue.Part0 = ragdoll.Torso
  368. glue.Part1 = ragdoll:findFirstChild("Left Leg")
  369. glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  370. glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  371. local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Left Leg"))
  372. limbcollider.Size = Vector3.new(1.4,1,1)
  373. limbcollider.Shape = "Cylinder"
  374. limbcollider.Name = "LimbCollider"
  375. limbcollider.Transparency = 1
  376. local limbcolliderweld = Instance.new("Weld", limbcollider)
  377. limbcolliderweld.Part0 = ragdoll:findFirstChild("Left Leg")
  378. limbcolliderweld.Part1 = limbcollider
  379. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  380. end
  381. if ragdoll:findFirstChild("Right Leg") then
  382. local glue = Instance.new("Glue", ragdoll.Torso)
  383. glue.Part0 = ragdoll.Torso
  384. glue.Part1 = ragdoll:findFirstChild("Right Leg")
  385. glue.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  386. glue.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  387. local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Right Leg"))
  388. limbcollider.Size = Vector3.new(1.4,1,1)
  389. limbcollider.Shape = "Cylinder"
  390. limbcollider.Name = "LimbCollider"
  391. limbcollider.Transparency = 1
  392. local limbcolliderweld = Instance.new("Weld", limbcollider)
  393. limbcolliderweld.Part0 = ragdoll:findFirstChild("Right Leg")
  394. limbcolliderweld.Part1 = limbcollider
  395. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  396. end
  397. if ragdoll:findFirstChild("Head") and ragdoll.Torso:findFirstChild("NeckAttachment") then
  398. local HeadAttachment = Instance.new("Attachment", ragdoll["Head"])
  399. HeadAttachment.Position = Vector3.new(0, -0.5, 0)
  400. local connection = Instance.new('HingeConstraint', ragdoll["Head"])
  401. connection.LimitsEnabled = true
  402. connection.Attachment0 = ragdoll.Torso.NeckAttachment
  403. connection.Attachment1 = HeadAttachment
  404. connection.UpperAngle = 60
  405. connection.LowerAngle = -60
  406. elseif ragdoll:findFirstChild("Head") and not ragdoll.Torso:findFirstChild("NeckAttachment") then
  407. local hedweld = Instance.new("Weld", ragdoll.Torso)
  408. hedweld.Part0 = ragdoll.Torso
  409. hedweld.Part1 = ragdoll.Head
  410. hedweld.C0 = CFrame.new(0,1.5,0)
  411. end
  412. game.Debris:AddItem(ragdoll, 30)
  413. local function aaaalol()
  414. wait(0.2)
  415. local function searchforvelocity(wot)
  416. for i,v in pairs(wot:GetChildren()) do
  417. searchforvelocity(v)
  418. if v.ClassName == "BodyPosition" or v.ClassName == "BodyVelocity" then
  419. v:destroy()
  420. end
  421. end
  422. end
  423. searchforvelocity(ragdoll)
  424. wait(0.5)
  425. if ragdoll:findFirstChildOfClass("Humanoid") then
  426. ragdoll:findFirstChildOfClass("Humanoid").PlatformStand = true
  427. end
  428. if ragdoll:findFirstChild("HumanoidRootPart") then
  429. ragdoll:findFirstChild("HumanoidRootPart"):destroy()
  430. end
  431. end
  432. spawn(aaaalol)
  433. elseif character:findFirstChild("UpperTorso") then
  434. character.Archivable = true
  435. for i,v in pairs(character:GetChildren()) do
  436. if v.ClassName == "Sound" then
  437. v:remove()
  438. end
  439. for q,w in pairs(v:GetChildren()) do
  440. if w.ClassName == "Sound" then
  441. w:remove()
  442. end
  443. end
  444. end
  445. local ragdoll = character:Clone()
  446. ragdoll:findFirstChildOfClass("Humanoid").BreakJointsOnDeath = false
  447. for i,v in pairs(ragdoll:GetDescendants()) do
  448. if v.ClassName == "Motor" or v.ClassName == "Motor6D" then
  449. v:destroy()
  450. end
  451. end
  452. ragdoll:BreakJoints()
  453. ragdoll:findFirstChildOfClass("Humanoid").Health = 0
  454. if ragdoll:findFirstChild("Health") then
  455. if ragdoll:findFirstChild("Health").ClassName == "Script" then
  456. ragdoll:findFirstChild("Health").Disabled = true
  457. end
  458. end
  459. for i,v in pairs(character:GetChildren()) do
  460. if v.ClassName == "Part" or v.ClassName == "ForceField" or v.ClassName == "Accessory" or v.ClassName == "Hat" or v.ClassName == "MeshPart" then
  461. v:destroy()
  462. end
  463. end
  464. for i,v in pairs(character:GetChildren()) do
  465. if v.ClassName == "Accessory" then
  466. local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
  467. if attachment1 then
  468. for q,w in pairs(character:GetChildren()) do
  469. if w.ClassName == "Part" or w.ClassName == "MeshPart" then
  470. local attachment2 = w:findFirstChild(attachment1.Name)
  471. if attachment2 then
  472. local hinge = Instance.new("HingeConstraint", v.Handle)
  473. hinge.Attachment0 = attachment1
  474. hinge.Attachment1 = attachment2
  475. hinge.LimitsEnabled = true
  476. hinge.LowerAngle = 0
  477. hinge.UpperAngle = 0
  478. end
  479. end
  480. end
  481. end
  482. end
  483. end
  484. ragdoll.Parent = workspace
  485. local Humanoid = ragdoll:findFirstChildOfClass("Humanoid")
  486. Humanoid.PlatformStand = true
  487. local function makeballconnections(limb, attachementone, attachmenttwo, twistlower, twistupper)
  488. local connection = Instance.new('BallSocketConstraint', limb)
  489. connection.LimitsEnabled = true
  490. connection.Attachment0 = attachementone
  491. connection.Attachment1 = attachmenttwo
  492. connection.TwistLimitsEnabled = true
  493. connection.TwistLowerAngle = twistlower
  494. connection.TwistUpperAngle = twistupper
  495. local limbcollider = Instance.new("Part", limb)
  496. limbcollider.Size = Vector3.new(0.1,1,1)
  497. limbcollider.Shape = "Cylinder"
  498. limbcollider.Transparency = 1
  499. limbcollider:BreakJoints()
  500. local limbcolliderweld = Instance.new("Weld", limbcollider)
  501. limbcolliderweld.Part0 = limb
  502. limbcolliderweld.Part1 = limbcollider
  503. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2)
  504. end
  505. local function makehingeconnections(limb, attachementone, attachmenttwo, lower, upper)
  506. local connection = Instance.new('HingeConstraint', limb)
  507. connection.LimitsEnabled = true
  508. connection.Attachment0 = attachementone
  509. connection.Attachment1 = attachmenttwo
  510. connection.LimitsEnabled = true
  511. connection.LowerAngle = lower
  512. connection.UpperAngle = upper
  513. local limbcollider = Instance.new("Part", limb)
  514. limbcollider.Size = Vector3.new(0.1,1,1)
  515. limbcollider.Shape = "Cylinder"
  516. limbcollider.Transparency = 1
  517. limbcollider:BreakJoints()
  518. local limbcolliderweld = Instance.new("Weld", limbcollider)
  519. limbcolliderweld.Part0 = limb
  520. limbcolliderweld.Part1 = limbcollider
  521. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2)
  522. end
  523. local HeadAttachment = Instance.new("Attachment", Humanoid.Parent.Head)
  524. HeadAttachment.Position = Vector3.new(0, -0.5, 0)
  525. if ragdoll.UpperTorso:findFirstChild("NeckAttachment") then
  526. makehingeconnections(Humanoid.Parent.Head, HeadAttachment, ragdoll.UpperTorso.NeckAttachment, -50, 50)
  527. end
  528. makehingeconnections(Humanoid.Parent.LowerTorso, Humanoid.Parent.LowerTorso.WaistRigAttachment, Humanoid.Parent.UpperTorso.WaistRigAttachment, -50, 50)
  529. makeballconnections(Humanoid.Parent.LeftUpperArm, Humanoid.Parent.LeftUpperArm.LeftShoulderRigAttachment, Humanoid.Parent.UpperTorso.LeftShoulderRigAttachment, -200, 200, 180)
  530. makehingeconnections(Humanoid.Parent.LeftLowerArm, Humanoid.Parent.LeftLowerArm.LeftElbowRigAttachment, Humanoid.Parent.LeftUpperArm.LeftElbowRigAttachment, 0, -60)
  531. makehingeconnections(Humanoid.Parent.LeftHand, Humanoid.Parent.LeftHand.LeftWristRigAttachment, Humanoid.Parent.LeftLowerArm.LeftWristRigAttachment, -20, 20)
  532. --
  533. makeballconnections(Humanoid.Parent.RightUpperArm, Humanoid.Parent.RightUpperArm.RightShoulderRigAttachment, Humanoid.Parent.UpperTorso.RightShoulderRigAttachment, -200, 200, 180)
  534. makehingeconnections(Humanoid.Parent.RightLowerArm, Humanoid.Parent.RightLowerArm.RightElbowRigAttachment, Humanoid.Parent.RightUpperArm.RightElbowRigAttachment, 0, -60)
  535. makehingeconnections(Humanoid.Parent.RightHand, Humanoid.Parent.RightHand.RightWristRigAttachment, Humanoid.Parent.RightLowerArm.RightWristRigAttachment, -20, 20)
  536. --
  537. makeballconnections(Humanoid.Parent.RightUpperLeg, Humanoid.Parent.RightUpperLeg.RightHipRigAttachment, Humanoid.Parent.LowerTorso.RightHipRigAttachment, -80, 80, 80)
  538. makehingeconnections(Humanoid.Parent.RightLowerLeg, Humanoid.Parent.RightLowerLeg.RightKneeRigAttachment, Humanoid.Parent.RightUpperLeg.RightKneeRigAttachment, 0, 60)
  539. makehingeconnections(Humanoid.Parent.RightFoot, Humanoid.Parent.RightFoot.RightAnkleRigAttachment, Humanoid.Parent.RightLowerLeg.RightAnkleRigAttachment, -20, 20)
  540. --
  541. makeballconnections(Humanoid.Parent.LeftUpperLeg, Humanoid.Parent.LeftUpperLeg.LeftHipRigAttachment, Humanoid.Parent.LowerTorso.LeftHipRigAttachment, -80, 80, 80)
  542. makehingeconnections(Humanoid.Parent.LeftLowerLeg, Humanoid.Parent.LeftLowerLeg.LeftKneeRigAttachment, Humanoid.Parent.LeftUpperLeg.LeftKneeRigAttachment, 0, 60)
  543. makehingeconnections(Humanoid.Parent.LeftFoot, Humanoid.Parent.LeftFoot.LeftAnkleRigAttachment, Humanoid.Parent.LeftLowerLeg.LeftAnkleRigAttachment, -20, 20)
  544. for i,v in pairs(Humanoid.Parent:GetChildren()) do
  545. if v.ClassName == "Accessory" then
  546. local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
  547. if attachment1 then
  548. for q,w in pairs(Humanoid.Parent:GetChildren()) do
  549. if w.ClassName == "Part" then
  550. local attachment2 = w:findFirstChild(attachment1.Name)
  551. if attachment2 then
  552. local hinge = Instance.new("HingeConstraint", v.Handle)
  553. hinge.Attachment0 = attachment1
  554. hinge.Attachment1 = attachment2
  555. hinge.LimitsEnabled = true
  556. hinge.LowerAngle = 0
  557. hinge.UpperAngle = 0
  558. end
  559. end
  560. end
  561. end
  562. end
  563. end
  564. for i,v in pairs(ragdoll:GetChildren()) do
  565. for q,w in pairs(v:GetChildren()) do
  566. if w.ClassName == "Motor6D"--[[ and w.Name ~= "Neck"--]] and w.Name ~= "ouch_weld" then
  567. w:destroy()
  568. end
  569. end
  570. end
  571. if ragdoll:findFirstChild("HumanoidRootPart") then
  572. ragdoll.HumanoidRootPart:destroy()
  573. end
  574. if ragdoll:findFirstChildOfClass("Humanoid") then
  575. ragdoll:findFirstChildOfClass("Humanoid").PlatformStand = true
  576. end
  577. local function waitfordatmoment()
  578. wait(0.2)
  579. local function searchforvelocity(wot)
  580. for i,v in pairs(wot:GetChildren()) do
  581. searchforvelocity(v)
  582. if v.ClassName == "BodyPosition" or v.ClassName == "BodyVelocity" then
  583. v:destroy()
  584. end
  585. end
  586. end
  587. searchforvelocity(ragdoll)
  588. end
  589. spawn(waitfordatmoment)
  590. game.Debris:AddItem(ragdoll, 30)
  591. end
  592. end
  593. end
  594. function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
  595. local Hitboxpart = Instance.new("Part", ignore)
  596. Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
  597. Hitboxpart.CanCollide = false
  598. Hitboxpart.Transparency = 1
  599. Hitboxpart.Anchored = true
  600. Hitboxpart.CFrame = Pose
  601. game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
  602. Hitboxpart.Touched:connect(function(hit)
  603. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= char then
  604.  
  605. --131237241
  606. local bv = Instance.new("BodyVelocity", hit.Parent.HumanoidRootPart)
  607. bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  608. bv.Velocity = (tor.Position - hit.Parent.HumanoidRootPart.Position).Unit
  609. hit.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(Min,Max))
  610. end
  611. end)
  612. end
  613.  
  614. function Lerp(c1,c2,al)
  615. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  616. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  617. for i,v in pairs(com1) do
  618. com1[i] = v+(com2[i]-v)*al
  619. end
  620. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  621. end
  622. function QuaternionFromCFrame(cf)
  623. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  624. local trace = m00 + m11 + m22
  625. if trace > 0 then
  626. local s = math.sqrt(1 + trace)
  627. local recip = 0.5 / s
  628. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  629. else
  630. local i = 0
  631. if m11 > m00 then
  632. i = 1
  633. end
  634. if m22 > (i == 0 and m00 or m11) then
  635. i = 2
  636. end
  637. if i == 0 then
  638. local s = math.sqrt(m00 - m11 - m22 + 1)
  639. local recip = 0.5 / s
  640. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  641. elseif i == 1 then
  642. local s = math.sqrt(m11 - m22 - m00 + 1)
  643. local recip = 0.5 / s
  644. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  645. elseif i == 2 then
  646. local s = math.sqrt(m22 - m00 - m11 + 1)
  647. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  648. end
  649. end
  650. end
  651.  
  652. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  653. local xs, ys, zs = x + x, y + y, z + z
  654. local wx, wy, wz = w * xs, w * ys, w * zs
  655. local xx = x * xs
  656. local xy = x * ys
  657. local xz = x * zs
  658. local yy = y * ys
  659. local yz = y * zs
  660. local zz = z * zs
  661. 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))
  662. end
  663.  
  664. function QuaternionSlerp(a, b, t)
  665. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  666. local startInterp, finishInterp;
  667. if cosTheta >= 0.0001 then
  668. if (1 - cosTheta) > 0.0001 then
  669. local theta = math.acos(cosTheta)
  670. local invSinTheta = 1 / math.sin(theta)
  671. startInterp = math.sin((1 - t) * theta) * invSinTheta
  672. finishInterp = math.sin(t * theta) * invSinTheta
  673. else
  674. startInterp = 1 - t
  675. finishInterp = t
  676. end
  677. else
  678. if (1 + cosTheta) > 0.0001 then
  679. local theta = math.acos(-cosTheta)
  680. local invSinTheta = 1 / math.sin(theta)
  681. startInterp = math.sin((t - 1) * theta) * invSinTheta
  682. finishInterp = math.sin(t * theta) * invSinTheta
  683. else
  684. startInterp = t - 1
  685. finishInterp = t
  686. end
  687. end
  688. 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
  689. end
  690.  
  691. function Clerp(a, b, t)
  692. local qa = {QuaternionFromCFrame(a)}
  693. local qb = {QuaternionFromCFrame(b)}
  694. local ax, ay, az = a.x, a.y, a.z
  695. local bx, by, bz = b.x, b.y, b.z
  696. local _t = 1 - t
  697. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  698. end
  699. function CreateSound(Parent,ID,Volume,Pitch,Looped,EmitterSize,Position,Time,Start) local NewSound = Instance.new("Sound") if Parent ~= nil then NewSound.Parent = Parent else local SoundPart = Instance.new("Part",char) SoundPart.Anchored = true SoundPart.CanCollide = false SoundPart.Transparency = 1 SoundPart.Size = Vector3.new(1,1,1) SoundPart.Position = Position NewSound.Parent = SoundPart end NewSound.SoundId = "rbxassetid://"..ID or 0 NewSound.EmitterSize = EmitterSize or 10 NewSound.Volume = Volume or 1 NewSound.TimePosition = Start or 0 NewSound.PlaybackSpeed = Pitch or 1 NewSound.Looped = Looped or false NewSound.Playing = true if NewSound.Looped == false and Time == nil then game.Debris:AddItem(NewSound,NewSound.TimeLength+5) end if Parent == nil and Time == nil then game.Debris:AddItem(NewSound.Parent,NewSound.TimeLength+5) end if Time then game.Debris:AddItem(NewSound,Time) end return NewSound end
  700.  
  701. function Damage(Table)
  702. for _,v in pairs(workspace:GetDescendants()) do
  703. if v:FindFirstChild("Torso") and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health >= 0 and v ~= char then
  704. local Damage = math.random(Table.MinDamage,Table.MaxDamage)
  705. local Victim = v
  706. local Torso = Victim["Torso"]
  707. local Humanoid = Victim:FindFirstChildOfClass("Humanoid")
  708. if (Torso.Position - Table.Position.Position).Magnitude <= Table.Magnitude then
  709. Humanoid:TakeDamage(Damage)
  710. if Humanoid.Health <= 1 then
  711. print("b")
  712.  
  713. end
  714. if Table.Sound then
  715. CreateSound(Torso,Table.Sound,Table.Volume or 1,Table.Pitch or 1)
  716. end
  717. if Table.Type and Victim.PrimaryPart then
  718. if Table.Type == "Shake" then
  719. Victim:SetPrimaryPartCFrame(Victim.PrimaryPart.CFrame*CFrame.new(math.rad(math.random(-2,2)),0,math.rad(math.random(-2,2)))*CFrame.Angles(math.rad(math.random(-2,2)),math.rad(math.random(-2,2)),math.rad(math.random(-2,2))))
  720. end
  721. end
  722. end
  723. end
  724. end
  725. end
  726.  
  727. local defaults = {
  728. ["Head"] = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0);
  729. ["Left Arm"] = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0);
  730. ["Left Leg"] = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0);
  731. ["Right Arm"] = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0);
  732. ["Right Leg"] = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0);
  733. ["Torso"] = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0);
  734. }
  735.  
  736. function playAnimation(keyframes)
  737.  
  738. for i,v in pairs(motors) do
  739. local name = tostring(v.Part1)
  740. if keyframes[name] then
  741. coroutine.resume(coroutine.create(function()
  742. for x = 0,1,.1 do
  743. v.C0 = Clerp(v.C0,defaults[name] * keyframes[name],x)
  744. game:GetService("RunService").Stepped:Wait()
  745. end
  746. end))
  747. end
  748. end
  749.  
  750. end
  751.  
  752. function motorsToDefault()
  753. for i,v in pairs(motors) do
  754. local name = tostring(v.Part1)
  755.  
  756. coroutine.resume(coroutine.create(function()
  757. for x = 0,1,.1 do
  758. v.C0 = Clerp(v.C0,defaults[name] ,x)
  759. game:GetService("RunService").Stepped:Wait()
  760. end
  761. end))
  762. end
  763. end
  764. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  765. local wld = Instance.new("Weld", wp1)
  766. wld.Part0 = wp0
  767. wld.Part1 = wp1
  768. wld.Name = wp1.Name
  769. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  770. end
  771. morph = Instance.new("Folder", char)
  772. ----Morph Values
  773. local necktry = Instance.new("Part", morph)
  774. necktry.CanCollide = false
  775. necktry.Anchored = false
  776. necktry.Massless = true
  777. necktry.Size = Vector3.new(1, 0.5, 0.5)
  778. necktry.Transparency = 1
  779. newWeld(tor,necktry, 0, 1, 0.5)
  780. P1ACtualSize = Vector3.new(2,0.7, 0.9)
  781. P2ACtualSize = Vector3.new(1,2, 0.8)
  782. P3ACtualSize = Vector3.new(2,0.7, 0.9)
  783. RibSize = Vector3.new(0.8,0.9,1)
  784. local OBC = char:FindFirstChild("Body Colors")
  785. local P1 = Instance.new("Part", morph)
  786. local P2 = Instance.new("Part", morph)
  787. local P3 = Instance.new("Part", morph)
  788. local Rib = Instance.new("Part", morph)
  789. P1.Size = Vector3.new(2,0.7, 0.9)
  790. P1.BrickColor = BrickColor.new("Crimson")
  791. --P1.Material = "Granite"
  792. P2.Size = Vector3.new(1,2, 0.8)
  793. P2.BrickColor = BrickColor.new("Crimson")
  794. --P2.Material = "Granite"
  795. P3.Size = Vector3.new(2,0.7, 0.9)
  796. P3.BrickColor = BrickColor.new("Crimson")
  797. --P3.Material = "Granite"
  798. Rib.Size = Vector3.new(1,1,1)
  799. local meshRib = Instance.new("SpecialMesh", Rib)
  800. meshRib.MeshType = "FileMesh"
  801. meshRib.MeshId = "rbxassetid://6527039623"
  802. meshRib.Scale = Vector3.new(0.8,0.9,1)
  803. newWeld(tor,P1, 0, 0.7, 0)
  804. newWeld(tor,P2, 0, 0, 0)
  805. newWeld(tor,P3, 0, -0.7, 0)
  806. newWeld(tor,Rib, 0, -0.2, 0)
  807. P1.Transparency = 1
  808. P2.Transparency = 1
  809. P3.Transparency = 1
  810. Rib.Transparency = 1
  811. P1.Material = "SmoothPlastic"
  812. P2.Material = "SmoothPlastic"
  813. P3.Material = "SmoothPlastic"
  814. local part1C0 = CFrame.new(0, 0.7, 0)
  815.  
  816.  
  817. local part3C0 = CFrame.new(0, -0.7, 0)
  818.  
  819. hum.BreakJointsOnDeath = false
  820. local Mask = Instance.new("Part", morph)
  821. Mask.Size = Vector3.new(1,1,1)
  822. Mask.Orientation = Vector3.new(0,-180,0)
  823. local meshMask = Instance.new("SpecialMesh", Mask)
  824. meshMask.MeshType = "FileMesh"
  825. meshMask.MeshId = "rbxassetid://6685650818"
  826. meshMask.Scale = Vector3.new(1, 1, 1)
  827. newWeld(Head,Mask, 0, -0.1, 0)
  828. Mask.Transparency = 1
  829. ------
  830. local Shirt = char:FindFirstChild("Shirt")
  831. local Pants = char:FindFirstChild("Pants")
  832. local TitanIs = false
  833. local Resources = Instance.new("Folder", script)
  834. Resources.Parent = nil
  835. faceid = Head.face.Texture
  836. function waveEff3(bonuspeed, type, pos, scale, value, color) local type = type local rng = Instance.new("Part", char) rng.Anchored = true rng.BrickColor = color rng.CanCollide = false rng.FormFactor = 3 rng.Name = "Ring" rng.Material = "Neon" rng.Size = Vector3.new(1, 1, 1) rng.Transparency = 0 rng.TopSurface = 0 rng.BottomSurface = 0 rng.CFrame = pos local rngm = Instance.new("SpecialMesh", rng) rngm.MeshType = "FileMesh" rngm.MeshId = "rbxassetid://20329976" rngm.Scale = scale local scaler2 = 1 if type == "Add" then scaler2 = 1 * value elseif type == "Divide" then scaler2 = 1 / value end local randomrot = math.random(1, 2) coroutine.resume(coroutine.create(function() for i = 0, 10 / bonuspeed, 0.1 do swait() if type == "Add" then scaler2 = scaler2 - 0.01 * value / bonuspeed elseif type == "Divide" then scaler2 = scaler2 - 0.01 / value * bonuspeed end if randomrot == 1 then rng.CFrame = rng.CFrame * CFrame.Angles(0, math.rad(5 * bonuspeed / 2), 0) elseif randomrot == 2 then rng.CFrame = rng.CFrame * CFrame.Angles(0, math.rad(-5 * bonuspeed / 2), 0) end rng.Transparency = rng.Transparency + 0.01 * bonuspeed rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, 0, scaler2 * bonuspeed) end rng:Destroy() end)) end
  837. function waveEff(bonuspeed,type,typeoftrans,pos,scale,value,color)
  838. local type = type
  839. local rng = Instance.new("Part", char)
  840. rng.Anchored = true
  841. rng.BrickColor = color
  842. rng.CanCollide = false
  843. rng.FormFactor = 3
  844. rng.Name = "Ring"
  845. rng.Material = "Neon"
  846. rng.Size = Vector3.new(1, 1, 1)
  847. rng.Transparency = 0
  848. if typeoftrans == "In" then
  849. rng.Transparency = 1
  850. end
  851. rng.TopSurface = 0
  852. rng.BottomSurface = 0
  853. rng.CFrame = pos
  854. local rngm = Instance.new("SpecialMesh", rng)
  855. rngm.MeshType = "FileMesh"
  856. rngm.MeshId = "rbxassetid://20329976"
  857. rngm.Scale = scale
  858. local scaler2 = 1
  859. if type == "Add" then
  860. scaler2 = 1*value
  861. elseif type == "Divide" then
  862. scaler2 = 1/value
  863. end
  864. local randomrot = math.random(1,2)
  865. coroutine.resume(coroutine.create(function()
  866. for i = 0,10/bonuspeed,0.1 do
  867. swait()
  868. if type == "Add" then
  869. scaler2 = scaler2 - 0.01*value/bonuspeed
  870. elseif type == "Divide" then
  871. scaler2 = scaler2 - 0.01/value*bonuspeed
  872. end
  873. if randomrot == 1 then
  874. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(5*bonuspeed/2),0)
  875. elseif randomrot == 2 then
  876. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-5*bonuspeed/2),0)
  877. end
  878. if typeoftrans == "Out" then
  879. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  880. elseif typeoftrans == "In" then
  881. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  882. end
  883. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, 0, scaler2*bonuspeed)
  884. end
  885. rng:Destroy()
  886. end))
  887. end
  888. function waveEff2(bonuspeed, type, pos, scale, value, color)
  889. local type = type
  890. local rng = Instance.new("Part", char)
  891. rng.Anchored = true
  892. rng.BrickColor = color
  893. rng.CanCollide = false
  894. rng.FormFactor = 3
  895. rng.Name = "Ring"
  896. rng.Material = "Neon"
  897. rng.Size = Vector3.new(1, 1, 1)
  898. rng.Transparency = 0
  899. rng.TopSurface = 0
  900. rng.BottomSurface = 0
  901. rng.CFrame = pos
  902. local rngm = Instance.new("SpecialMesh", rng)
  903. rngm.MeshType = "FileMesh"
  904. rngm.MeshId = "rbxassetid://20329976"
  905. rngm.Scale = scale
  906. local scaler2 = 1
  907. if type == "Add" then
  908. scaler2 = 1 * value
  909. elseif type == "Divide" then
  910. scaler2 = 1 / value
  911. end
  912. local randomrot = math.random(1, 2)
  913. coroutine.resume(coroutine.create(function()
  914. for i = 0, 10 / bonuspeed, 0.1 do
  915. swait()
  916. if type == "Add" then
  917. scaler2 = scaler2 - 0.01 * value / bonuspeed
  918. elseif type == "Divide" then
  919. scaler2 = scaler2 - 0.01 / value * bonuspeed
  920. end
  921. if randomrot == 1 then
  922. rng.CFrame = rng.CFrame * CFrame.Angles(0, math.rad(5 * bonuspeed / 2), 0)
  923. elseif randomrot == 2 then
  924. rng.CFrame = rng.CFrame * CFrame.Angles(0, math.rad(-5 * bonuspeed / 2), 0)
  925. end
  926. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  927. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, 0, scaler2 * bonuspeed)
  928. end
  929. rng:Destroy()
  930. end))
  931. end
  932. function TransformR6(p, size)
  933. local pchar = p
  934. if pchar then
  935. local function scale(chr,scl)
  936. BC = Instance.new("BodyColors")
  937. local part1 = P1:FindFirstChildOfClass("Weld")
  938. local part3 = P3:FindFirstChildOfClass("Weld")
  939. if TitanIs == false then
  940. for _,v in pairs(pchar:GetChildren()) do
  941. if v:IsA("Hat") then
  942. v.Handle.Transparency = 1
  943. end
  944. end
  945.  
  946. for _,v in pairs(pchar:GetChildren()) do
  947. if v:IsA("Pants") or v:IsA("Shirt") or v.Name == "Pack" then
  948. v.Parent = Resources
  949. end
  950. end
  951. coroutine.resume(coroutine.create(function()
  952. if hum.PlatformStand == true then
  953. wait(math.random(1,15))
  954. hum.PlatformStand = false
  955. end
  956. end))
  957. OBC.Parent = nil
  958. BC.Parent = chr
  959. for _,v in pairs(morph:GetChildren()) do
  960. if v:IsA("BasePart") or v:IsA("Part") then
  961. v.Transparency = 0
  962. end
  963. end
  964. Torso.CanCollide = false
  965. Torso.Transparency = 1
  966. P1.Size = P1.Size * scl
  967. P2.Size = P2.Size * scl
  968. P3.Size = P3.Size * scl
  969. meshRib.Scale = meshRib.Scale * scl
  970. meshMask.Scale = meshMask.Scale * scl
  971. Mask.BrickColor = BrickColor.new("Institutional white")
  972. BC.HeadColor = BrickColor.new("Crimson")
  973. BC.LeftArmColor = BrickColor.new("Crimson")
  974. BC.LeftLegColor = BrickColor.new("Crimson")
  975. BC.RightArmColor = BrickColor.new("Crimson")
  976. BC.RightLegColor = BrickColor.new("Crimson")
  977. BC.TorsoColor = BrickColor.new("Crimson")
  978. Head.face.Texture = "http://www.roblox.com/asset/?id=5189209143"
  979. animo(true)
  980. elseif TitanIs == true then
  981. for _,v in pairs(pchar:GetChildren()) do
  982. if v:IsA("Hat") then
  983. v.Handle.Transparency = 0
  984. end
  985. end
  986. --coroutine.resume(coroutine.create(function()
  987. for _,v in pairs(Resources:GetChildren()) do
  988. if v:IsA("Pants") or v:IsA("Shirt") then
  989. --wait(1)
  990. v.Parent = pchar
  991. end
  992. end
  993. --end))
  994. for _,v in pairs(morph:GetChildren()) do
  995. if v:IsA("BasePart") or v:IsA("Part") or v.Name == 'Part' then
  996. v.Transparency = 1
  997. end
  998. end
  999. meshMask.Scale = Vector3.new(1, 1, 1)
  1000. P1.Size = P1ACtualSize
  1001. P2.Size = P2ACtualSize
  1002. P3.Size = P3ACtualSize
  1003. meshRib.Scale = RibSize
  1004. Head.face.Texture = faceid
  1005. Mask.BrickColor = head.BrickColor
  1006. Torso.CanCollide = true
  1007. Torso.Transparency = 0
  1008. BC:Destroy()
  1009. OBC.Parent = chr
  1010.  
  1011. end
  1012. -- Smoke2.Enabled = true
  1013. --Smoke1.Enabled = true
  1014. -- wait(0.5)
  1015. --Smoke2.Enabled = false
  1016. --Smoke1.Enabled = false
  1017. ---
  1018. local Head = chr['Head']
  1019. local Torso = chr['Torso']
  1020. local LA = chr['Left Arm']
  1021. local RA = chr['Right Arm']
  1022. local LL = chr['Left Leg']
  1023. local RL = chr['Right Leg']
  1024. local HRP = chr['HumanoidRootPart']
  1025.  
  1026. --wait(0.1)
  1027.  
  1028. Head.formFactor = 3
  1029. Torso.formFactor = 3
  1030. LA.formFactor = 3
  1031. RA.formFactor = 3
  1032. LL.formFactor = 3
  1033. RL.formFactor = 3
  1034. HRP.formFactor = 3
  1035.  
  1036. Head.Size = Vector3.new(scl * 2, scl, scl)
  1037. Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  1038. if TitanIs == false then
  1039. LA.Size = Vector3.new(scl , scl * 2, scl)
  1040. RA.Size = Vector3.new(scl , scl * 2, scl)
  1041. part1.C0 = part1.C0 * CFrame.new(0, scl/1.5, 0)
  1042. part3.C0 = part3.C0 * CFrame.new(0, -scl/1.5, 0)
  1043.  
  1044. elseif TitanIs == true then
  1045. LA.Size = Vector3.new(scl, scl * 2, scl)
  1046. RA.Size = Vector3.new(scl, scl * 2, scl)
  1047. part1.C0 = part1C0
  1048. part3.C0 = part3C0
  1049. end
  1050. LL.Size = Vector3.new(scl, scl * 2, scl)
  1051. RL.Size = Vector3.new(scl, scl * 2, scl)
  1052. HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  1053.  
  1054.  
  1055.  
  1056. --sizes = scl
  1057. local Motor1 = Torso["Neck"]
  1058. --Motor1.Part0 = Torso
  1059. --Motor1.Part1 = Head
  1060. Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  1061. Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  1062. --Motor1.Name = "Neck"
  1063.  
  1064. local Motor2 = Torso["Left Shoulder"]
  1065. -- Motor2.Part0 = Torso
  1066. -- Motor2.Part1 = LA
  1067. Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1068. Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1069. --Motor2.Name = "Left Shoulder"
  1070.  
  1071. local Motor3 = Torso["Right Shoulder"]
  1072. --Motor3.Part0 = Torso
  1073. --Motor3.Part1 = RA
  1074. Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1075. Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1076. --Motor3.Name = "Right Shoulder"
  1077.  
  1078. local Motor4 = Torso["Left Hip"]
  1079. --Motor4.Part0 = Torso
  1080. --Motor4.Part1 = LL
  1081. Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1082. Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1083. --Motor4.Name = "Left Hip"
  1084.  
  1085. local Motor5 = Torso["Right Hip"]
  1086. --Motor5.Part0 = Torso
  1087. --Motor5.Part1 = RL
  1088. Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1089. Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1090. Motor5.Name = "Right Hip"
  1091.  
  1092. local Motor6 = HRP["RootJoint"]
  1093. --Motor6.Part0 = HRP
  1094. --Motor6.Part1 = Torso
  1095. Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  1096. Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  1097.  
  1098. end
  1099.  
  1100. scale(pchar, size)
  1101. pchar.Humanoid.WalkSpeed = 15 + size
  1102. hum.JumpPower = 0
  1103. ---
  1104.  
  1105.  
  1106. end
  1107. end
  1108. local Regen = Instance.new("ParticleEmitter", nil)
  1109. Regen.Color = ColorSequence.new(Color3.new(255,255,255))
  1110. Regen.Texture = "rbxassetid://2977044760"
  1111. Regen.LightInfluence = 1
  1112. Regen.LightEmission = 0
  1113. Regen.Size = NumberSequence.new(0.25, 0.687)
  1114. Regen.Transparency = NumberSequence.new(0.562, 1)
  1115. Regen.Lifetime = NumberRange.new(0.5,1.2)
  1116. Regen.Rate = 5000
  1117. Regen.Speed = NumberRange.new(0.25)
  1118. Regen.Enabled = false
  1119. local hasregen = false
  1120. local list = {
  1121. rarm;
  1122. larm;
  1123. tor;
  1124. head;
  1125. }
  1126. function Regeneration()
  1127. if TitanIs == true then return end
  1128. if humanoid.Health == humanoid.MaxHealth then return end
  1129. if EHMMM == 5 then
  1130. return
  1131. end
  1132. --wherto = RootPart
  1133. local bep = true
  1134. local humanshealth = humanoid.Health
  1135. local ran = math.random(#list)
  1136. Regen.Parent = list[ran]
  1137. Regen.Enabled = true
  1138. humanoid:SetStateEnabled(15, false)
  1139. local de = mouse.KeyUp:connect(function(key)
  1140. if key == "b" then
  1141. bep = false
  1142. end
  1143. end)
  1144. --Speed = 7
  1145. humanoid.JumpPower = 25
  1146. local poopes = 0
  1147.  
  1148. repeat
  1149. poopes = poopes + 1
  1150. wait(0.5)
  1151. humanoid.Health = humanoid.Health + 1.5
  1152. until bep == false or poopes > 340
  1153. de:Disconnect()
  1154. humanoid:SetStateEnabled(15, true)
  1155. EHMMM = 5
  1156. Regen.Enabled = false
  1157. Regen.Parent = nil
  1158. hasregen = false
  1159. coroutine.resume(coroutine.create(function()
  1160. wait(2)
  1161. EHMMM = 0
  1162. end))
  1163. --Speed = 16
  1164. humanoid.JumpPower = 50
  1165. end
  1166. function emitsteam()
  1167. Attack = true
  1168. hum.WalkSpeed = 0
  1169. if TitanIs == false then return end
  1170. if EHMMM == 5 then
  1171. return
  1172. end
  1173. --wherto = RootPart
  1174. local bep = true
  1175. humanoid:SetStateEnabled(15, false)
  1176. local radius = Instance.new("Part", tor)
  1177. radius.Material = "ForceField"
  1178. radius.Size = tor.Size * Vector3.new(2,2,4)
  1179. radius.CanCollide = false
  1180. radius.Massless = true
  1181. newWeld(tor,radius, 0, 0, 0)
  1182.  
  1183. local steamp = Instance.new("ParticleEmitter", tor)
  1184. steamp.LightEmission = 0
  1185. steamp.LightInfluence = 0
  1186. steamp.Size = NumberSequence.new(3,0)
  1187. steamp.Texture = "rbxassetid://603193846"
  1188. steamp.Transparency = NumberSequence.new(.9)
  1189. steamp.ZOffset = 1
  1190. steamp.Lifetime = NumberRange.new(1,2)
  1191. steamp.Rate = 50 * titansize * titansize
  1192. steamp.RotSpeed = NumberRange.new(-180,180)
  1193. steamp.Speed = NumberRange.new(titansize * titansize)
  1194. steamp.SpreadAngle = Vector2.new(360,360)
  1195. local sparksp = Instance.new("ParticleEmitter", tor)
  1196. sparksp.LightEmission = 1
  1197. sparksp.LightInfluence = 0
  1198. sparksp.Color = ColorSequence.new(Color3.new(1,0,0),Color3.new(1,170/255,0))
  1199. sparksp.Size = NumberSequence.new(0.1)
  1200. sparksp.Texture = "rbxasset://textures/particles/sparkles_main.dds"
  1201. sparksp.Transparency = NumberSequence.new(0)
  1202. sparksp.ZOffset = 2
  1203. sparksp.Rate = 5000
  1204. sparksp.RotSpeed = NumberRange.new(-180,180)
  1205. sparksp.Speed = NumberRange.new(60)
  1206. sparksp.SpreadAngle = Vector2.new(360,360)
  1207. local poopes = 0
  1208. Torso.Anchored = true
  1209.  
  1210.  
  1211.  
  1212. radius.Touched:connect(function(hit)
  1213. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= char and not hit.Parent:FindFirstChild("Died") then
  1214. hit.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = true
  1215. ragdollkill(hit.Parent)
  1216. local value = Instance.new("BoolValue", hit.Parent)
  1217. value.Name = "Died"
  1218. hit.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(math.huge)
  1219. for _,v in pairs(hit.Parent:GetChildren()) do
  1220. if v:IsA("BasePart") then
  1221. v.BrickColor = BrickColor.new("Smoky grey")
  1222. local steampp = Instance.new("ParticleEmitter", v)
  1223. steampp.LightEmission = 0.8
  1224. steampp.LightInfluence = 0
  1225. steampp.Size = NumberSequence.new(2,0)
  1226. steampp.Texture = "http://www.roblox.com/asset/?id=242102147"
  1227. steampp.Transparency = NumberSequence.new(.3)
  1228. steampp.Lifetime = NumberRange.new(1,2)
  1229. steampp.ZOffset = 0.5
  1230. steampp.Rate = 35
  1231. steampp.RotSpeed = NumberRange.new(0)
  1232. steampp.Speed = NumberRange.new(2.5)
  1233. steampp.SpreadAngle = Vector2.new(0,0)
  1234. end
  1235. end
  1236. end
  1237. end)
  1238.  
  1239.  
  1240.  
  1241. wait(5)
  1242. Torso.Anchored = false
  1243. sparksp.Enabled = false
  1244. steamp.Enabled = false
  1245. radius:Destroy()
  1246. char.Humanoid.WalkSpeed = 8
  1247. sparksp:Destroy()
  1248. steamp:Destroy()
  1249. Attack = false
  1250. end
  1251.  
  1252. function Shift(charact)
  1253.  
  1254. local blast = Instance.new("Part", ignore)
  1255. blast.Size = Vector3.new(1,1,1)
  1256. blast.CFrame = charact.HumanoidRootPart.CFrame
  1257. blast.Anchored = true
  1258. blast.CanCollide = false
  1259. blast.CastShadow = false
  1260. blast.BrickColor = LightningColor
  1261. blast.Material = Enum.Material.Neon
  1262. blast.Transparency = 1
  1263. local blastmesh = Instance.new("SpecialMesh", blast)
  1264. blastmesh.Scale = Vector3.new(0,0,0)
  1265. blastmesh.MeshType = Enum.MeshType.Sphere
  1266. local blastlight = Instance.new("PointLight", blast)
  1267. blastlight.Color = BrickColor.new('Deep orange').Color
  1268. blastlight.Range = 0
  1269. blastlight.Enabled = false
  1270. local blast2 = Instance.new("Part", ignore)
  1271. blast2.Size = Vector3.new(1,1,1)
  1272. blast2.CFrame = charact.HumanoidRootPart.CFrame
  1273. blast2.Anchored = true
  1274. blast2.CanCollide = false
  1275. blast2.CastShadow = false
  1276. blast2.Transparency = 1
  1277. blast2.BrickColor = BrickColor.new('Bright orange')
  1278. blast2.Material = Enum.Material.Neon
  1279. local blastmesh2 = Instance.new("SpecialMesh", blast2)
  1280. blastmesh2.Scale = Vector3.new(0.2,0.2,0.2)
  1281. blastmesh2.MeshType = Enum.MeshType.Sphere
  1282. charact.Humanoid.WalkSpeed = 0
  1283.  
  1284. for _,v in pairs(char:GetChildren()) do
  1285. if v.Name == "3dmg" then
  1286. v.Parent = Resources
  1287. end
  1288. end
  1289. wait(1)
  1290. for _,v in pairs(tor:GetChildren()) do
  1291. if v:IsA("Weld") then
  1292. v:Destroy()
  1293. end
  1294. end
  1295.  
  1296. spawn(function()
  1297. local sound = Instance.new("Sound", charact.HumanoidRootPart)
  1298. sound.Name = "Static"
  1299. sound.SoundId = "rbxassetid://3673187353"
  1300. sound.Volume = 4
  1301. sound.TimePosition = 0.3
  1302. sound:Play()
  1303. local soundreverb = Instance.new("ReverbSoundEffect", sound)
  1304. soundreverb.DryLevel = 0
  1305. soundreverb.WetLevel = 0
  1306. soundreverb.DecayTime = 0.1
  1307. game.Debris:AddItem(sound,10)
  1308. end)
  1309.  
  1310. spawn(function()
  1311. for i = 1,10 do
  1312. spawn(function()
  1313. for i = 1,5 do
  1314. angle = angle + 0.6
  1315. local Model = Instance.new("Model",ignore)
  1316. Model.Name = "Lightning"
  1317. local Point1 = Instance.new("Part",Model)
  1318. Point1.Transparency = 1
  1319. Point1.Size = Vector3.new(0.2,0.2,0.2)
  1320. Point1.CFrame = charact.HumanoidRootPart.CFrame * CFrame.new(0,60,-(charact.HumanoidRootPart.Size.Z/2+Point1.Size.Z/2))
  1321. Point1.Anchored = true
  1322. Point1.CanCollide = false
  1323. Point1.CFrame = Point1.CFrame * CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1324.  
  1325. local Point2 = Instance.new("Part",Model)
  1326. Point2.Transparency = 1
  1327. Point2.Size = Vector3.new(0.2,0.2,0.2)
  1328. Point2.CFrame = charact.HumanoidRootPart.CFrame * CFrame.new(0,50,-(charact.HumanoidRootPart.Size.Z/2+Point2.Size.Z/2))
  1329. Point2.Anchored = true
  1330. Point2.CanCollide = false
  1331. Point2.CFrame = Point2.CFrame * CFrame.new(math.random(-8,8),math.random(-8,8),-math.random(0,8))
  1332.  
  1333. local Point3 = Instance.new("Part",Model)
  1334. Point3.Transparency = 1
  1335. Point3.Size = Vector3.new(0.2,0.2,0.2)
  1336. Point3.CFrame = charact.HumanoidRootPart.CFrame * CFrame.new(0,30,-(charact.HumanoidRootPart.Size.Z/2+Point3.Size.Z/2))
  1337. Point3.Anchored = true
  1338. Point3.CanCollide = false
  1339. Point3.CFrame = Point3.CFrame * CFrame.new(math.random(-6,6),math.random(-6,6),-math.random(0,6))
  1340.  
  1341. local Point4 = Instance.new("Part",Model)
  1342. Point4.Transparency = 1
  1343. Point4.Size = Vector3.new(0.2,0.2,0.2)
  1344. Point4.CFrame = charact.HumanoidRootPart.CFrame * CFrame.new(0,20,-(charact.HumanoidRootPart.Size.Z/2+Point1.Size.Z/2))
  1345. Point4.Anchored = true
  1346. Point4.CanCollide = false
  1347. Point4.CFrame = Point4.CFrame * CFrame.new(math.random(-4,4),math.random(-4,4),-math.random(0,4))
  1348.  
  1349. local Point5 = Instance.new("Part",Model)
  1350. Point5.Transparency = 1
  1351. Point5.Size = Vector3.new(0.2,0.2,0.2)
  1352. Point5.CFrame = charact.HumanoidRootPart.CFrame * CFrame.new(0,10,-(charact.HumanoidRootPart.Size.Z/2+Point2.Size.Z/2))
  1353. Point5.Anchored = true
  1354. Point5.CanCollide = false
  1355. Point5.CFrame = Point5.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),-math.random(0,2))
  1356.  
  1357. local Point6 = Instance.new("Part",Model)
  1358. Point6.Transparency = 1
  1359. Point6.Size = Vector3.new(0.2,0.2,0.2)
  1360. Point6.CFrame = charact.Head.CFrame
  1361. Point6.Anchored = true
  1362. Point6.CanCollide = false
  1363.  
  1364. local distance = (Point2.CFrame.p - Point1.CFrame.p).magnitude
  1365. local Light = Instance.new("Part",Model)
  1366. local PointLight = Instance.new("PointLight",Light)
  1367. PointLight.Range = 5
  1368. PointLight.Color = LightningColor.Color
  1369. Light.Transparency = 0
  1370. Light.BrickColor= LightningColor
  1371. Light.Material = "Neon"
  1372. Light.Size = Vector3.new(0.2,0.2,distance)
  1373. Light.Anchored = true
  1374. Light.CanCollide = false
  1375. Light.CFrame = CFrame.new(Point2.CFrame.p , Point1.CFrame.p) * CFrame.new(0,0,-distance/2)
  1376.  
  1377. local distance2 = (Point3.CFrame.p - Point2.CFrame.p).magnitude
  1378. local Light = Instance.new("Part",Model)
  1379. local PointLight = Instance.new("PointLight",Light)
  1380. PointLight.Range = 5
  1381. PointLight.Color = LightningColor.Color
  1382. Light.Transparency = 0
  1383. Light.BrickColor= LightningColor
  1384. Light.Material = "Neon"
  1385. Light.Size = Vector3.new(0.2,0.2,distance2)
  1386. Light.Anchored = true
  1387. Light.CanCollide = false
  1388. Light.CFrame = CFrame.new(Point3.CFrame.p , Point2.CFrame.p) * CFrame.new(0,0,-distance2/2)
  1389.  
  1390. local distance3 = (Point4.CFrame.p - Point3.CFrame.p).magnitude
  1391. local Light = Instance.new("Part",Model)
  1392. local PointLight = Instance.new("PointLight",Light)
  1393. PointLight.Range = 5
  1394. PointLight.Color = LightningColor.Color
  1395. Light.Transparency = 0
  1396. Light.BrickColor= LightningColor
  1397. Light.Material = "Neon"
  1398. Light.Size = Vector3.new(0.2,0.2,distance3)
  1399. Light.Anchored = true
  1400. Light.CanCollide = false
  1401. Light.CFrame = CFrame.new(Point4.CFrame.p , Point3.CFrame.p) * CFrame.new(0,0,-distance3/2)
  1402.  
  1403. local distance4 = (Point5.CFrame.p - Point4.CFrame.p).magnitude
  1404. local Light = Instance.new("Part",Model)
  1405. local PointLight = Instance.new("PointLight",Light)
  1406. PointLight.Range = 5
  1407. PointLight.Color = LightningColor.Color
  1408. Light.Transparency = 0
  1409. Light.BrickColor= LightningColor
  1410. Light.Material = "Neon"
  1411. Light.Size = Vector3.new(0.2,0.2,distance4)
  1412. Light.Anchored = true
  1413. Light.CanCollide = false
  1414. Light.CFrame = CFrame.new(Point5.CFrame.p , Point4.CFrame.p) * CFrame.new(0,0,-distance4/2)
  1415.  
  1416. local distance5 = (Point6.CFrame.p - Point5.CFrame.p).magnitude
  1417. local Light = Instance.new("Part",Model)
  1418. local PointLight = Instance.new("PointLight",Light)
  1419. PointLight.Range = 5
  1420. PointLight.Color = LightningColor.Color
  1421. Light.Transparency = 0
  1422. Light.BrickColor= LightningColor
  1423. Light.Material = "Neon"
  1424. Light.Size = Vector3.new(0.2,0.2,distance5)
  1425. Light.Anchored = true
  1426. Light.CanCollide = false
  1427. Light.CFrame = CFrame.new(Point6.CFrame.p , Point5.CFrame.p) * CFrame.new(0,0,-distance5/2)
  1428. wait()
  1429. Model:Destroy()
  1430. wait()
  1431. end
  1432. end)
  1433. end
  1434. end)
  1435.  
  1436. wait(.5)
  1437.  
  1438. blast.Transparency = 0
  1439. blast2.Transparency = 0.5
  1440. blastlight.Enabled = true
  1441. spawn(function()
  1442. local sound = Instance.new("Sound", charact.HumanoidRootPart)
  1443. sound.SoundId = "rbxassetid://93724183"
  1444. sound.Volume = 4
  1445. sound.Pitch = 0.9
  1446. sound:Play()
  1447. local soundreverb = Instance.new("ReverbSoundEffect", sound)
  1448. soundreverb.DryLevel = 0
  1449. soundreverb.WetLevel = 0
  1450. soundreverb.DecayTime = 0.1
  1451. game.Debris:AddItem(sound,10)
  1452. end)
  1453. spawn(function()
  1454. for i = 1,15 do
  1455. CreateRing(math.random(30,40))
  1456. wait(.1)
  1457. end
  1458. end)
  1459. local sparksp = Instance.new("ParticleEmitter", charact.Torso)
  1460. sparksp.LightEmission = 1
  1461. sparksp.LightInfluence = 0
  1462. sparksp.Color = ColorSequence.new(Color3.new(1,1,0),Color3.new(1,0,0))
  1463. sparksp.Size = NumberSequence.new(2,0)
  1464. sparksp.Texture = "rbxasset://textures/particles/sparkles_main.dds"
  1465. sparksp.Transparency = NumberSequence.new(0)
  1466. sparksp.ZOffset = 2
  1467. sparksp.Lifetime = NumberRange.new(5)
  1468. sparksp.Rate = 5000
  1469. sparksp.RotSpeed = NumberRange.new(-360,360)
  1470. sparksp.Speed = NumberRange.new(60)
  1471. sparksp.SpreadAngle = Vector2.new(360,360)
  1472. sparksp.Acceleration = Vector3.new(0,10,0)
  1473. local bp = Instance.new("BodyPosition", tor)
  1474. bp.Position = tor.Position + Vector3.new(0,45 * titansize/6, 0)
  1475. bp.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1476.  
  1477.  
  1478. for i = 1,30 do
  1479. blast.CFrame = root.CFrame
  1480. blastmesh.Scale = blastmesh.Scale + Vector3.new(5*titansize/7.5,5*titansize/7.5,5*titansize/7.5)
  1481. blast2.CFrame = root.CFrame
  1482. blastmesh2.Scale = blastmesh2.Scale + Vector3.new(5*titansize/7.5,5*titansize/7.5,5*titansize/7.5)
  1483. blastlight.Range = blastlight.Range + 2*titansize
  1484. wait()
  1485. end
  1486. spawn(function()
  1487. TransformR6(char,titansize)
  1488. TitanIs = true
  1489. end)
  1490. wait(1)
  1491. sparksp.Enabled = false
  1492. for i = 1,20 do
  1493. blastmesh.Scale = blastmesh.Scale + Vector3.new(0.1,0.1,0.1)
  1494. blast.Transparency = blast.Transparency + 0.05
  1495. blastmesh2.Scale = blastmesh2.Scale + Vector3.new(0.2,0.2,0.2)
  1496. blast2.Transparency = blast2.Transparency + 0.025
  1497. blastlight.Range = blastlight.Range - 2
  1498. wait()
  1499. end
  1500. blast:Destroy()
  1501. blast2:Destroy()
  1502. bp:Destroy()
  1503. hum.MaxHealth = 1500 hum.Health = 1500
  1504. hum.WalkSpeed = 8
  1505. spawn(function()
  1506. for _,v in pairs(char:GetDescendants()) do
  1507. if v:IsA("BasePart") then
  1508. v.Touched:connect(function(hit)
  1509. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= char and not hit.Parent:FindFirstChild("Died") and not hit.Parent:FindFirstChild("IsTitan") and TitanIs == true then
  1510. ragdollkill(hit.Parent)
  1511. local value = Instance.new("BoolValue", hit.Parent)
  1512. value.Name = "Died"
  1513. hit.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(math.huge)
  1514. for _,v in pairs(hit.Parent:GetChildren()) do
  1515. if v:IsA("BasePart") then
  1516. v.BrickColor = BrickColor.new("Smoky grey")
  1517. local steamp = Instance.new("ParticleEmitter", v)
  1518. steamp.LightEmission = 0.8
  1519. steamp.LightInfluence = 0
  1520. steamp.Size = NumberSequence.new(2,0)
  1521. steamp.Texture = "http://www.roblox.com/asset/?id=242102147"
  1522. steamp.Transparency = NumberSequence.new(.3)
  1523. steamp.Lifetime = NumberRange.new(1,2)
  1524. steamp.ZOffset = 0.5
  1525. steamp.Rate = 35
  1526. steamp.RotSpeed = NumberRange.new(0)
  1527. steamp.Speed = NumberRange.new(2.5)
  1528. steamp.SpreadAngle = Vector2.new(0,0)
  1529. end
  1530. end
  1531. end
  1532. end)
  1533. end
  1534. end
  1535. end)
  1536. end
  1537. humanoid = char:FindFirstChild("Humanoid")
  1538. anim = humanoid:FindFirstChild("Animator")
  1539. animo = function(dF)
  1540. if anim then
  1541. if dF == true then
  1542. anim.Parent = humanoid
  1543. char.Animate.Disabled = false
  1544. elseif dF == false then
  1545. char.Animate.Disabled = true
  1546. anim.Parent = nil
  1547. end
  1548. end
  1549. end
  1550.  
  1551. char.Archivable = true
  1552. RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1553. RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1554. LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1555. LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1556. RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1557. RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1558. LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1559. RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1560. LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1561. NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1562. NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1563. RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1564. resetlerp = function()
  1565. local Alpha,Easing,Direction,Repeat,Reverse,Delay = .3,'Linear','Out',0,false,0
  1566. TweenAnimate(RootJoint,{C0=cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*RootCF},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1567. TweenAnimate(LH,{C0=cf(-1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1568. TweenAnimate(RH,{C0=cf(1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1569. TweenAnimate(LW,{C0=cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*LeftShoulderC0},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1570. TweenAnimate(RW,{C0=cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*RightShoulderC0},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1571. TweenAnimate(Torso.Neck,{C0 =necko*angles(math.rad(-0),math.rad(0),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1572.  
  1573. end
  1574. halfsize = titansize/1.5
  1575. titanresetlerp = function()
  1576. local Alpha,Easing,Direction,Repeat,Reverse,Delay = .3,'Linear','Out',0,false,0
  1577. TweenAnimate(RootJoint,{C0=cf(0*titansize,0*titansize,0*titansize)*angles(math.rad(0),math.rad(0),math.rad(0))*RootCF},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1578. TweenAnimate(LH,{C0=cf(-1*titansize,-1*titansize,0*titansize)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1579. TweenAnimate(RH,{C0=cf(1*titansize,-1*titansize,0*titansize)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1580. TweenAnimate(LW,{C0=cf(-1.5*halfsize,0.5*titansize,0*titansize)*angles(math.rad(0),math.rad(0),math.rad(0))*LeftShoulderC0},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1581. TweenAnimate(RW,{C0=cf(1.5*halfsize,0.5*titansize,0*titansize)*angles(math.rad(0),math.rad(0),math.rad(0))*RightShoulderC0},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1582. TweenAnimate(Torso.Neck,{C0 =necko*CFrame.new(0,0,titansize)*angles(math.rad(-0),math.rad(0),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1583. end
  1584.  
  1585. function unshift()
  1586. Attack = true
  1587. animo(false)
  1588. local Alpha,Easing,Direction,Repeat,Reverse,Delay = 2,'Back','Out',0,false,0
  1589. TweenAnimate(RootJoint,{C0=cf(0*titansize,-1.3*titansize,-0.3*titansize)*angles(math.rad(-21.2),math.rad(0),math.rad(0))*RootCF},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1590. TweenAnimate(LH,{C0=cf(-1*titansize,-1*titansize,-1*titansize)*angles(math.rad(-71.7),math.rad(5.7),math.rad(-11.9))*angles(math.rad(0),math.rad(-90),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1591. TweenAnimate(RH,{C0=cf(1*titansize,-1*titansize,-1*titansize)*angles(math.rad(-67.1),math.rad(-7.7),math.rad(8.7))*angles(math.rad(0),math.rad(90),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1592. TweenAnimate(LW,{C0=cf(-1.5*halfsize,0*titansize,-0.5*titansize)*angles(math.rad(35),math.rad(-13.7),math.rad(0))*LeftShoulderC0},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1593. TweenAnimate(RW,{C0=cf(1.5*halfsize,0*titansize,-0.5*titansize)*angles(math.rad(30.7),math.rad(19.4),math.rad(1.5))*RightShoulderC0},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1594. TweenAnimate(Neck,{C0 =necko*CFrame.new(0,0,titansize)*angles(math.rad(39.7),math.rad(0),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1595. wait(Alpha)
  1596. local bodys = char:Clone()
  1597. local value = Instance.new("BoolValue", bodys)
  1598. value.Name = "IsTitan"
  1599. TransformR6(char,1) bodys.Parent = workspace
  1600. animo(true)
  1601. resetlerp()
  1602. RootPart.CFrame = necktry.CFrame
  1603. coroutine.resume(coroutine.create(function()
  1604. wait(1.5)
  1605. char.Humanoid.PlatformStand = true
  1606. lshclone = char.Torso["Left Shoulder"]
  1607. rshclone = char.Torso["Right Shoulder"]
  1608. lhclone = char.Torso["Left Hip"]
  1609. rhclone = char.Torso["Right Hip"]
  1610.  
  1611. local leftarm = char["Left Arm"]
  1612. local rightrm = char["Right Arm"]
  1613. local leftleg = char["Left Leg"]
  1614. local rightleg = char["Right Leg"]
  1615. char.Torso["Left Hip"].Parent = Resources
  1616. local head = char.Head
  1617. glue = Instance.new("Glue", char.Torso)
  1618. glue.Part0 = char.Torso
  1619. glue.Part1 = leftleg
  1620. glue.Name = "Left leg"
  1621. collider = Instance.new("Part", leftleg)
  1622. collider.Position = Vector3.new(0,999,0)
  1623. collider.Size = Vector3.new(1.5, 1, 1)
  1624. collider.Shape = "Cylinder"
  1625. local weld = Instance.new("Weld", collider)
  1626. weld.Part0 = leftleg
  1627. weld.Part1 = collider
  1628. weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  1629. collider.TopSurface = "Smooth"
  1630. collider.BottomSurface = "Smooth"
  1631. collider.formFactor = "Symmetric"
  1632. glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1633. glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1634. collider.Transparency = 1
  1635. ------------
  1636. char.Torso["Right Hip"].Parent = Resources
  1637. glue1 = Instance.new("Glue", char.Torso)
  1638. glue1.Part0 = char.Torso
  1639. glue1.Part1 = rightleg
  1640. glue1.Name = "Right leg"
  1641. collider1 = Instance.new("Part", rightleg)
  1642. collider1.Position = Vector3.new(0,9999,0)
  1643. collider1.Size = Vector3.new(1.5, 1, 1)
  1644. collider1.Shape = "Cylinder"
  1645. local weld1 = Instance.new("Weld", collider1)
  1646. weld1.Part0 = rightleg
  1647. weld1.Part1 = collider1
  1648. weld1.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  1649. collider1.TopSurface = "Smooth"
  1650. collider1.BottomSurface = "Smooth"
  1651. collider1.formFactor = "Symmetric"
  1652. glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1653. glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1654. collider1.Transparency = 1
  1655. ------------
  1656. char.Torso["Right Shoulder"].Parent = Resources
  1657. glue11 = Instance.new("Glue", char.Torso)
  1658. glue11.Part0 = char.Torso
  1659. glue11.Part1 = rightrm
  1660. glue11.Name = "Right shoulder"
  1661. collider11 = Instance.new("Part", rightrm)
  1662. collider11.Position = Vector3.new(0,9999,0)
  1663. collider11.Size = Vector3.new(1.8,1,1)
  1664. collider11.Shape = "Cylinder"
  1665. local weld11 = Instance.new("Weld", collider11)
  1666. weld11.Part0 = rightrm
  1667. weld11.Part1 = collider11
  1668. weld11.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  1669. collider11.TopSurface = "Smooth"
  1670. collider11.BottomSurface = "Smooth"
  1671. collider11.formFactor = "Symmetric"
  1672. glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1673. glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1674. collider11.Transparency = 1
  1675. ------------
  1676. char.Torso["Left Shoulder"].Parent = Resources
  1677. glue111 = Instance.new("Glue", char.Torso)
  1678. glue111.Part0 = char.Torso
  1679. glue111.Part1 = leftarm
  1680. glue111.Name = "Left shoulder"
  1681. collider111 = Instance.new("Part", leftarm)
  1682. collider111.Position = Vector3.new(0,9999,0)
  1683. collider111.Size = Vector3.new(1.5, 1, 1)
  1684. collider111.Shape = "Cylinder"
  1685. local weld111 = Instance.new("Weld", collider111)
  1686. weld111.Part0 = leftarm
  1687. weld111.Part1 = collider111
  1688. weld111.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  1689. collider111.TopSurface = "Smooth"
  1690. collider111.BottomSurface = "Smooth"
  1691. collider111.formFactor = "Symmetric"
  1692. glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1693. glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1694. collider111.Transparency = 1
  1695. -----------------
  1696. local steampp = Instance.new("ParticleEmitter", tor)
  1697. steampp.LightEmission = 0.8
  1698. steampp.LightInfluence = 0
  1699. steampp.Size = NumberSequence.new(2,0)
  1700. steampp.Texture = "http://www.roblox.com/asset/?id=242102147"
  1701. steampp.Transparency = NumberSequence.new(.3)
  1702. steampp.Lifetime = NumberRange.new(1,2)
  1703. steampp.ZOffset = 0.5
  1704. steampp.Rate = 50
  1705. steampp.RotSpeed = NumberRange.new(0)
  1706. steampp.Speed = NumberRange.new(2.5)
  1707. steampp.SpreadAngle = Vector2.new(0,0)
  1708. sensoring = Instance.new("Part", char.Torso)
  1709. sensoring.Size = Vector3.new(1.2,1.1,0.8)
  1710. sensoring.CanCollide = false
  1711. sensoring.Position = char.Torso.Position
  1712. local welder = Instance.new("Weld", sensoring)
  1713. welder.Part0 = char.Torso
  1714. welder.Part1 = sensoring
  1715. welder.C0 = welder.C0 * CFrame.new(0,0,1.05)
  1716. sensoring.Transparency = 1
  1717. -----------------
  1718. sensoring1 = Instance.new("Part", char.Torso)
  1719. sensoring1.Size = Vector3.new(1.2,1.1,0.8)
  1720. sensoring1.CanCollide = false
  1721. sensoring1.Position = char.Torso.Position
  1722. local welder1 = Instance.new("Weld", sensoring)
  1723. welder1.Part0 = char.Torso
  1724. welder1.Part1 = sensoring1
  1725. welder1.C0 = welder1.C0 * CFrame.new(0,0,-1.05)
  1726. sensoring1.Transparency = 1
  1727. TweenAnimate(Mask,{Transparency = 1},6,"Linear","Out",0,false,0)
  1728. local de = mouse.KeyDown:connect(function(key)
  1729. if key == "m" then
  1730. lshclone.Parent = char.Torso
  1731. glue:destroy()
  1732. rshclone.Parent = char.Torso
  1733. glue1:destroy()
  1734. lhclone.Parent = char.Torso
  1735. glue11:destroy()
  1736. rhclone.Parent = char.Torso
  1737. char.Humanoid.PlatformStand = false
  1738. char.Humanoid.Jump = true
  1739. glue111:destroy()
  1740. collider:destroy()
  1741. collider1:destroy()
  1742. collider11:destroy()
  1743. collider111:destroy()
  1744. sensoring:destroy()
  1745. sensoring1:destroy()
  1746. steampp:Destroy()
  1747. end
  1748. end)
  1749. end))
  1750. for _,v in pairs(bodys:GetDescendants()) do
  1751. if v:IsA("BasePart") or v:IsA("MeshPart") or v:IsA("UnionOperation") then
  1752. v.CanCollide = true
  1753. v.Anchored = true
  1754. end
  1755. end
  1756.  
  1757.  
  1758. for _,v in pairs(char:GetDescendants()) do
  1759. if v:IsA("Accessory") then
  1760. v.Handle.Transparency = 0
  1761. end
  1762. end
  1763. -- appeared = false
  1764. wait(.1)
  1765. --thenoob.Parent = nil
  1766. TitanIs = false
  1767. hum.MaxHealth = 100 hum.Health = 100
  1768. humanoid.WalkSpeed = 25
  1769. Attack = false
  1770. wait(5)
  1771. for _,v in pairs(bodys:GetDescendants()) do
  1772. if v:IsA("BasePart") or v:IsA("MeshPart") or v:IsA("UnionOperation") then
  1773. TweenAnimate(v,{Transparency = 1},6,"Linear","Out",0,false,0) TweenAnimate(v,{Color = Color3.new(0,0,0)},6,"Linear","Out",0,false,0)
  1774. end
  1775. end
  1776. wait(2)
  1777. bodys:Destroy()
  1778. end
  1779.  
  1780. spawn(function()
  1781. hum.HealthChanged:connect(function()
  1782. if TitanIs == false and hum.Health <= 15 then
  1783. hum.Health = hum.MaxHealth
  1784. hum.PlatformStand = true
  1785. Shift(char)
  1786. end
  1787. end)
  1788. end)
  1789.  
  1790. function Stomp()
  1791. animo(false)
  1792. Attack = true
  1793. attack = true
  1794. char.Humanoid.WalkSpeed = 0
  1795. hum.JumpPower = 0
  1796. local Alpha,Easing,Direction,Repeat,Reverse,Delay = 1.6,'Back','In',0,false,0
  1797. TweenAnimate(RootJoint,{C0=cf(0*titansize,0*titansize,0*titansize)*angles(math.rad(6.2),math.rad(0),math.rad(0))*RootCF},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1798. TweenAnimate(LH,{C0=cf(-1*titansize,-0.2*titansize,-0.5*titansize)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1799. TweenAnimate(RH,{C0=cf(1*titansize,-1*titansize,0*titansize)*angles(math.rad(-9.7),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1800. TweenAnimate(LW,{C0=cf(-1.5*halfsize,0.6*titansize,0.1*titansize)*angles(math.rad(0),math.rad(13.9),math.rad(-8.3))*LeftShoulderC0},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1801. TweenAnimate(RW,{C0=cf(1.4*halfsize,0.6*titansize,0.2*titansize)*angles(math.rad(0),math.rad(-25.2),math.rad(6.9))*RightShoulderC0},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1802. TweenAnimate(Torso.Neck,{C0 =necko*CFrame.new(0,0,titansize)*angles(math.rad(21.6),math.rad(0),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1803. wait(Alpha)
  1804. local Alpha,Easing,Direction,Repeat,Reverse,Delay = 0.5,'Back','Out',0,false,0
  1805. TweenAnimate(RootJoint,{C0=cf(0*titansize,0*titansize,0*titansize)*angles(math.rad(2.5),math.rad(0),math.rad(0))*RootCF},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1806. TweenAnimate(LH,{C0=cf(-1*titansize,0*titansize,-0.5*titansize)*angles(math.rad(14.2),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1807. TweenAnimate(RH,{C0=cf(1.1*titansize,-0.9*titansize,-0.2*titansize)*angles(math.rad(-6.6),math.rad(-24.3),math.rad(1.3))*angles(math.rad(0),math.rad(90),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1808. TweenAnimate(LW,{C0=cf(-1.5*halfsize,0.6,0.1)*angles(math.rad(-2.8),math.rad(14.7),math.rad(-13.8))*LeftShoulderC0},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1809. TweenAnimate(RW,{C0=cf(1.4*halfsize,0.6*titansize,0.2*titansize)*angles(math.rad(-3.7),math.rad(-25.8),math.rad(12.6))*RightShoulderC0},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1810. TweenAnimate(Torso.Neck,{C0 =necko*CFrame.new(0,0,titansize)*angles(math.rad(27),math.rad(0),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1811.  
  1812. wait(Alpha)
  1813. -- CFuncs["Sound"].Create("rbxassetid://187137517", Torso, 2, 1)
  1814. waveEff2(5, "Add", LeftLeg.CFrame * CFrame.new(0, -2*titansize, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), vt(4, 1*titansize, 0), 0.1, BrickColor.new("White"))
  1815. waveEff2(6.5, "Add", LeftLeg.CFrame * CFrame.new(0, -2*titansize, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), vt(4, 1.5*titansize, 0), 0.1, BrickColor.new("White"))
  1816.  
  1817. local Alpha,Easing,Direction,Repeat,Reverse,Delay = 1,'Back','Out',0,false,0
  1818. TweenAnimate(RootJoint,{C0=cf(0*titansize,-0.1*titansize,-0.2*titansize)*angles(math.rad(-17.3),math.rad(0),math.rad(0))*RootCF},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1819. TweenAnimate(LH,{C0=cf(-1*titansize,-0.8*titansize,-0.9*titansize)*angles(math.rad(18.1),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1820. TweenAnimate(RH,{C0=cf(1.1*titansize,-0.9*titansize,-0.3*titansize)*angles(math.rad(-9.7),math.rad(-15.8),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1821. TweenAnimate(LW,{C0=cf(-1.5*halfsize,0.7*titansize,0.1*titansize)*angles(math.rad(-5.9),math.rad(16),math.rad(-20.1))*LeftShoulderC0},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1822. TweenAnimate(RW,{C0=cf(1.5*halfsize,0.7*titansize,0.2*titansize)*angles(math.rad(-8),math.rad(-26.9),math.rad(19.3))*RightShoulderC0},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1823. TweenAnimate(Torso.Neck,{C0 =necko*CFrame.new(0,0,titansize)*angles(math.rad(33.4),math.rad(0),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1824. swait()
  1825. waveEff2(2, "Add", LeftLeg.CFrame * CFrame.new(0, -2*titansize, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), vt(2*halfsize, 2, 4*halfsize), 0.1, BrickColor.new("White"))
  1826. waveEff2(4, "Add", LeftLeg.CFrame * CFrame.new(0, -2*titansize, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), vt(2.5*halfsize, 2.5, 4.5*halfsize), 0.1, BrickColor.new("White"))
  1827. Damage({Position = LeftLeg,MinDamage = 1, MaxDamage = 85, Magnitude = halfsize})
  1828. wait(Alpha+1.6)
  1829. local Alpha,Easing,Direction,Repeat,Reverse,Delay = .8,'Back','Out',0,false,0
  1830. TweenAnimate(RootJoint,{C0=cf(0*titansize,0*titansize,0*titansize)*angles(math.rad(0),math.rad(0),math.rad(0))*RootCF},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1831. TweenAnimate(LH,{C0=cf(-1*titansize,-1*titansize,0*titansize)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1832. TweenAnimate(RH,{C0=cf(1*titansize,-1*titansize,0*titansize)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1833. TweenAnimate(LW,{C0=cf(-1.5*halfsize,0.5*titansize,0*titansize)*angles(math.rad(0),math.rad(0),math.rad(0))*LeftShoulderC0},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1834. TweenAnimate(RW,{C0=cf(1.5*halfsize,0.5*titansize,0*titansize)*angles(math.rad(0),math.rad(0),math.rad(0))*RightShoulderC0},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1835. TweenAnimate(Torso.Neck,{C0 =necko*CFrame.new(0,0,titansize)*angles(math.rad(-0),math.rad(0),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1836. wait(Alpha)
  1837. Attack = false
  1838. attack = false
  1839. titanresetlerp()
  1840. hum.WalkSpeed = 8
  1841. hum.JumpPower = 50 + titansize + titansize
  1842. animo(true)
  1843. end
  1844. local swing = "left"
  1845. local punch = function()
  1846. Attack = true
  1847. attack = true
  1848. char.Humanoid.WalkSpeed = 0
  1849. hum.JumpPower = 0
  1850. animo(false)
  1851. if swing == "left" then
  1852. local Alpha,Easing,Direction,Repeat,Reverse,Delay = .3,'Back','Out',0,false,0
  1853. TweenAnimate(RootJoint,{C0=cf(0*titansize,0*titansize,0*titansize)*angles(math.rad(0),math.rad(-46),math.rad(0))*RootCF},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1854. TweenAnimate(LH,{C0=cf(-1*titansize,-1*titansize,-0.1*titansize)*angles(math.rad(11.5),math.rad(29.8),math.rad(-5.8))*angles(math.rad(0),math.rad(-90),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1855. TweenAnimate(RH,{C0=cf(1*titansize,-1*titansize,0*titansize)*angles(math.rad(0),math.rad(-19.8),math.rad(6.6))*angles(math.rad(0),math.rad(90),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1856. TweenAnimate(LW,{C0=cf(-1*halfsize,0*titansize,-0.9*titansize)*angles(math.rad(124.4),math.rad(15.5),math.rad(54.1))*LeftShoulderC0},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1857. TweenAnimate(RW,{C0=cf(1*halfsize,1*titansize,1*titansize)*angles(math.rad(38.6),math.rad(35.9),math.rad(72.8))*RightShoulderC0},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1858. TweenAnimate(Torso.Neck,{C0 =necko*CFrame.new(0,0,titansize)*angles(math.rad(-0),math.rad(0),math.rad(35))},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1859. wait(Alpha)
  1860. local Alpha,Easing,Direction,Repeat,Reverse,Delay = .1,'Linear','Out',0,false,0
  1861. TweenAnimate(RootJoint,{C0=cf(0*titansize,0*titansize,0*titansize)*angles(math.rad(-11.9),math.rad(33.6),math.rad(4.9))*RootCF},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1862. TweenAnimate(LH,{C0=cf(-1*titansize,-1*titansize,0.1*titansize)*angles(math.rad(-0.5),math.rad(45),math.rad(-7.1))*angles(math.rad(0),math.rad(-90),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1863. TweenAnimate(RH,{C0=cf(1.1*titansize,-1*titansize,-0.2*titansize)*angles(math.rad(6.9),math.rad(-32.4),math.rad(9))*angles(math.rad(0),math.rad(90),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1864. TweenAnimate(LW,{C0=cf(-1.3*halfsize,-0.4*titansize,-0.5*titansize)*angles(math.rad(124.4),math.rad(15.5),math.rad(29.1))*LeftShoulderC0},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1865. TweenAnimate(RW,{C0=cf(1.2*halfsize,0.8*titansize,-1.3*titansize)*angles(math.rad(106.7),math.rad(60),math.rad(-18))*RightShoulderC0},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1866. TweenAnimate(Torso.Neck,{C0 =necko*CFrame.new(0,0,titansize)*angles(math.rad(-0),math.rad(0),math.rad(-25))},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  1867. wait(Alpha)
  1868. local Alpha,Easing,Direction,Repeat,Reverse,Delay = .25,'Back','Out',0,false,0 -- - Server - Tween:63
  1869. TweenAnimate(RootJoint,{C0=cf(0*titansize,0*titansize,-0.1*titansize)*angles(math.rad(-29.1),math.rad(45.5),math.rad(20.3))*RootCF},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:72
  1870. TweenAnimate(LH,{C0=cf(-1*titansize,-1*titansize,0.1*titansize)*angles(math.rad(-0.5),math.rad(45),math.rad(-12.1))*angles(math.rad(0),math.rad(-90),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:73
  1871. TweenAnimate(RH,{C0=cf(1.1*titansize,-1*titansize,-0.*titansize)*angles(math.rad(18),math.rad(-27),math.rad(14.2))*angles(math.rad(0),math.rad(90),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:74
  1872. TweenAnimate(LW,{C0=cf(-1.4*halfsize,0.4*titansize,0.7*titansize)*angles(math.rad(11.5),math.rad(52.6),math.rad(-17.5))*LeftShoulderC0},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:75
  1873. TweenAnimate(RW,{C0=cf(0.2*halfsize,0.3*titansize,-1*titansize)*angles(math.rad(125.5),math.rad(12.7),math.rad(-89.1))*RightShoulderC0},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:76
  1874. TweenAnimate(Torso.Neck,{C0 =necko*CFrame.new(0,0,titansize)*angles(math.rad(-6.1),math.rad(3.5),math.rad(-34.8))},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:77
  1875. Damage({Position = RightArm,MinDamage = 1, MaxDamage = 85, Magnitude = halfsize})
  1876. wait(Alpha)
  1877. swing = "right"
  1878. elseif swing == "right" then
  1879. local Alpha,Easing,Direction,Repeat,Reverse,Delay = .3,'Back','Out',0,false,0 -- - Server - Tween:63
  1880. TweenAnimate(RootJoint,{C0=cf(0*titansize,0*titansize,-0.1*titansize)*angles(math.rad(-13.3),math.rad(12.8),math.rad(10.6))*RootCF},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:72
  1881. TweenAnimate(LH,{C0=cf(-1*titansize,-0.9*titansize,-0.3*titansize)*angles(math.rad(1),math.rad(44.7),math.rad(-12.6))*angles(math.rad(0),math.rad(-90),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:73
  1882. TweenAnimate(RH,{C0=cf(0.8*titansize,-1*titansize,0*titansize)*angles(math.rad(7.4),math.rad(-64.3),math.rad(9.5))*angles(math.rad(0),math.rad(90),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:74
  1883. TweenAnimate(LW,{C0=cf(-1.2*halfsize,0.2*titansize,-0.3*titansize)*angles(math.rad(83.4),math.rad(30.8),math.rad(13.8))*LeftShoulderC0},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:75
  1884. TweenAnimate(RW,{C0=cf(1.5*halfsize,0.1*titansize,-0.1*titansize)*angles(math.rad(53),math.rad(34.8),math.rad(-23.4))*RightShoulderC0},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:76
  1885. TweenAnimate(Torso.Neck,{C0 =necko*CFrame.new(0,0,titansize)*angles(math.rad(-0),math.rad(0),math.rad(-13.9))},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:77
  1886. wait(Alpha)
  1887. local Alpha,Easing,Direction,Repeat,Reverse,Delay = .15,'Linear','Out',0,false,0 -- - Server - Tween:63
  1888. TweenAnimate(RootJoint,{C0=cf(0*titansize,0*titansize,-0.1*titansize)*angles(math.rad(-11.4),math.rad(-50.7),math.rad(-17.4))*RootCF},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:72
  1889. TweenAnimate(LH,{C0=cf(-1*titansize,-0.9*titansize,-0.3*titansize)*angles(math.rad(12.8),math.rad(42.1),math.rad(-16.2))*angles(math.rad(0),math.rad(-90),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:73
  1890. TweenAnimate(RH,{C0=cf(0.8*titansize,-1*titansize,0*titansize)*angles(math.rad(7.4),math.rad(-64.3),math.rad(22.8))*angles(math.rad(0),math.rad(90),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:74
  1891. TweenAnimate(LW,{C0=cf(-0.4*halfsize,1.5*titansize,-1.2*titansize)*angles(math.rad(67.1),math.rad(70.8),math.rad(110.7))*LeftShoulderC0},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:75
  1892. TweenAnimate(RW,{C0=cf(1.3*halfsize,0.3*titansize,0.2*titansize)*angles(math.rad(49.5),math.rad(-50),math.rad(55.6))*RightShoulderC0},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:76
  1893. TweenAnimate(Torso.Neck,{C0 =necko*CFrame.new(0,0,titansize)*angles(math.rad(-0),math.rad(0),math.rad(35))},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:77
  1894. Damage({Position = LeftArm,MinDamage = 1, MaxDamage = 85, Magnitude = halfsize})
  1895. wait(Alpha)
  1896. swing = "strong"
  1897. coroutine.resume(coroutine.create(function()
  1898. wait(2.5)
  1899. swing = "left"
  1900. end))
  1901. elseif swing == "strong" then
  1902. local Alpha,Easing,Direction,Repeat,Reverse,Delay = .5,'Back','Out',0,false,0 -- - Server - Tween:63
  1903. TweenAnimate(RootJoint,{C0=cf(0*titansize,0*titansize,0*titansize)*angles(math.rad(-19.4),math.rad(-39.1),math.rad(-13.9))*RootCF},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:72
  1904. TweenAnimate(LH,{C0=cf(-1*titansize,-1.1*titansize,-0.4*titansize)*angles(math.rad(11.5),math.rad(29.8),math.rad(-5.8))*angles(math.rad(0),math.rad(-90),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:73
  1905. TweenAnimate(RH,{C0=cf(1*titansize,-1*titansize,0*titansize)*angles(math.rad(1.3),math.rad(-29.7),math.rad(12.1))*angles(math.rad(0),math.rad(90),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:74
  1906. TweenAnimate(LW,{C0=cf(-1.4*halfsize,0.1*titansize,-0.2*titansize)*angles(math.rad(164.4),math.rad(-15.1),math.rad(8.9))*LeftShoulderC0},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:75
  1907. TweenAnimate(RW,{C0=cf(1.5*halfsize,0.4*titansize,0.6*titansize)*angles(math.rad(91.9),math.rad(42.3),math.rad(41.2))*RightShoulderC0},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:76
  1908. TweenAnimate(Torso.Neck,{C0 =necko*CFrame.new(0,0,titansize)*angles(math.rad(-0),math.rad(0),math.rad(35))},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:77
  1909. wait(Alpha)
  1910. local Alpha,Easing,Direction,Repeat,Reverse,Delay = .2,'Linear','Out',0,false,0 -- - Server - Tween:63
  1911. TweenAnimate(RootJoint,{C0=cf(0*titansize,0*titansize,-0.1*titansize)*angles(math.rad(-15.1),math.rad(44.1),math.rad(5.5))*RootCF},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:72
  1912. TweenAnimate(LH,{C0=cf(-1*titansize,-1.2*titansize,0.5*titansize)*angles(math.rad(15.8),math.rad(54.6),math.rad(-18.7))*angles(math.rad(0),math.rad(-90),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:73
  1913. TweenAnimate(RH,{C0=cf(1.3*titansize,-0.8*titansize,-0.5*titansize)*angles(math.rad(-4.4),math.rad(-30.6),math.rad(9.3))*angles(math.rad(0),math.rad(90),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:74
  1914. TweenAnimate(LW,{C0=cf(-1.4*halfsize,0.2*titansize,-0.3*titansize)*angles(math.rad(150.2),math.rad(-21.9),math.rad(24.4))*LeftShoulderC0},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:75
  1915. TweenAnimate(RW,{C0=cf(1.5*halfsize,1.2*titansize,-0.6*titansize)*angles(math.rad(21.5),math.rad(60.4),math.rad(84.5))*RightShoulderC0},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:76
  1916. TweenAnimate(Torso.Neck,{C0 =necko*CFrame.new(0,0,titansize)*angles(math.rad(13.8),math.rad(11.3),math.rad(-38.7))},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:77
  1917. wait(Alpha)
  1918. local Alpha,Easing,Direction,Repeat,Reverse,Delay = .15,'Back','Out',0,false,0 -- - Server - Tween:63
  1919. TweenAnimate(RootJoint,{C0=cf(0*titansize,0*titansize,-0.1*titansize)*angles(math.rad(-31.8),math.rad(50.1),math.rad(22.7))*RootCF},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:72
  1920. TweenAnimate(LH,{C0=cf(-1*titansize,-1*titansize,0.1*titansize)*angles(math.rad(6.3),math.rad(43.8),math.rad(-16.8))*angles(math.rad(0),math.rad(-90),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:73
  1921. TweenAnimate(RH,{C0=cf(1.1*titansize,-1*titansize,-0.3*titansize)*angles(math.rad(6.9),math.rad(-29),math.rad(9))*angles(math.rad(0),math.rad(90),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:74
  1922. TweenAnimate(LW,{C0=cf(-1.1*halfsize,-0.2*titansize,-0.1*titansize)*angles(math.rad(22.7),math.rad(66.5),math.rad(117.7))*LeftShoulderC0},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:75
  1923. TweenAnimate(RW,{C0=cf(0.2*halfsize,0.1*titansize,-1.1*titansize)*angles(math.rad(105),math.rad(11.6),math.rad(-84.8))*RightShoulderC0},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:76
  1924. TweenAnimate(Torso.Neck,{C0 =necko*CFrame.new(0,0,titansize)*angles(math.rad(21.7),math.rad(7.3),math.rad(-29.6))},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:77
  1925. Damage({Position = LeftLeg,MinDamage = 1, MaxDamage = 85, Magnitude = halfsize})
  1926. wait(Alpha)
  1927. swing = "left"
  1928. end
  1929. swait()
  1930. titanresetlerp()
  1931. attack = false
  1932. Attack = false
  1933. animo(true)
  1934. hum.WalkSpeed = 8
  1935. hum.JumpPower = 50 + titansize + titansize
  1936. end
  1937.  
  1938. function Pre_Shift()
  1939. if TitanIs == true then return end
  1940. if EHMMM == 5 then
  1941. return
  1942. end
  1943. local light = Instance.new("PointLight", Torso)
  1944. light.Color = Color3.fromRGB(255, 255, 0)
  1945. light.Brightness = 0.2
  1946. local sound = Instance.new("Sound", tor)
  1947. sound.SoundId = "rbxassetid://5632674204"
  1948. sound.Looped = true
  1949. sound.Volume = 3
  1950. local SF = true
  1951. humanoid:SetStateEnabled(15, false)
  1952. local de = mouse.KeyUp:connect(function(key)
  1953. if key == "p" then
  1954. SF = false
  1955. end
  1956. end)
  1957. local Rays = Instance.new("ParticleEmitter", tor)
  1958. Rays.Color = ColorSequence.new(Color3.fromRGB(255,247,11))
  1959. Rays.Texture = "http://www.roblox.com/asset/?id=1390780157"
  1960. Rays.LightInfluence = 1
  1961. Rays.LightEmission = 1
  1962. Rays.Size = NumberSequence.new(0.25, 2)
  1963. Rays.Transparency = NumberSequence.new(0.562, 1)
  1964. Rays.Lifetime = NumberRange.new(0.06)
  1965. Rays.Rotation = NumberRange.new(-180, 180)
  1966. Rays.Rate = 15 * titansize
  1967. Rays.Speed = NumberRange.new(20)
  1968. Rays.Enabled = true
  1969. --Speed = 7
  1970. humanoid.JumpPower = 15
  1971. local poopes = 0
  1972. sound:Play()
  1973. repeat
  1974. swait()
  1975. poopes = poopes + 5
  1976. TweenAnimate(light,{Brightness = light.Brightness + 5},0.05,"Linear","Out",0,false,0)
  1977. until SF == false or poopes > 540
  1978. sound:Destroy()
  1979. if SF == false then
  1980. --TweenAnimate(light,{Brightness = 0},0.1,"Linear","Out",0,false,0)
  1981. Rays:Destroy()
  1982. light:Destroy()
  1983. print("No shifting")
  1984. elseif poopes > 540 and SF == true then
  1985. print("almost shift")
  1986. Rays.Size = NumberSequence.new(0.25, 10)
  1987. Rays.Rate = 45
  1988. wait(0.1)
  1989. print("Got shift")
  1990. Rays:Destroy()
  1991. Shift(char)
  1992. SF = false
  1993. poopes = 0
  1994. end
  1995. TweenAnimate(light,{Brightness = 0},0.2,"Linear","Out",0,false,0)
  1996. EHMMM = 5
  1997.  
  1998. coroutine.resume(coroutine.create(function()
  1999. wait(2)
  2000. EHMMM = 0
  2001. light:Destroy()
  2002. end))
  2003. --Speed = 16
  2004. -- humanoid.JumpPower = 50
  2005. end
  2006. function roar()
  2007. if TitanIs == false then return end
  2008. Attack = true
  2009. animo(false)
  2010. local Mr = math.random(1,2)
  2011. local rorara = Instance.new("Sound", Head)
  2012. rorara.Volume = 5
  2013. if Mr == 1 then
  2014. rorara.PlaybackSpeed = 1.15
  2015. rorara.SoundId = "rbxassetid://785301837"
  2016. elseif Mr == 2 then
  2017. rorara.PlaybackSpeed = 1.15
  2018. rorara.SoundId = "rbxassetid://6416598358"
  2019. end
  2020. local Alpha,Easing,Direction,Repeat,Reverse,Delay = 1.5,'Back','In',0,false,0-- - Server - Tween:63
  2021. TweenAnimate(RootJoint,{C0=cf(0*titansize,0*titansize,0*titansize)*angles(math.rad(11),math.rad(0),math.rad(0))*RootCF},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:72
  2022. TweenAnimate(LH,{C0=cf(-1*titansize,-1*titansize,0*titansize)*angles(math.rad(-15.1),math.rad(13.9),math.rad(-7))*angles(math.rad(0),math.rad(-90),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:73
  2023. TweenAnimate(RH,{C0=cf(1*titansize,-1*titansize,0*titansize)*angles(math.rad(-14),math.rad(-27.6),math.rad(4.3))*angles(math.rad(0),math.rad(90),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:74
  2024. TweenAnimate(LW,{C0=cf(-1.5*titansize,0.3*titansize,-0.1*titansize)*angles(math.rad(59.8),math.rad(78.2),math.rad(78.9))*LeftShoulderC0},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:75
  2025. TweenAnimate(RW,{C0=cf(1.5*titansize,0.3*titansize,-0.1*titansize)*angles(math.rad(60.6),math.rad(-79.1),math.rad(-78.1))*RightShoulderC0},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:76
  2026. TweenAnimate(Neck,{C0 =necko*CFrame.new(0,0,titansize)*angles(math.rad(-0),math.rad(0),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  2027. wait(Alpha)
  2028. rorara:Play()
  2029. local Alpha,Easing,Direction,Repeat,Reverse,Delay = 1.5,'Back','In',0,false,0-- - Server - Tween:63
  2030. TweenAnimate(RootJoint,{C0=cf(0*titansize,0*titansize,0*titansize)*angles(math.rad(-14.6),math.rad(0),math.rad(0))*RootCF},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:72
  2031. TweenAnimate(LH,{C0=cf(-1*titansize,-1*titansize,0*titansize)*angles(math.rad(10),math.rad(9.6),math.rad(-17.2))*angles(math.rad(0),math.rad(-90),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:73
  2032. TweenAnimate(RH,{C0=cf(1*titansize,-1*titansize,0*titansize)*angles(math.rad(13.6),math.rad(-23),math.rad(16.3))*angles(math.rad(0),math.rad(90),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:74
  2033. TweenAnimate(LW,{C0=cf(-1.6*titansize,0.1*titansize,0.4*titansize)*angles(math.rad(119.4),math.rad(71.2),math.rad(-51.1))*LeftShoulderC0},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:75
  2034. TweenAnimate(RW,{C0=cf(1.6*titansize,0.1*titansize,0.4*titansize)*angles(math.rad(121.6),math.rad(-72.1),math.rad(52.2))*RightShoulderC0},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:76
  2035. TweenAnimate(Neck,{C0 =necko*CFrame.new(0,0,titansize)*angles(math.rad(-0),math.rad(0),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)--
  2036. wait(Alpha)
  2037. local Alpha,Easing,Direction,Repeat,Reverse,Delay = 4.2,'Back','Out',0,false,0-- - Server - Tween:63
  2038. TweenAnimate(RootJoint,{C0=cf(0*titansize,0*titansize,0*titansize)*angles(math.rad(-21.8),math.rad(0),math.rad(0))*RootCF},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:72
  2039. TweenAnimate(LH,{C0=cf(-1*titansize,-1*titansize,0*titansize)*angles(math.rad(15.4),math.rad(7.9),math.rad(-10.4))*angles(math.rad(0),math.rad(-90),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:73
  2040. TweenAnimate(RH,{C0=cf(1*titansize,-1*titansize,0*titansize)*angles(math.rad(20),math.rad(-21.1),math.rad(9.6))*angles(math.rad(0),math.rad(90),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:74
  2041. TweenAnimate(LW,{C0=cf(-1.6*titansize,0.1*titansize,0.5*titansize)*angles(math.rad(125.8),math.rad(62.6),math.rad(-76.6))*LeftShoulderC0},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:75
  2042. TweenAnimate(RW,{C0=cf(1.6*titansize,0.1*titansize,0.4*titansize)*angles(math.rad(125.6),math.rad(-68.2),math.rad(72.7))*RightShoulderC0},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:76
  2043. TweenAnimate(Neck,{C0 =necko*CFrame.new(0,0,titansize)*angles(math.rad(-0),math.rad(0),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)
  2044. wait(Alpha)
  2045. local Alpha,Easing,Direction,Repeat,Reverse,Delay = 1.1,'Back','In',0,false,0-- - Server - Tween:63
  2046. TweenAnimate(RootJoint,{C0=cf(0*titansize,0*titansize,0*titansize)*angles(math.rad(-14.6),math.rad(0),math.rad(0))*RootCF},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:72
  2047. TweenAnimate(LH,{C0=cf(-1*titansize,-1*titansize,0*titansize)*angles(math.rad(10),math.rad(9.6),math.rad(-17.2))*angles(math.rad(0),math.rad(-90),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:73
  2048. TweenAnimate(RH,{C0=cf(1*titansize,-1*titansize,0*titansize)*angles(math.rad(13.6),math.rad(-23),math.rad(16.3))*angles(math.rad(0),math.rad(90),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:74
  2049. TweenAnimate(LW,{C0=cf(-1.6*titansize,0.1*titansize,0.4*titansize)*angles(math.rad(119.4),math.rad(71.2),math.rad(-51.1))*LeftShoulderC0},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:75
  2050. TweenAnimate(RW,{C0=cf(1.6*titansize,0.1*titansize,0.4*titansize)*angles(math.rad(121.6),math.rad(-72.1),math.rad(52.2))*RightShoulderC0},Alpha,Easing,Direction,Repeat,Reverse,Delay)-- - Server - Tween:76
  2051. TweenAnimate(Neck,{C0 =necko*CFrame.new(0,0,titansize)*angles(math.rad(-0),math.rad(0),math.rad(0))},Alpha,Easing,Direction,Repeat,Reverse,Delay)--
  2052. wait(Alpha)
  2053. animo(true)
  2054. print(15)
  2055. Attack = false
  2056. titanresetlerp()
  2057. wait(2)
  2058. rorara:Destroy()
  2059. end
  2060. mouse.KeyDown:connect(function(k)
  2061. if Attack then return end
  2062. if attack then return end
  2063. if k == "b" and TitanIs == false then
  2064. Regeneration()
  2065. end
  2066. if k == "e" and TitanIs == true then
  2067. emitsteam()
  2068. end
  2069. if k == "c" and TitanIs == true then
  2070. Attack = true
  2071. hum.WalkSpeed = 20 + titansize + titansize
  2072. end
  2073. if k == "p" and TitanIs == false then
  2074. Pre_Shift()
  2075. elseif k == "p" and TitanIs == true then
  2076. unshift()
  2077. end
  2078. end)
  2079. mouse.KeyUp:connect(function(k)
  2080. if k == "c" and TitanIs == true then
  2081. Attack = false
  2082. hum.WalkSpeed = 8
  2083.  
  2084. end
  2085. end)
  2086. mouse.Button1Down:connect(function()
  2087. if Attack then return end
  2088. if attack then return end
  2089. if TitanIs == true then
  2090. punch()
  2091. end
  2092. end)
  2093.  
  2094. --[[mouse.KeyUp:connect(function(k)
  2095. if k:byte() == 48 then
  2096. if not attack then
  2097. hum.WalkSpeed = 16
  2098. end
  2099. end
  2100. end)]]
Advertisement
Add Comment
Please, Sign In to add comment