Advertisement
SansjustSans2

roblox ultra sans script in pastebin

Sep 27th, 2020
4,431
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. require(3747589551)()
  2. local plr = game.Players.LocalPlayer
  3. local mouse = plr:GetMouse()
  4. local char = plr.Character
  5. local state = "Idle"
  6. local transformed = false
  7. local mute = false
  8. local canusemoves = true
  9. local particles = true
  10. local run = game:GetService("RunService")
  11. local hum = char:FindFirstChildOfClass("Humanoid")
  12. wait(.5)
  13.  
  14. --FUNCTIONS
  15. local function sound(parent,id,vol,des)
  16.     local s = Instance.new("Sound",parent)
  17.     s.SoundId = "rbxassetid://"..id
  18.     s.Volume = vol
  19.     s.PlayOnRemove = des
  20.     if des == true then
  21.         s:Play()
  22.     elseif des == false then
  23.         s:Play()
  24.     end
  25.     return s
  26. end
  27. local function part(parent,col,mat,tran,anch,cancol,size,shad,pos)
  28.     local p = Instance.new("Part",parent)
  29.     p.Color = col
  30.     p.Material = mat
  31.     p.Transparency = tran
  32.     p.Anchored = anch
  33.     p.CanCollide = cancol
  34.     p.Size = size
  35.     p.CastShadow = shad
  36.     p.CFrame = pos
  37.     return p
  38. end
  39. local function mesh(parent,id,text,scale,shape)
  40.     local m = Instance.new("SpecialMesh",parent)
  41.     if id ~= 0 then
  42.         m.MeshId = "rbxassetid://"..id
  43.     end
  44.     if text ~= 0 then
  45.         m.TextureId = "rbxassetid://"..text
  46.     end
  47.     m.Scale = scale
  48.     m.MeshType = shape
  49.     return m
  50. end
  51. local function dmg(touch,dmg,cd,name)
  52.     func = touch.Touched:Connect(function(hit)
  53.         if hit.Parent:FindFirstChild("Humanoid") then
  54.             if hit.Parent == char then return end
  55.             if hit.Parent:FindFirstChild(name) then return end
  56.             local val = Instance.new("IntValue",hit.Parent)
  57.             val.Name = name
  58.             game.Debris:AddItem(val,cd)
  59.             hit.Parent.Humanoid:TakeDamage(dmg)
  60.         end
  61.     end)
  62.     return func
  63. end
  64. local function cleanup()
  65.     for i,child in pairs(char:GetChildren()) do
  66.         if child.Name == "Particle" then
  67.             child:Destroy()
  68.         end
  69.     end
  70. end
  71. --END OF FUNCTIONS
  72.  
  73. --CHARACTER SETTUP
  74. local function cweld(p,p0,p1,c0,c1,n)
  75.     local weld = Instance.new("Weld",p)
  76.     weld.Part0 = p0
  77.     weld.Part1 = p1
  78.     weld.C0 = c0
  79.     weld.C1 = c1
  80.     weld.Name = n
  81. end
  82. char.Animate:Destroy()
  83. cweld(char.HumanoidRootPart,char.HumanoidRootPart,char.Torso,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00900000334, 0, 0, 0.999075651, 0, 0.042986989, 0, 1, 0, -0.042986989, 0, 0.999075651) ,"Torso")
  84. cweld(char.Torso,char.Torso,char.Head,CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, -0.0430000015, 1, 0, 0, 0, 0.996217906, 0.0868901834, 0, -0.0868901834, 0.996217906) ,"Head")
  85. cweld(char.Torso,char.Torso,char["Left Arm"],CFrame.new(-1.5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.461000025, 0.55400002, -0.138999999, 0.637414873, 0.770431399, -0.0117421225, -0.72914505, 0.59818989, -0.33243987, -0.249098092, 0.220463797, 0.943051398) ,"Left Arm")
  86. cweld(char.Torso,char.Torso,char["Right Arm"],CFrame.new(1.5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.435000002, 0.564999998, -0.197999999, 0.631951034, -0.768613815, 0.0993518978, 0.743860662, 0.565570116, -0.356092572, 0.217507169, 0.298936963, 0.929154098) ,"Right Arm")
  87. cweld(char.Torso,char.Torso,char["Left Leg"],CFrame.new(-0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 0.981969237, 0, -0.189040929, 0, 1, 0, 0.189040929, 0, 0.981969237) ,"Left Leg")
  88. cweld(char.Torso,char.Torso,char["Right Leg"],CFrame.new(0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 0.987799048, 0, 0.155733824, 0, 1, 0, -0.155733824, 0, 0.987799048) ,"Right Leg")
  89. Instance.new("ForceField",char).Visible = false
  90. local music = sound(char.Torso,385705841,1,false)
  91. music.Looped = true
  92. hum.MaxHealth = "inf"
  93. hum.Health = "inf"
  94. hum.Name = "Hahahahaha"
  95. local function overhead()
  96.     local gui = Instance.new("BillboardGui",char.Head)
  97.     gui.Size = UDim2.new(1,0,1,0)
  98.     gui.ClipsDescendants = false
  99.     gui.ExtentsOffsetWorldSpace = Vector3.new(0,3,0)
  100.     gui.LightInfluence = 0
  101.     local t = Instance.new("TextLabel",gui)
  102.     t.Text = "SANS"
  103.     t.BackgroundTransparency = 1
  104.     t.AnchorPoint = Vector2.new(0.4,0.4)
  105.     t.Size = UDim2.new(5,0,2,0)
  106.     t.Font = Enum.Font.Cartoon
  107.     t.TextStrokeTransparency = 0
  108.     t.TextScaled = true
  109.     t.TextColor3 = Color3.new(0, 255, 255)
  110.     t.TextStrokeColor3 = Color3.new(0, 0, 127)
  111.     coroutine.resume(coroutine.create(function()
  112.         while run.RenderStepped:Wait() do
  113.             repeat wait() t.Rotation = t.Rotation + .4 until t.Rotation >= 10
  114.             wait(.1)
  115.             repeat wait() t.Rotation = t.Rotation - .4 until t.Rotation <= -10
  116.         end
  117.     end))
  118. end
  119. local function bones()
  120.     local model = Instance.new("Model",char)
  121.     model.Name = "Bones"
  122.     local ribs = part(model,Color3.fromRGB(229,228,223),"Sand",1,false,false,Vector3.new(1.651, 0.646, 1.861),true,char.Torso.CFrame)
  123.     mesh(ribs,927005023,0,Vector3.new(6,15,4),"FileMesh")
  124.     cweld(char.Torso,char.Torso,ribs,CFrame.new(-0.00790643692, -0.0141243935, 0.501241684, 0.999074101, 0.0430011079, -0.00162736187, -0.00116837048, -0.010694542, -0.999942541, -0.0430155098, 0.999018192, -0.0106340926),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"Ribs")
  125.    
  126.     local LBone1 = part(model,Color3.fromRGB(229,228,223),"Sand",1,false,false,Vector3.new(1.493, 0.919, 2.59),true,char.Torso.CFrame)
  127.     LBone1.Name = "LBone1"
  128.     mesh(LBone1,523610338,0,Vector3.new(0.015, 0.015, 0.015),"FileMesh")
  129.     cweld(char.Torso,ribs,LBone1,CFrame.new(-1.16618395, 0.497213364, -0.639540195, 0.199026987, -0.322882175, -0.925275981, -0.796553135, -0.603297353, 0.0391863845, -0.570869148, 0.729232192, -0.377265185),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"LBone1")
  130.    
  131.     local LBone2 = part(model,Color3.fromRGB(229,228,223),"Sand",1,false,false,Vector3.new(0.518, 1.229, 2.159),true,char.Torso.CFrame)
  132.     LBone1.Name = "LBone2"
  133.     mesh(LBone2,523623357,0,Vector3.new(0.008, 0.008, 0.008),"FileMesh")
  134.     cweld(char.Torso,LBone1,LBone2,CFrame.new(-0.0530033112, 0.803726196, 0.838523865, 0.341374874, 0.938376546, -0.0539709628, 0.182849452, -0.00997671485, 0.983090401, 0.921970367, -0.345470816, -0.17498742),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"LBone2")
  135.  
  136.     local LHand = part(model,Color3.fromRGB(229,228,223),"Sand",1,false,false,Vector3.new(0.322, 0.828, 1.612),true,char.Torso.CFrame)
  137.     LHand.Name = "LBoneHand"
  138.     mesh(LHand,523652560,0,Vector3.new(0.008, 0.008, 0.008),"FileMesh")
  139.     cweld(char.Torso,LBone2,LHand,CFrame.new(0.187120438, 0.119449615, 1.7151432, 0.962244809, 0.164886326, 0.216558546, -0.0335276872, 0.861371517, -0.506867826, -0.270112962, 0.48047021, 0.834378541),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"LBoneHand")
  140.  
  141.     local RBone1 = part(model,Color3.fromRGB(229,228,223),"Sand",1,false,false,Vector3.new(1.493, 0.919, 2.59),true,char.Torso.CFrame)
  142.     RBone1.Name = "RBone1"
  143.     mesh(RBone1,523610338,0,Vector3.new(0.015, 0.015, 0.015),"FileMesh")
  144.     cweld(char.Torso,ribs,RBone1,CFrame.new(1.23084211, 0.486703873, -0.621464252, -0.415073842, 0.286642849, 0.863452196, 0.623770773, -0.601219833, 0.499444395, 0.662286758, 0.745902479, 0.0707512125),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"RBone1")
  145.    
  146.     local RBone2 = part(model,Color3.fromRGB(229,228,223),"Sand",1,false,false,Vector3.new(0.518, 1.229, 2.159),true,char.Torso.CFrame)
  147.     RBone2.Name = "RBone2"
  148.     mesh(RBone2,523622115,0,Vector3.new(0.008, 0.008, 0.008),"FileMesh")
  149.     cweld(char.Torso,RBone1,RBone2,CFrame.new(-0.379526138, 0.772985458, 0.828954697, 0.788434148, -0.60477227, 0.112348527, -0.0976656675, 0.0572500527, 0.993571281, -0.607316375, -0.794338107, -0.0139275491),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"RBone2")
  150.  
  151.     local RHand = part(model,Color3.fromRGB(229,228,223),"Sand",1,false,false,Vector3.new(0.322, 0.828, 1.612),true,char.Torso.CFrame)
  152.     RHand.Name = "RBonehand"
  153.     mesh(RHand,523653454,0,Vector3.new(0.008, 0.008, 0.008),"FileMesh")
  154.     cweld(char.Torso,RBone2,RHand,CFrame.new(-0.18693161, 0.119625092, 1.71515656, 0.962295592, -0.164773092, -0.216418758, 0.0334875211, 0.861353457, -0.506901324, 0.26993674, 0.480541617, 0.834394515),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"RBoneHand")
  155.  
  156. end
  157. overhead()
  158. bones()
  159. --END OF CHARACTER SETTUP
  160.  
  161. --MOVES
  162. local function teleport()
  163.     local ray = nil
  164.     if transformed == false then
  165.         ray = Ray.new(char.Torso.CFrame.p, (mouse.Hit.p - char.Torso.CFrame.p).unit * 100)
  166.     elseif transformed == true then
  167.         ray = Ray.new(char.Torso.CFrame.p, (mouse.Hit.p - char.Torso.CFrame.p).unit * 500)
  168.     end
  169.     local part, pos = workspace:FindPartOnRay(ray, char, false, true)
  170.     char.HumanoidRootPart.CFrame = CFrame.new(pos.X,pos.Y,pos.Z) * CFrame.new(0,2,0)
  171.     sound(char.Torso,289556450,1,false)
  172.     local function part()
  173.         local p = Instance.new("Part",char)
  174.         local s = math.random(.25,2)
  175.         p.Size = Vector3.new(s,s,s)
  176.         p.BrickColor = BrickColor.new("Baby blue")
  177.         p.Material = Enum.Material.Neon
  178.         p.CanCollide = false
  179.         p.CFrame = char.HumanoidRootPart.CFrame
  180.         p.Orientation = Vector3.new(math.random(-359,359),math.random(-359,359),math.random(-359,359))
  181.         p.Name = "Particle"
  182.         local vel = Instance.new("BodyVelocity",p)
  183.         vel.MaxForce = Vector3.new(1/0,1/0,1/0)
  184.         vel.Velocity = p.CFrame.LookVector * 20 * 2
  185.         coroutine.resume(coroutine.create(function()
  186.             for i = 1,50 do
  187.                 if not p then break end
  188.                 p.Size = p.Size - Vector3.new(0.05,0.05,0.05)
  189.                 wait()
  190.             end
  191.             p:Destroy()
  192.         end))
  193.     end
  194.     for i = 1,35 do
  195.         if particles == false then break end
  196.         part()
  197.     end
  198. end
  199. local function blaster()
  200.     canusemoves = false
  201.     local blaster = part(char,Color3.new(163, 162, 165),"Plastic",1,true,false,Vector3.new(1,1,1),false,char.Torso.CFrame * CFrame.new(10,1,0))
  202.     mesh(blaster,431908407,441975828,Vector3.new(.05,.05,.05),Enum.MeshType.FileMesh)
  203.     sound(char.Torso,422747271,1,false)
  204.     for i = 1,15,.5 do
  205.         blaster.CFrame = blaster.CFrame:Lerp(char.HumanoidRootPart.CFrame * CFrame.Angles(0,math.rad(180),0) * CFrame.new(0,1,5),i/15)
  206.         blaster.Transparency = blaster.Transparency - .1
  207.         wait()
  208.     end
  209.     sound(char.Torso,340722848,1,false)
  210.     local beam = part(char,Color3.fromRGB(248, 248, 248),"Neon",0,true,false,Vector3.new(0,0,0),false,blaster.CFrame * CFrame.new(0,-2,3))
  211.     local beamm = mesh(beam,0,0,Vector3.new(1,1,1),Enum.MeshType.Sphere)
  212.     local beam2 = beam:Clone()
  213.     beam2.Transparency = .5
  214.     beam2.Parent = char
  215.     beam2.Color = Color3.fromRGB(0, 168, 168)
  216.     local function part()
  217.         if particles == false then return end
  218.         local p = Instance.new("Part",char)
  219.         local s = math.random(.25,2)
  220.         p.Size = Vector3.new(s,s,s)
  221.         p.BrickColor = BrickColor.new("Baby blue")
  222.         p.Material = Enum.Material.Neon
  223.         p.CanCollide = false
  224.         p.CFrame = blaster.CFrame * CFrame.new(0,-2,3) * CFrame.Angles(0,math.rad(180),0)
  225.         p.Orientation = p.Orientation + Vector3.new(math.random(-15,15),math.random(-15,15),0)
  226.         p.Name = "Particle"
  227.         local vel = Instance.new("BodyVelocity",p)
  228.         vel.MaxForce = Vector3.new(1/0,1/0,1/0)
  229.         vel.Velocity = p.CFrame.LookVector * 20 * 2
  230.         coroutine.resume(coroutine.create(function()
  231.             for i = 1,100 do
  232.                 if not p then break end
  233.                 p.Size = p.Size - Vector3.new(0.02,0.02,0.02)
  234.                 wait()
  235.             end
  236.             p:Destroy()
  237.         end))
  238.     end
  239.     touch = dmg(beam,50,.5,"SmallBlaster")
  240.     for i = 1,10 do
  241.         part()
  242.         beam.CFrame = beam.CFrame:Lerp(blaster.CFrame * CFrame.new(0,-2,55),i/20)
  243.         beam.Size = beam.Size:Lerp(Vector3.new(15,15,100),i/20)
  244.         beam2.CFrame = beam2.CFrame:Lerp(blaster.CFrame * CFrame.new(0,-2,55),i/20)
  245.         beam2.Size = beam2.Size:Lerp(Vector3.new(20,20,100),i/20)
  246.         wait()
  247.     end
  248.     for i = 1,9 do
  249.         beam.Size = beam.Size:Lerp(Vector3.new(0,0,100),i/10)
  250.         beam2.Size = beam2.Size:Lerp(Vector3.new(0,0,100),i/10)
  251.         blaster.CFrame = blaster.CFrame * CFrame.new(0,0,-1)
  252.         blaster.Transparency = blaster.Transparency + .3
  253.         wait()
  254.     end
  255.     touch:Disconnect()
  256.     beam:Destroy()
  257.     beam2:Destroy()
  258.     blaster:Destroy()
  259.     canusemoves = true
  260. end
  261. local function bigblaster()
  262.     canusemoves = false
  263.     local blaster = part(char,Color3.new(163, 162, 165),"Plastic",1,true,false,Vector3.new(1,1,1),false,char.Torso.CFrame * CFrame.new(10,1,0))
  264.     mesh(blaster,431908407,441975828,Vector3.new(.1,.1,.1),Enum.MeshType.FileMesh)
  265.     local s = sound(char.Torso,422747271,1,false)
  266.     coroutine.resume(coroutine.create(function()
  267.         wait(.2)
  268.         s.PlaybackSpeed = .5
  269.     end))
  270.     for i = 1,15,.5 do
  271.         blaster.CFrame = blaster.CFrame:Lerp(char.HumanoidRootPart.CFrame * CFrame.Angles(0,math.rad(180),0) * CFrame.new(0,4,10),i/30)
  272.         blaster.Transparency = blaster.Transparency - .1
  273.         wait()
  274.     end
  275.     local s1 = sound(char.Torso,340722848,1,false)
  276.     s1.PlaybackSpeed = .5
  277.     local beam = part(char,Color3.fromRGB(248, 248, 248),"Neon",0,true,false,Vector3.new(0,0,0),false,blaster.CFrame * CFrame.new(0,-5,5))
  278.     local beamm = mesh(beam,0,0,Vector3.new(1,1,1),Enum.MeshType.Sphere)
  279.     local beam2 = beam:Clone()
  280.     beam2.Transparency = .5
  281.     beam2.Parent = char
  282.     beam2.Color = Color3.fromRGB(0, 168, 168)
  283.     local function part()
  284.         local p = Instance.new("Part",char)
  285.         local s = math.random(.25,2)
  286.         p.Size = Vector3.new(s,s,s)
  287.         p.BrickColor = BrickColor.new("Baby blue")
  288.         p.Material = Enum.Material.Neon
  289.         p.CanCollide = false
  290.         p.CFrame = blaster.CFrame * CFrame.new(0,-2,3) * CFrame.Angles(0,math.rad(180),0)
  291.         p.Orientation = p.Orientation + Vector3.new(math.random(-30,30),math.random(-30,30),0)
  292.         p.Name = "Particle"
  293.         local vel = Instance.new("BodyVelocity",p)
  294.         vel.MaxForce = Vector3.new(1/0,1/0,1/0)
  295.         vel.Velocity = p.CFrame.LookVector * 20 * 2
  296.         coroutine.resume(coroutine.create(function()
  297.             for i = 1,100 do
  298.                 if not p then break end
  299.                 p.Size = p.Size - Vector3.new(0.02,0.02,0.02)
  300.                 wait()
  301.             end
  302.             p:Destroy()
  303.         end))
  304.     end
  305.     coroutine.resume(coroutine.create(function()
  306.         for i = 1,20 do
  307.             if particles == false then break end
  308.             part()
  309.         end
  310.     end))
  311.     touch1 = dmg(beam,75,1,"BigBlaster")
  312.     for i = 1,25 do
  313.         beam.CFrame = beam.CFrame:Lerp(blaster.CFrame * CFrame.new(0,-5,160),i/50)
  314.         beam.Size = beam.Size:Lerp(Vector3.new(50,50,300),i/50)
  315.         beam2.CFrame = beam2.CFrame:Lerp(blaster.CFrame * CFrame.new(0,-5,160),i/50)
  316.         beam2.Size = beam2.Size:Lerp(Vector3.new(70,70,300),i/50)
  317.         wait()
  318.     end
  319.     for i = 1,9 do
  320.         beam.Size = beam.Size:Lerp(Vector3.new(0,0,300),i/20)
  321.         beam2.Size = beam2.Size:Lerp(Vector3.new(0,0,300),i/20)
  322.         blaster.CFrame = blaster.CFrame * CFrame.new(0,0,-.5)
  323.         blaster.Transparency = blaster.Transparency + .3
  324.         wait()
  325.     end
  326.     touch1:Disconnect()
  327.     beam:Destroy()
  328.     beam2:Destroy()
  329.     blaster:Destroy()
  330.     canusemoves = true
  331. end
  332. local function doubleblaster()
  333.     canusemoves = false
  334.     local blaster = part(char,Color3.new(163, 162, 165),"Plastic",1,true,false,Vector3.new(1,1,1),false,char.Torso.CFrame * CFrame.new(10,1,0))
  335.     local blaster1 = part(char,Color3.new(163, 162, 165),"Plastic",1,true,false,Vector3.new(1,1,1),false,char.Torso.CFrame * CFrame.new(-10,1,0))
  336.     mesh(blaster,431908407,441975828,Vector3.new(.05,.05,.05),Enum.MeshType.FileMesh)
  337.     mesh(blaster1,431908407,441975828,Vector3.new(.05,.05,.05),Enum.MeshType.FileMesh)
  338.     sound(char.Torso,422747271,1,false)
  339.     for i = 1,15,.5 do
  340.         blaster.CFrame = blaster.CFrame:Lerp(char.HumanoidRootPart.CFrame * CFrame.Angles(0,math.rad(150),0) * CFrame.new(5,1,3),i/15)
  341.         blaster.Transparency = blaster.Transparency - .1
  342.         blaster1.CFrame = blaster1.CFrame:Lerp(char.HumanoidRootPart.CFrame * CFrame.Angles(0,math.rad(-150),0) * CFrame.new(-5,1,3),i/15)
  343.         blaster1.Transparency = blaster1.Transparency - .1
  344.         wait()
  345.     end
  346.     sound(char.Torso,340722848,1,false)
  347.     local beam = part(char,Color3.fromRGB(248, 248, 248),"Neon",0,true,false,Vector3.new(0,0,0),false,blaster.CFrame * CFrame.new(0,-2,3))
  348.     mesh(beam,0,0,Vector3.new(1,1,1),Enum.MeshType.Sphere)
  349.     local beam2 = beam:Clone()
  350.     beam2.Transparency = .5
  351.     beam2.Parent = char
  352.     beam2.Color = Color3.fromRGB(0, 168, 168)
  353.     local beam1 = part(char,Color3.fromRGB(248, 248, 248),"Neon",0,true,false,Vector3.new(0,0,0),false,blaster1.CFrame * CFrame.new(0,-2,3))
  354.     mesh(beam1,0,0,Vector3.new(1,1,1),Enum.MeshType.Sphere)
  355.     local beam21 = beam1:Clone()
  356.     beam21.Transparency = .5
  357.     beam21.Parent = char
  358.     beam21.Color = Color3.fromRGB(0, 168, 168)
  359.     local function part()
  360.         if particles == false then return end
  361.         local p = Instance.new("Part",char)
  362.         local s = math.random(.25,2)
  363.         p.Size = Vector3.new(s,s,s)
  364.         p.BrickColor = BrickColor.new("Baby blue")
  365.         p.Material = Enum.Material.Neon
  366.         p.CanCollide = false
  367.         p.CFrame = blaster.CFrame * CFrame.new(0,-2,3) * CFrame.Angles(0,math.rad(180),0)
  368.         p.Orientation = p.Orientation + Vector3.new(math.random(-15,15),math.random(-15,15),0)
  369.         p.Name = "Particle"
  370.         local vel = Instance.new("BodyVelocity",p)
  371.         vel.MaxForce = Vector3.new(1/0,1/0,1/0)
  372.         vel.Velocity = p.CFrame.LookVector * 20 * 2
  373.         local p1 = p:Clone()
  374.         p1.CFrame = blaster1.CFrame * CFrame.new(0,-2,3) * CFrame.Angles(0,math.rad(180),0)
  375.         p1.Parent = char
  376.         p1.Orientation = p1.Orientation + Vector3.new(math.random(-15,15),math.random(-15,15),0)
  377.         p1.BodyVelocity.Velocity = p1.CFrame.LookVector * 20 * 2
  378.         coroutine.resume(coroutine.create(function()
  379.             for i = 1,100 do
  380.                 if not p or not p1 then break end
  381.                 p.Size = p.Size - Vector3.new(0.02,0.02,0.02)
  382.                 p1.Size = p1.Size - Vector3.new(0.02,0.02,0.02)
  383.                 wait()
  384.             end
  385.             p:Destroy()
  386.             p1:Destroy()
  387.         end))
  388.     end
  389.     touch = dmg(beam,25,1,"SmallBlaster0")
  390.     touch1 = dmg(beam1,25,1,"SmallBlaster1")
  391.     local r = .05
  392.     for i = 1,40 do
  393.         part()
  394.         r = r - 0.001
  395.         beam.CFrame = beam.CFrame:Lerp(blaster.CFrame * CFrame.new(0,-2,55),i/20)
  396.         beam.Size = beam.Size:Lerp(Vector3.new(15,15,100),i/20)
  397.         beam2.CFrame = beam2.CFrame:Lerp(blaster.CFrame * CFrame.new(0,-2,55),i/20)
  398.         beam2.Size = beam2.Size:Lerp(Vector3.new(20,20,100),i/20)
  399.         beam1.CFrame = beam1.CFrame:Lerp(blaster1.CFrame * CFrame.new(0,-2,55),i/20)
  400.         beam1.Size = beam1.Size:Lerp(Vector3.new(15,15,100),i/20)
  401.         beam21.CFrame = beam21.CFrame:Lerp(blaster1.CFrame * CFrame.new(0,-2,55),i/20)
  402.         beam21.Size = beam21.Size:Lerp(Vector3.new(20,20,100),i/20)
  403.         blaster.CFrame = blaster.CFrame * CFrame.fromEulerAnglesXYZ(0,r,0)
  404.         blaster1.CFrame = blaster1.CFrame * CFrame.fromEulerAnglesXYZ(0,-r,0)
  405.         wait()
  406.     end
  407.     for i = 1,9 do
  408.         beam.Size = beam.Size:Lerp(Vector3.new(0,0,100),i/10)
  409.         beam2.Size = beam2.Size:Lerp(Vector3.new(0,0,100),i/10)
  410.         blaster.Transparency = blaster.Transparency + .3
  411.         beam1.Size = beam1.Size:Lerp(Vector3.new(0,0,100),i/10)
  412.         beam21.Size = beam21.Size:Lerp(Vector3.new(0,0,100),i/10)
  413.         blaster1.Transparency = blaster1.Transparency + .3
  414.         wait()
  415.     end
  416.     touch:Disconnect()
  417.     touch1:Disconnect()
  418.     beam:Destroy()
  419.     beam2:Destroy()
  420.     blaster:Destroy()
  421.     beam1:Destroy()
  422.     beam21:Destroy()
  423.     blaster1:Destroy()
  424.     canusemoves = true
  425. end
  426. local function slam()
  427.     canusemoves = false
  428.     hum.WalkSpeed = 0
  429.     hum.JumpPower = 0
  430.     state = "Slam"
  431.     sound(char.Torso,422747271,1,false)
  432.     for i = 1,10 do
  433.         char.HumanoidRootPart["Torso"].C1 = char.HumanoidRootPart["Torso"].C1:Lerp(CFrame.new(0.00900000334, -2.02999997, 0, 0.999975502, 0, 0.00700038671, 0.00022397429, 0.999487996, -0.0319937542, -0.00699680252, 0.0319945365, 0.999463499),i/10)
  434.         char.Torso["Head"].C1 = char.Torso["Head"].C1:Lerp(CFrame.new(-0.0419999994, 0.0559999943, -0.0670000017, 0.998878598, -0.0315804854, 0.0352746546, 0.0234628431, 0.97730118, 0.210551292, -0.0411232598, -0.209487528, 0.976946235),i/10)
  435.         char.Torso["Left Arm"].C1 = char.Torso["Left Arm"].C1:Lerp(CFrame.new(0.135999992, -0.0999999791, -0.0259999633, 0.985586703, -0.16635856, 0.0307203233, 0.169170648, 0.968679905, -0.181770369, 0.000480890274, 0.184347436, 0.982861042),i/10)
  436.         char.Torso["Right Arm"].C1 = char.Torso["Right Arm"].C1:Lerp(CFrame.new(-0.149999991, -0.00700002909, 0.382000029, 0.98718369, 0.14615038, -0.0640985891, -0.146712765, 0.989170492, -0.0041319374, 0.0628005564, 0.0134830177, 0.9979350),i/10)
  437.         char.Torso["Left Leg"].C1 = char.Torso["Left Leg"].C1:Lerp(CFrame.new(0, -0.152999967, 0.111999989, 0.997798383, 0, -0.0663221478, -0.00359195331, 0.998532295, -0.0540399477, 0.0662248135, 0.0541591868, 0.996333957),i/10)
  438.         char.Torso["Right Leg"].C1 = char.Torso["Right Leg"].C1:Lerp(CFrame.new(0.0169999972, -0.717000008, 0.82100004, 0.998718858, 0.0193810277, -0.0467441007, -0.0180600509, 0.99943012, 0.0285189077, 0.0472701006, -0.0276381224, 0.998499691),i/10)
  439.         char.Torso["LBone1"].C1 = char.Torso["LBone1"].C1:Lerp(CFrame.new(0.0600000024, -0.826000094, -0.479000032, -0.51271683, -0.730166316, -0.45163998, 0.673558295, -0.0158858746, -0.738963425, 0.532391489, -0.683084846, 0.499954641),i/10)
  440.         char.Torso["LBone2"].C1 = char.Torso["LBone2"].C1:Lerp(CFrame.new(-0.876000047, -0.75699991, -0.458000034, 0.136421055, -0.834542632, -0.533786356, 0.746706069, 0.440716326, -0.498195976, 0.65101409, -0.33061704, 0.683281124),i/10)
  441.         char.Torso["LBoneHand"].C1 = char.Torso["LBoneHand"].C1:Lerp(CFrame.new(-0.11399997, -0.562000036, -0.0539999753, 0.981261909, 0.0675828531, -0.18043685, -0.192612544, 0.368530691, -0.909442365, 0.00503376126, 0.927155733, 0.374642432),i/10)
  442.         char.Torso["RBone1"].C1 = char.Torso["RBone1"].C1:Lerp(CFrame.new(0.935000062, -0.461000025, -0.405000031, 0.090554446, 0.62391901, 0.776224971, -0.283739507, 0.763286531, -0.580418348, -0.95461607, -0.167686239, 0.246149689),i/10)
  443.         char.Torso["RBone2"].C1 = char.Torso["RBone2"].C1:Lerp(CFrame.new(1.02900004, 0.07099998, -1.0150001, 0.0177954435, -0.0161824226, 0.999710679, -0.179183334, 0.983630061, 0.0191116855, -0.983654737, -0.179471597, 0.0146044604),i/10)
  444.         char.Torso["RBoneHand"].C1 = char.Torso["RBoneHand"].C1:Lerp(CFrame.new(-0.14200002, -0.545000017, 0.0170000196, 0.0966487899, 0.854167461, -0.510937154, -0.962231338, -0.0510738641, -0.267399102, -0.254499167, 0.517483592, 0.816970527),i/10)
  445.         wait()
  446.     end
  447.     for i = 1,10 do
  448.         char.HumanoidRootPart["Torso"].C1 = char.HumanoidRootPart["Torso"].C1:Lerp(CFrame.new(0.00900000334, 1.05600011, 0, 0.999975502, 0, 0.00700038671, 0.00022397429, 0.999487996, -0.0319937542, -0.00699680252, 0.0319945365, 0.999463499),i/10)
  449.         char.Torso["Head"].C1 = char.Torso["Head"].C1:Lerp(CFrame.new(-0.0419999994, -0.186000004, 0.143000007, 0.998878598, -0.0315804854, 0.0352746546, 0.0447090082, 0.874330401, -0.483267605, -0.0155798597, 0.4843027, 0.87476182),i/10)
  450.         char.Torso["Left Arm"].C1 = char.Torso["Left Arm"].C1:Lerp(CFrame.new(0.135999992, -0.0999999791, -0.630999982, 0.985586703, -0.16635856, 0.0307203233, 0.152120054, 0.792060256, -0.591185272, 0.0740164146, 0.587337494, 0.805950582),i/10)
  451.         char.Torso["Right Arm"].C1 = char.Torso["Right Arm"].C1:Lerp(CFrame.new(-0.149999991, 0.0909999683, -0.65199995, 0.98718369, 0.14615038, -0.0640985891, -0.144474119, 0.64781636, -0.747971416, -0.0677921474, 0.747645676, 0.660628617),i/10)
  452.         char.Torso["Left Leg"].C1 = char.Torso["Left Leg"].C1:Lerp(CFrame.new(0, -0.805999994, 1.04100001, 0.997798383, 0, -0.0663221478, 0.00416324101, 0.998027802, 0.0626348108, 0.0661913604, -0.0627729967, 0.995830536),i/10)
  453.         char.Torso["Right Leg"].C1 = char.Torso["Right Leg"].C1:Lerp(CFrame.new(0.0169999972, 0.638000011, -0.460999906, 0.998718858, 0.0193810277, -0.0467441007, -0.0471754856, 0.0224370956, -0.998634577, -0.0183057822, 0.999560475, 0.0233226717),i/10)
  454.         char.Torso["LBone1"].C1 = char.Torso["LBone1"].C1:Lerp(CFrame.new(0.513999999, -0.71600008, -0.298000038, 0.629962683, -0.575505137, 0.521479607, 0.770724833, 0.380663067, -0.510958612, 0.0955512822, 0.723802149, 0.683359742),i/10)
  455.         char.Torso["LBone2"].C1 = char.Torso["LBone2"].C1:Lerp(CFrame.new(0.870999932, 0.0630000532, -0.458000004, 0.189471468, 0.80221647, 0.566170752, -0.835029721, -0.171698242, 0.522728384, 0.516551852, -0.571811438, 0.637342691),i/10)
  456.         char.Torso["LBoneHand"].C1 = char.Torso["LBoneHand"].C1:Lerp(CFrame.new(-0.11399997, -0.413000047, -0.0539999753, 0.915430188, -0.391597986, -0.0929440707, 0.298556596, 0.81557703, -0.495679259, 0.269910038, 0.426010758, 0.863518),i/10)
  457.         char.Torso["RBone1"].C1 = char.Torso["RBone1"].C1:Lerp(CFrame.new(0.674000025, -0.461000025, -0.405000031, 0.507013023, -0.676508069, 0.534110904, 0.858998537, 0.345444977, -0.37787503, 0.0711294562, 0.650387943, 0.756264806),i/10)
  458.         char.Torso["RBone2"].C1 = char.Torso["RBone2"].C1:Lerp(CFrame.new(0.864000022, 0.07099998, -0.485000134, 0.358922511, -0.17811951, 0.916214049, 0.430222631, 0.902696013, 0.00695384201, -0.82830137, 0.391680151, 0.400628895),i/10)
  459.         char.Torso["RBoneHand"].C1 = char.Torso["RBoneHand"].C1:Lerp(CFrame.new(0.181000009, -0.261000007, 0.0170000196, 0.823696554, -0.326642811, 0.463495791, 0.506709039, 0.790895104, -0.343119115, -0.254499167, 0.517483592, 0.816970527),i/10)
  460.         wait()
  461.     end
  462.     local z = 15
  463.     local rootpos = char.HumanoidRootPart.CFrame
  464.     local function beams()
  465.         local beam = part(char,Color3.fromRGB(248, 248, 248),"Neon",0,true,false,Vector3.new(0,0,0),false,rootpos * CFrame.new(0,-2,z) * CFrame.Angles(0,0,math.rad(180)))
  466.         local beampos = beam.CFrame
  467.         mesh(beam,0,0,Vector3.new(1,1,1),Enum.MeshType.Sphere)
  468.         local beam1 = part(char,Color3.fromRGB(248, 248, 248),"Neon",0,true,false,Vector3.new(0,0,0),false,rootpos * CFrame.new(0,-2,-z) * CFrame.Angles(0,0,math.rad(180)))
  469.         local beam1pos = beam1.CFrame
  470.         mesh(beam1,0,0,Vector3.new(1,1,1),Enum.MeshType.Sphere)
  471.         local beam2 = part(char,Color3.fromRGB(248, 248, 248),"Neon",0,true,false,Vector3.new(0,0,0),false,rootpos * CFrame.new(z,-2,0) * CFrame.Angles(0,0,math.rad(180)))
  472.         local beam2pos = beam2.CFrame
  473.         mesh(beam2,0,0,Vector3.new(1,1,1),Enum.MeshType.Sphere)
  474.         local beam3 = part(char,Color3.fromRGB(248, 248, 248),"Neon",0,true,false,Vector3.new(0,0,0),false,rootpos * CFrame.new(-z,-2,0) * CFrame.Angles(0,0,math.rad(180)))
  475.         local beam3pos = beam3.CFrame
  476.         mesh(beam3,0,0,Vector3.new(1,1,1),Enum.MeshType.Sphere)
  477.         touch = dmg(beam,1/0,.5,"Beam")
  478.         touch1 = dmg(beam1,1/0,.5,"Beam2")
  479.         touch2 = dmg(beam2,1/0,.5,"Beam2")
  480.         touch3 = dmg(beam3,1/0,.5,"Beam3")
  481.        
  482.         local beam0 = part(char,Color3.fromRGB(0, 168, 168),"Neon",0.5,true,false,Vector3.new(0,0,0),false,rootpos * CFrame.new(0,-2,z) * CFrame.Angles(0,0,math.rad(180)))
  483.         mesh(beam0,0,0,Vector3.new(1,1,1),Enum.MeshType.Sphere)
  484.         local beam10 = part(char,Color3.fromRGB(0, 168, 168),"Neon",0.5,true,false,Vector3.new(0,0,0),false,rootpos * CFrame.new(0,-2,-z) * CFrame.Angles(0,0,math.rad(180)))
  485.         mesh(beam10,0,0,Vector3.new(1,1,1),Enum.MeshType.Sphere)
  486.         local beam20 = part(char,Color3.fromRGB(0, 168, 168),"Neon",0.5,true,false,Vector3.new(0,0,0),false,rootpos * CFrame.new(z,-2,0) * CFrame.Angles(0,0,math.rad(180)))
  487.         mesh(beam20,0,0,Vector3.new(1,1,1),Enum.MeshType.Sphere)
  488.         local beam30 = part(char,Color3.fromRGB(0, 168, 168),"Neon",0.5,true,false,Vector3.new(0,0,0),false,rootpos * CFrame.new(-z,-2,0) * CFrame.Angles(0,0,math.rad(180)))
  489.         mesh(beam30,0,0,Vector3.new(1,1,1),Enum.MeshType.Sphere)
  490.         coroutine.resume(coroutine.create(function()
  491.             sound(char.Torso,340722848,1,false)
  492.             for i = 1,10 do
  493.                 beam.CFrame = beam.CFrame:Lerp(beampos * CFrame.new(0,-10,0),i/25)
  494.                 beam.Size = beam.Size:Lerp(Vector3.new(10,50,10),i/25)
  495.                 beam1.CFrame = beam1.CFrame:Lerp(beam1pos * CFrame.new(0,-10,0),i/25)
  496.                 beam1.Size = beam1.Size:Lerp(Vector3.new(10,50,10),i/25)
  497.                 beam2.CFrame = beam2.CFrame:Lerp(beam2pos * CFrame.new(0,-10,0),i/25)
  498.                 beam2.Size = beam2.Size:Lerp(Vector3.new(10,50,10),i/25)
  499.                 beam3.CFrame = beam3.CFrame:Lerp(beam3pos * CFrame.new(0,-10,0),i/25)
  500.                 beam3.Size = beam3.Size:Lerp(Vector3.new(10,50,10),i/25)
  501.                
  502.                 beam0.CFrame = beam0.CFrame:Lerp(beampos * CFrame.new(0,-10,0),i/25)
  503.                 beam0.Size = beam0.Size:Lerp(Vector3.new(15,50,15),i/25)
  504.                 beam10.CFrame = beam10.CFrame:Lerp(beam1pos * CFrame.new(0,-10,0),i/25)
  505.                 beam10.Size = beam10.Size:Lerp(Vector3.new(15,50,15),i/25)
  506.                 beam20.CFrame = beam20.CFrame:Lerp(beam2pos * CFrame.new(0,-10,0),i/25)
  507.                 beam20.Size = beam20.Size:Lerp(Vector3.new(15,50,15),i/25)
  508.                 beam30.CFrame = beam30.CFrame:Lerp(beam3pos * CFrame.new(0,-10,0),i/25)
  509.                 beam30.Size = beam30.Size:Lerp(Vector3.new(15,50,15),i/25)
  510.                 wait()
  511.             end
  512.             for i = 1,9 do
  513.                 beam.Size = beam.Size:Lerp(Vector3.new(0,50,0),i/10)
  514.                 beam1.Size = beam1.Size:Lerp(Vector3.new(0,50,0),i/10)
  515.                 beam2.Size = beam2.Size:Lerp(Vector3.new(0,50,0),i/10)
  516.                 beam3.Size = beam3.Size:Lerp(Vector3.new(0,50,0),i/10)
  517.                
  518.                 beam0.Size = beam0.Size:Lerp(Vector3.new(0,50,0),i/10)
  519.                 beam10.Size = beam10.Size:Lerp(Vector3.new(0,50,0),i/10)
  520.                 beam20.Size = beam20.Size:Lerp(Vector3.new(0,50,0),i/10)
  521.                 beam30.Size = beam30.Size:Lerp(Vector3.new(0,50,0),i/10)
  522.                 wait()
  523.             end
  524.             beam:Destroy()
  525.             beam1:Destroy()
  526.             beam2:Destroy()
  527.             beam3:Destroy()
  528.             beam0:Destroy()
  529.             beam10:Destroy()
  530.             beam20:Destroy()
  531.             beam30:Destroy()
  532.             touch:Disconnect()
  533.             touch1:Disconnect()
  534.             touch2:Disconnect()
  535.             touch3:Disconnect()
  536.         end))
  537.         wait(.1)
  538.     end
  539.     for i = 1,10 do
  540.         beams()
  541.         z = z + 20
  542.     end
  543.     hum.WalkSpeed = 100
  544.     hum.JumpPower = 50
  545.     state = "TransIdle"
  546.     canusemoves = true
  547. end
  548. local function giantblaster()
  549.     canusemoves = false
  550.     local blaster = part(char,Color3.new(163, 162, 165),"Plastic",1,true,false,Vector3.new(10,10,10),false,char.Torso.CFrame * CFrame.new(10,1,0))
  551.     mesh(blaster,431908407,441975828,Vector3.new(.5,.5,.5),Enum.MeshType.FileMesh)
  552.     local s = sound(char.Torso,422747271,1,false)
  553.     coroutine.resume(coroutine.create(function()
  554.         wait(.2)
  555.         s.PlaybackSpeed = .5
  556.     end))
  557.     for i = 1,15,.5 do
  558.         blaster.CFrame = blaster.CFrame:Lerp(char.HumanoidRootPart.CFrame * CFrame.Angles(0,math.rad(180),0) * CFrame.new(0,50,50),i/50)
  559.         blaster.Transparency = blaster.Transparency - .1
  560.         wait()
  561.     end
  562.     local s1 = sound(char.Torso,340722848,1,false)
  563.     s1.PlaybackSpeed = .3
  564.     local beam = part(char,Color3.fromRGB(248, 248, 248),"Neon",0,true,false,Vector3.new(0,0,0),false,blaster.CFrame * CFrame.new(0,-5,5))
  565.     local beamm = mesh(beam,0,0,Vector3.new(1,1,1),Enum.MeshType.Sphere)
  566.     local beam2 = beam:Clone()
  567.     beam2.Transparency = .5
  568.     beam2.Parent = char
  569.     beam2.Color = Color3.fromRGB(0, 168, 168)
  570.     touch1 = dmg(beam,1/0,.5,"BigBlaster")
  571.     for i = 1,5 do
  572.         for i = 1,10,.5 do
  573.             beam.CFrame = beam.CFrame:Lerp(blaster.CFrame * CFrame.new(0,-10,750),i/50)
  574.             beam.Size = beam.Size:Lerp(Vector3.new(1050,1050,1550),i/50)
  575.             beam2.CFrame = beam2.CFrame:Lerp(blaster.CFrame * CFrame.new(0,-10,750),i/50)
  576.             beam2.Size = beam2.Size:Lerp(Vector3.new(1150,1150,1650),i/50)
  577.             wait()
  578.         end
  579.         for i = 1,10,.5 do
  580.             beam.CFrame = beam.CFrame:Lerp(blaster.CFrame * CFrame.new(0,-10,750),i/50)
  581.             beam.Size = beam.Size:Lerp(Vector3.new(1000,1000,1500),i/50)
  582.             beam2.CFrame = beam2.CFrame:Lerp(blaster.CFrame * CFrame.new(0,-10,750),i/50)
  583.             beam2.Size = beam2.Size:Lerp(Vector3.new(1100,1100,1600),i/50)
  584.             wait()
  585.         end
  586.     end
  587.     for i = 1,30 do
  588.         beam.Size = beam.Size:Lerp(Vector3.new(0,0,1500),i/100)
  589.         beam2.Size = beam2.Size:Lerp(Vector3.new(0,0,1500),i/100)
  590.         blaster.Transparency = blaster.Transparency + .2
  591.         wait()
  592.     end
  593.     touch1:Disconnect()
  594.     beam:Destroy()
  595.     beam2:Destroy()
  596.     blaster:Destroy()
  597.     canusemoves = true
  598. end
  599. local function concentratedblaster()
  600.     canusemoves = false
  601.     local blaster = part(char,Color3.new(163, 162, 165),"Plastic",1,true,false,Vector3.new(1,1,1),false,mouse.Hit * CFrame.new(10,1,0))
  602.     mesh(blaster,431908407,441975828,Vector3.new(.05,.05,.05),Enum.MeshType.FileMesh)
  603.     sound(blaster,422747271,1,false)
  604.    
  605.     local ray = Ray.new(mouse.Hit.p, (mouse.Hit.p + CFrame.new(math.random(-5,5),10,math.random(-5,5)).p - mouse.Hit.p).unit * 20)
  606.     local part1, pos = workspace:FindPartOnRay(ray, char, false, true)
  607.    
  608.     local dist = (mouse.Hit.p - pos).magnitude
  609.     for i = 1,25 do
  610.         blaster.CFrame = blaster.CFrame:Lerp(CFrame.new(mouse.Hit.p, pos) * CFrame.new(0,2, -dist),i/15)
  611.         blaster.Transparency = blaster.Transparency - .1
  612.         wait()
  613.     end
  614.     sound(blaster,340722848,1,false)
  615.     local beam = part(char,Color3.fromRGB(248, 248, 248),"Neon",0,true,false,Vector3.new(0,0,0),false,blaster.CFrame * CFrame.new(0,-2,3))
  616.     local beamm = mesh(beam,0,0,Vector3.new(1,1,1),Enum.MeshType.Sphere)
  617.     local beam2 = beam:Clone()
  618.     beam2.Transparency = .5
  619.     beam2.Parent = char
  620.     beam2.Color = Color3.fromRGB(0, 168, 168)
  621.     touch = dmg(beam,1/0,.5,"ConcentratedBlaster")
  622.     local function part()
  623.         if particles == false then return end
  624.         local p = Instance.new("Part",char)
  625.         local s = math.random(.25,2)
  626.         p.Size = Vector3.new(s,s,s)
  627.         p.BrickColor = BrickColor.new("Baby blue")
  628.         p.Material = Enum.Material.Neon
  629.         p.CanCollide = false
  630.         p.CFrame = blaster.CFrame * CFrame.new(0,-2,3) * CFrame.Angles(0,math.rad(180),0)
  631.         p.Orientation = p.Orientation + Vector3.new(math.random(-15,15),math.random(-15,15),0)
  632.         p.Name = "Particle"
  633.         local vel = Instance.new("BodyVelocity",p)
  634.         vel.MaxForce = Vector3.new(1/0,1/0,1/0)
  635.         vel.Velocity = p.CFrame.LookVector * 20 * 2
  636.         coroutine.resume(coroutine.create(function()
  637.             for i = 1,100 do
  638.                 if not p then break end
  639.                 p.Size = p.Size - Vector3.new(0.02,0.02,0.02)
  640.                 wait()
  641.             end
  642.             p:Destroy()
  643.         end))
  644.     end
  645.     for i = 1,3 do
  646.         for i = 1,4,.5 do
  647.             part()
  648.             beam.CFrame = beam.CFrame:Lerp(blaster.CFrame * CFrame.new(0,-2,18),i/10)
  649.             beam.Size = beam.Size:Lerp(Vector3.new(15,15,30),i/10)
  650.             beam2.CFrame = beam2.CFrame:Lerp(blaster.CFrame * CFrame.new(0,-2,18),i/10)
  651.             beam2.Size = beam2.Size:Lerp(Vector3.new(18,18,33),i/10)
  652.             wait()
  653.         end
  654.         for i = 1,4,.5 do
  655.             part()
  656.             beam.CFrame = beam.CFrame:Lerp(blaster.CFrame * CFrame.new(0,-2,18),i/10)
  657.             beam.Size = beam.Size:Lerp(Vector3.new(18,18,33),i/10)
  658.             beam2.CFrame = beam2.CFrame:Lerp(blaster.CFrame * CFrame.new(0,-2,18),i/10)
  659.             beam2.Size = beam2.Size:Lerp(Vector3.new(20,20,35),i/10)
  660.             wait()
  661.         end
  662.     end
  663.     canusemoves = true
  664.     for i = 1,10 do
  665.         beam.Size = beam.Size:Lerp(Vector3.new(0,0,30),i/15)
  666.         beam2.Size = beam2.Size:Lerp(Vector3.new(0,0,30),i/15)
  667.         blaster.CFrame = blaster.CFrame * CFrame.new(0,0,-1)
  668.         blaster.Transparency = blaster.Transparency + .3
  669.         wait()
  670.     end
  671.     touch:Disconnect()
  672.     beam:Destroy()
  673.     beam2:Destroy()
  674.     blaster:Destroy()
  675. end
  676. local function TRANSFORM()
  677.     canusemoves = false
  678.     hum.WalkSpeed = 0
  679.     hum.JumpPower = 0
  680.     if transformed == false then
  681.         state = "Transform"
  682.         for i = 1,5 do --OG POS
  683.             char.Torso["Left Arm"].C1 = char.Torso["Left Arm"].C1:Lerp(CFrame.new(0.056999974, 0.0190000236, -0.0129999965, -0.0194480661, -0.0922357887, 0.995547295, 0.113948643, 0.989043057, 0.0938591808, -0.993296266, 0.115266472, -0.00872481614),i/10)
  684.             char.Torso["Right Arm"].C1 = char.Torso["Right Arm"].C1:Lerp(CFrame.new(0.435000002, 0.828000009, -0.0629999936, 0.459384769, -0.886023879, -0.0626689941, 0.810884595, 0.389536917, 0.436723292, -0.362535417, -0.251441419, 0.897410393),i/10)
  685.             char.HumanoidRootPart["Torso"].C1 = char.HumanoidRootPart["Torso"].C1:Lerp(CFrame.new(0.00900000334, 0.724000096, 0.0960000008, 0.999075651, 0, 0.042986989, 0.00425668992, 0.99508518, -0.0989312157, -0.0427757166, 0.0990227461, 0.994165361),i/10)
  686.             char.Torso["Left Leg"].C1 = char.Torso["Left Leg"].C1:Lerp(CFrame.new(-0.0579999983, -0.676999986, 1.11199999, 0.999884725, 0, -0.0151847899, 0.000831930898, 0.998498261, 0.0547808409, 0.0151619865, -0.0547871292, 0.998383224),i/10)
  687.             char.Torso["Right Leg"].C1 = char.Torso["Right Leg"].C1:Lerp(CFrame.new(0.0139999986, 0.308000028, -0.466999888, 0.999874413, -0.00486472622, -0.0150835691, -0.00970396399, 0.56454742, -0.82534337, 0.0125304833, 0.825386167, 0.564429104),i/10)
  688.             char.Torso["Head"].C1 = char.Torso["Head"].C1:Lerp(CFrame.new(0, -0.192000002, 0.197999999, 1, 0, 0, 0, 0.885983765, -0.463716388, 0, 0.463716388, 0.885983765),i/10)
  689.             wait()
  690.         end
  691.         char.Head.BillboardGui.TextLabel.TextScaled = false
  692.         char.Head.BillboardGui.TextLabel.TextWrapped = false
  693.         char.Head.BillboardGui.TextLabel.TextSize = 75
  694.         local function dia(t,w)
  695.             for i = 1,#t do
  696.                 sound(char.Torso,2469886818,1,true)
  697.                 char.Head.BillboardGui.TextLabel.Text = string.sub(t,1,i)
  698.                 if w == 0 then
  699.                     wait(.05)
  700.                 elseif w ~= 0 then
  701.                     wait(w)
  702.                 end
  703.             end
  704.         end
  705.         music.SoundId = "rbxassetid://2567531741"
  706.         music.TimePosition = 15
  707.         dia(". . .",0.5)
  708.         wait(2)
  709.         dia("Welp. . .",0)
  710.         wait(2)
  711.         dia("I think you have beaten me. . .")
  712.         wait(2)
  713.         dia("But, then again. . .",0)
  714.         wait(2)
  715.         dia("I feel kinda bad for you.",0)
  716.         wait(2)
  717.         dia("You've made me want to use my REAL special attack. .",0)
  718.         wait(2)
  719.         dia("So, here goes nothing. . .",0)
  720.         wait(2)
  721.         dia("Prepare yourself",0.1)
  722.         wait(2)
  723.         sound(char.Torso,367453005,1,true)
  724.         for i,child in pairs(char.Bones:GetChildren()) do
  725.             child.Transparency = 0
  726.         end
  727.         transformed = true
  728.         hum.WalkSpeed = 100
  729.         state = "TransIdle"
  730.         char.Head.BillboardGui.TextLabel.TextScaled = true
  731.         char.Head.BillboardGui.TextLabel.TextWrapped = true
  732.         char.Head.BillboardGui.TextLabel.Text = "ULTRA SANS"
  733.         local inner = part(char,Color3.fromRGB(229, 228, 223),"Neon",0,true,false,Vector3.new(5,5,5),false,char.Torso.CFrame)
  734.         inner.Shape = "Ball"
  735.         for i = 1,10 do
  736.             inner.Size = inner.Size + Vector3.new(.5,.5,.5)
  737.             inner.Transparency = inner.Transparency + .1
  738.             wait()
  739.         end
  740.         hum.JumpPower = 50
  741.         canusemoves = true
  742.     else
  743.         canusemoves = false
  744.         state = "Transform"
  745.         for i = 1,5 do --SAME POS AS OG FOR LERP BETWEEN ANIMS
  746.             char.HumanoidRootPart["Torso"].C1 = char.HumanoidRootPart["Torso"].C1:Lerp(CFrame.new(0.00900000334, 1.13600016, 0, 0.999975502, 0, 0.00700038671, 0.00022397429, 0.999487996, -0.0319937542, -0.00699680252, 0.0319945365, 0.999463499),i/10)
  747.             char.Torso["Head"].C1 = char.Torso["Head"].C1:Lerp(CFrame.new(0, -0.158000007, 0.287, 0.998878598, -0.0315804854, 0.0352746546, 0.0436943248, 0.901797712, -0.42994374, -0.0182327554, 0.431002855, 0.902166367),i/10)
  748.             char.Torso["Left Arm"].C1 = char.Torso["Left Arm"].C1:Lerp(CFrame.new(),i/10)
  749.             char.Torso["Right Arm"].C1 = char.Torso["Right Arm"].C1:Lerp(CFrame.new(-0.149999991, -0.00700002909, 0.382000029, 0.98718369, 0.14615038, -0.0640985891, -0.146712765, 0.989170492, -0.0041319374, 0.0628005564, 0.0134830177, 0.997935057),i/10)
  750.             char.Torso["Left Leg"].C1 = char.Torso["Left Leg"].C1:Lerp(CFrame.new(0, 0.259000033, -0.513000011, 0.997798383, 0, -0.0663221478, -0.066080302, 0.0853216946, -0.994159877, 0.00565871783, 0.996353447, 0.0851338506),i/10)
  751.             char.Torso["Right Leg"].C1 = char.Torso["Right Leg"].C1:Lerp(CFrame.new(0.0169999972, 0.338999987, -0.594999969, 0.998718858, 0.0193810277, -0.0467441007, -0.0486966521, 0.11696741, -0.991941214, -0.0137573313, 0.992946684, 0.117761403),i/10)
  752.             char.Torso["LBone1"].C1 = char.Torso["LBone1"].C1:Lerp(CFrame.new(0, -0.324000031, -0.064000003, 1, 0, 0, 0, 0.867727399, -0.49704051, 0, 0.49704051, 0.867727399),i/10)
  753.             char.Torso["LBone2"].C1 = char.Torso["LBone2"].C1:Lerp(CFrame.new(-0.428000003, -1.06699991, -0.169, -0.428981036, -0.898426592, 0.0938345045, 0.748467624, -0.41168049, -0.51991868, 0.505738616, -0.152803123, 0.84904635),i/10)
  754.             char.Torso["LBoneHand"].C1 = char.Torso["LBoneHand"].C1:Lerp(CFrame.new(0.479000002, -0.138000071, -0.179999977, 0.604418039, 0.317792088, 0.730538785, -0.12185283, 0.943081319, -0.309434235, -0.787293196, 0.0980095118, 0.608739197),i/10)
  755.             char.Torso["RBone1"].C1 = char.Torso["RBone1"].C1:Lerp(CFrame.new(0.0670000017, -0.601999998, -0.468000054, 0.0434085429, -0.974861622, -0.218541369, 0.794642568, 0.166272491, -0.583863616, 0.605523646, -0.148317561, 0.781884313),i/10)
  756.             char.Torso["RBone2"].C1 = char.Torso["RBone2"].C1:Lerp(CFrame.new(0, 0.574999988, -0.449000001, 1, 0, 0, 0, 0.905098259, 0.425202429, 0, -0.425202429, 0.905098259),i/10)
  757.             char.Torso["RBoneHand"].C1 = char.Torso["RBoneHand"].C1:Lerp(CFrame.new(-0.331, -0.545000017, -0.233999982, 0.842293561, -0.303380311, -0.445535541, -0.30922851, 0.405049354, -0.860414267, 0.44149667, 0.862493694, 0.247356683),i/10)
  758.             wait()
  759.         end
  760.         local function dia(t,w)
  761.             for i = 1,#t do
  762.                 sound(char.Torso,2469886818,1,true)
  763.                 char.Head.BillboardGui.TextLabel.Text = string.sub(t,1,i)
  764.                 if w == 0 then
  765.                     wait(.05)
  766.                 elseif w ~= 0 then
  767.                     wait(w)
  768.                 end
  769.             end
  770.         end
  771.         char.Head.BillboardGui.TextLabel.TextScaled = false
  772.         char.Head.BillboardGui.TextLabel.TextWrapped = false
  773.         char.Head.BillboardGui.TextLabel.TextSize = 75
  774.         dia("Phew. . .",0)
  775.         wait(1)
  776.         dia("Being Ultra Sans is really tiring. .",0)
  777.         wait(1)
  778.         dia("I don't think i can. . .",.1)
  779.         wait(2)
  780.         music.SoundId = "rbxassetid://385705841"
  781.         sound(char.Torso,367453005,1,true)
  782.         for i,child in pairs(char.Bones:GetChildren()) do
  783.             child.Transparency = 1
  784.         end
  785.         transformed = false
  786.         hum.WalkSpeed = 16
  787.         hum.JumpPower = 50
  788.         state = "Idle"
  789.         char.Head.BillboardGui.TextLabel.TextScaled = true
  790.         char.Head.BillboardGui.TextLabel.TextWrapped = true
  791.         char.Head.BillboardGui.TextLabel.Text = "SANS"
  792.         local inner = part(char,Color3.fromRGB(229, 228, 223),"Neon",0,true,false,Vector3.new(5,5,5),false,char.Torso.CFrame)
  793.         inner.Shape = "Ball"
  794.         for i = 1,10 do
  795.             inner.Size = inner.Size + Vector3.new(.5,.5,.5)
  796.             inner.Transparency = inner.Transparency + .1
  797.             wait()
  798.         end
  799.         canusemoves = true
  800.     end
  801. end
  802. local function emote()
  803.     state = "Emoting"
  804.     for i = 1,7 do --SAME POS AS OG FOR LERP BETWEEN ANIMS
  805.         char.HumanoidRootPart["Torso"].C1 = char.HumanoidRootPart["Torso"].C1:Lerp(CFrame.new(0.00900000334, -0.50699985, 0, 0.999975502, 0, 0.00700038671, 0.00022397429, 0.999487996, -0.0319937542, -0.00699680252, 0.0319945365, 0.999463499),i/10)
  806.         char.Torso["Head"].C1 = char.Torso["Head"].C1:Lerp(CFrame.new(-0.0419999994, 0.0300000012, -0.0259999931, 0.998878598, -0.0315804854, 0.0352746546, 0.0307644717, 0.999251783, 0.0234414339, -0.0359885357, -0.0223299563, 0.999102771),i/10)
  807.         char.Torso["Left Arm"].C1 = char.Torso["Left Arm"].C1:Lerp(CFrame.new(0.487999976, 0.465000033, -0.050999999, 0.0038388744, -0.999662161, -0.0257050395, 0.999534369, 0.00461401232, -0.030161269, 0.0302696526, -0.0255772248, 0.99921453),i/10)
  808.         char.Torso["Right Arm"].C1 = char.Torso["Right Arm"].C1:Lerp(CFrame.new(-0.541999996, 0.450999975, 0.00500005484, -0.0211608075, 0.998084068, 0.0581420325, -0.999041736, -0.0188807696, -0.0394893922, -0.0383159667, -0.0589219928, 0.997526944),i/10)
  809.         char.Torso["Left Leg"].C1 = char.Torso["Left Leg"].C1:Lerp(CFrame.new(0, 0.0399999954, 0.030999992, 0.999828458, -0.00302356249, -0.0182793885, 0.003598287, 0.999497533, 0.031490393, 0.0181749966, -0.031550739, 0.999336958),i/10)
  810.         char.Torso["Right Leg"].C1 = char.Torso["Right Leg"].C1:Lerp(CFrame.new(0.0169999972, 0.0500000045, 0.0320001021, 0.998859048, 0.00838526618, -0.0470130742, -0.00725344848, 0.999681056, 0.0241940971, 0.0472008698, -0.0238254797, 0.998601198),i/10)
  811.         char.Torso["LBone1"].C1 = char.Torso["LBone1"].C1:Lerp(CFrame.new(0.620000005, -0.425000072, -0.11900004, 0.589940667, -0.803473711, -0.0800003707, 0.76222986, 0.586854398, -0.27314353, 0.266412228, 0.100159764, 0.958641112),i/10)
  812.         char.Torso["LBone2"].C1 = char.Torso["LBone2"].C1:Lerp(CFrame.new(-0.0260000825, 0.627000213, -1.69199991, 0.697628796, 0.669468045, -0.255198777, 0.497541755, -0.196391657, 0.844915748, 0.515525222, -0.716409504, -0.470096946),i/10)
  813.         char.Torso["LBoneHand"].C1 = char.Torso["LBoneHand"].C1:Lerp(CFrame.new(0.0870000422, -0.340000033, -0.0809999779, 0.952419043, 0.0340608358, 0.302882433, 0.168925047, 0.768159509, -0.617572069, -0.253697038, 0.639351964, 0.725855887),i/10)
  814.         char.Torso["RBone1"].C1 = char.Torso["RBone1"].C1:Lerp(CFrame.new(0.440000027, -0.461000025, -0.0700000226, 0.696662664, -0.714155197, 0.0681422055, 0.686921179, 0.691441655, 0.223713696, -0.206882864, -0.109044507, 0.972270131),i/10)
  815.         char.Torso["RBone2"].C1 = char.Torso["RBone2"].C1:Lerp(CFrame.new(0.864000022, 0.216999978, -1.18900013, 0.358922511, -0.17811951, 0.916214049, -0.633575499, 0.674327433, 0.379294902, -0.685388088, -0.716628194, 0.129179075),i/10)
  816.         char.Torso["RBoneHand"].C1 = char.Torso["RBoneHand"].C1:Lerp(CFrame.new(-0.201999992, -0.444999993, -0.141999975, 0.822396636, 0.337788969, -0.457779735, -0.564056516, 0.589052677, -0.578668416, 0.074188605, 0.734108567, 0.674966991),i/10)
  817.         wait()
  818.     end
  819.     music:Pause()
  820.     hum.AutoRotate = false
  821.     local song = sound(char.Torso,3956754701,1,false)
  822.     local playing = true
  823.     song.Ended:Connect(function()
  824.         music:Resume()
  825.         playing = false
  826.         hum.AutoRotate = true
  827.         char.HumanoidRootPart.Torso.C0 = CFrame.new(0,0,0)
  828.         if transformed == false then
  829.             state = "Idle"
  830.         else
  831.             state = "TransIdle"
  832.         end
  833.     end)
  834.     while playing == true do
  835.         char.HumanoidRootPart.Torso.C0 = char.HumanoidRootPart.Torso.C0 * CFrame.Angles(0,.1,0)
  836.         wait()
  837.     end
  838. end
  839. --END OF MOVES
  840.  
  841.  
  842. --KEYBINDS
  843. mouse.KeyDown:Connect(function(key)
  844.     key = string.lower(key)
  845.     if state == "Transform" then return end
  846.     if canusemoves == false then return end
  847.     if string.byte(key) == 114 then
  848.         teleport()
  849.     elseif string.byte(key) == 49 then
  850.         if transformed == false then
  851.             blaster()
  852.         else
  853.             slam()
  854.         end
  855.     elseif string.byte(key) == 50 then
  856.         if transformed == false then
  857.             bigblaster()
  858.         else
  859.             giantblaster()
  860.         end
  861.     elseif string.byte(key) == 51 then
  862.         if transformed == false then
  863.             doubleblaster()
  864.         else
  865.             concentratedblaster()
  866.         end
  867.     elseif string.byte(key) == 48 then
  868.         TRANSFORM()
  869.     elseif string.byte(key) == 109 then
  870.         mute = not mute
  871.         if mute == true then
  872.             music.Volume = 0
  873.         elseif mute == false then
  874.             music.Volume = 1
  875.         end
  876.     elseif string.byte(key) == 98 then
  877.         if state == "Emoting" then return end
  878.         emote()
  879.     elseif string.byte(key) == 99 then
  880.         cleanup()
  881.     elseif string.byte(key) == 57 then
  882.         particles = not particles
  883.     end
  884. end)
  885. --END OF KEYBINDS
  886.  
  887.  
  888. --ANIMATIONS
  889. hum.Running:Connect(function(spd)
  890.     if state == "Transform" or state == "Emoting" then return end
  891.     if spd > 6 then
  892.         if transformed == false then
  893.             state = "Walk"
  894.         else
  895.             state = "TransWalk"
  896.         end
  897.     elseif spd < 6 then
  898.         if transformed == false then
  899.             state = "Idle"
  900.             for i = 1,5 do --SAME POS AS OG FOR LERP BETWEEN ANIMS
  901.                 if state ~= "Idle" then break end
  902.                 char.Torso["Left Arm"].C1 = char.Torso["Left Arm"].C1:Lerp(CFrame.new(-0.461000025, 0.55400002, -0.138999999, 0.637414873, 0.770431399, -0.0117421225, -0.72914505, 0.59818989, -0.33243987, -0.249098092, 0.220463797, 0.943051398),i/10)
  903.                 char.Torso["Right Arm"].C1 = char.Torso["Right Arm"].C1:Lerp(CFrame.new(0.435000002, 0.564999998, -0.197999999, 0.631951034, -0.768613815, 0.0993518978, 0.743860662, 0.565570116, -0.356092572, 0.217507169, 0.298936963, 0.929154098),i/10)
  904.                 char.HumanoidRootPart["Torso"].C1 = char.HumanoidRootPart["Torso"].C1:Lerp(CFrame.new(0.00900000334, 0, 0, 0.999075651, 0, 0.042986989, 0, 1, 0, -0.042986989, 0, 0.999075651),i/10)
  905.                 char.Torso["Left Leg"].C1 = char.Torso["Left Leg"].C1:Lerp(CFrame.new(0, 0, 0, 0.981969237, 0, -0.189040929, 0, 1, 0, 0.189040929, 0, 0.981969237),i/10)
  906.                 char.Torso["Right Leg"].C1 = char.Torso["Right Leg"].C1:Lerp(CFrame.new(0, 0, 0, 0.987799048, 0, 0.155733824, 0, 1, 0, -0.155733824, 0, 0.987799048),i/10)
  907.                 char.Torso["Head"].C1 = char.Torso["Head"].C1:Lerp(CFrame.new(0, 0, -0.0430000015, 1, 0, 0, 0, 0.996217906, 0.0868901834, 0, -0.0868901834, 0.996217906),i/10)
  908.                 wait()
  909.             end
  910.         else
  911.             state = "TransIdle"
  912.             for i = 1,5 do --SAME POS AS OG FOR LERP BETWEEN ANIMS
  913.                 if state ~= "TransIdle" then break end
  914.                 char.HumanoidRootPart["Torso"].C1 = char.HumanoidRootPart["Torso"].C1:Lerp(CFrame.new(0.00900000334, -0.694999993, 0, 0.935831666, 0, -0.352447331, 0, 1, 0, 0.352447331, 0, 0.935831666),i/10)
  915.                 char.Torso["Head"].C1 = char.Torso["Head"].C1:Lerp(CFrame.new(0, 0, -0.0470000021, 0.932780027, -0.0073428303, 0.360371411, 0.0158635247, 0.999660075, -0.0206921175, -0.360096961, 0.0250179321, 0.932579398),i/10)
  916.                 char.Torso["Left Arm"].C1 = char.Torso["Left Arm"].C1:Lerp(CFrame.new(0.0119999945, -0.0989999771, -0.0259999633, 0.953588724, -0.114257872, 0.278592318, 0.169170648, 0.968679905, -0.181770369, -0.249098092, 0.220463797, 0.943051398),i/10)
  917.                 char.Torso["Right Arm"].C1 = char.Torso["Right Arm"].C1:Lerp(CFrame.new(-0.138999984, 0.755999982, 0.553000033, 0.549539685, -0.485859394, -0.679666698, 0.78908205, 0.569134772, 0.231160864, 0.274510205, -0.66334486, 0.696144998),i/10)
  918.                 char.Torso["Left Leg"].C1 = char.Torso["Left Leg"].C1:Lerp(CFrame.new(0, 0, 0, 0.831290603, 0, -0.555838168, 0, 1, 0, 0.555838168, 0, 0.831290603),i/10)
  919.                 char.Torso["Right Leg"].C1 = char.Torso["Right Leg"].C1:Lerp(CFrame.new(0.0169999972, -0.611999989, 0.600000024, 0.907057285, 0, 0.421007216, 0, 1, 0, -0.421007216, 0, 0.907057285),i/10)
  920.                 char.Torso["LBone1"].C1 = char.Torso["LBone1"].C1:Lerp(CFrame.new(0, 0.382999986, -0.064000003, 1, 0, 0, 0, 0.931965172, 0.362547845, 0, -0.362547845, 0.931965172),i/10)
  921.                 char.Torso["LBone2"].C1 = char.Torso["LBone2"].C1:Lerp(CFrame.new(0.238000005, -0.0279999971, 0, 0.974120438, 0, 0.226029813, 0, 1, 0, -0.226029813, 0, 0.974120438),i/10)
  922.                 char.Torso["LBoneHand"].C1 = char.Torso["LBoneHand"].C1:Lerp(CFrame.new(0.324000001, -0.609000027, -0.231999993, 0.788916826, 0.281206846, 0.546381593, 0.292753607, 0.609765172, -0.736533582, -0.540282786, 0.741019011, 0.398729682),i/10)
  923.                 char.Torso["RBone1"].C1 = char.Torso["RBone1"].C1:Lerp(CFrame.new(0.0670000017, 0.465000004, 0, 0.752464771, -0.658632517, 0, 0.497680485, 0.568582654, 0.655002236, -0.431405783, -0.492866099, 0.755626976),i/10)
  924.                 char.Torso["RBone2"].C1 = char.Torso["RBone2"].C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),i/10)
  925.                 char.Torso["RBoneHand"].C1 = char.Torso["RBoneHand"].C1:Lerp(CFrame.new(-0.19600004, -0.592999995, -0.187000006, 0.913164496, -0.311582476, -0.262767971, 0, 0.64468497, -0.764448345, 0.407591254, 0.698067188, 0.588703454),i/10)
  926.                 wait()
  927.             end
  928.         end
  929.     end
  930. end)
  931.  
  932. while run.RenderStepped:Wait() do --MOVEMENT
  933.     if hum.Health ~= hum.MaxHealth then
  934.         hum.Health = hum.MaxHealth
  935.     end
  936.     if state == "Idle" then
  937.         for i = 1,20,.5 do --ALTER
  938.             if state ~= "Idle" then break end
  939.             char.Torso["Left Arm"].C1 = char.Torso["Left Arm"].C1:Lerp(CFrame.new(-0.262000024, 0.807000041, -0.138999999, 0.637414873, 0.770431399, -0.0117421225, -0.72914505, 0.59818989, -0.33243987, -0.249098092, 0.220463797, 0.943051398),i/100)
  940.             char.Torso["Right Arm"].C1 = char.Torso["Right Arm"].C1:Lerp(CFrame.new(0.221999988, 0.730000019, -0.197999999, 0.631951034, -0.768613815, 0.0993518978, 0.743860662, 0.565570116, -0.356092572, 0.217507169, 0.298936963, 0.929154098),i/100)
  941.             char.HumanoidRootPart["Torso"].C1 = char.HumanoidRootPart["Torso"].C1:Lerp(CFrame.new(0.00900000334, 0.172999993, 0, 0.999075651, 0, 0.042986989, 0, 1, 0, -0.042986989, 0, 0.999075651),i/100)
  942.             char.Torso["Left Leg"].C1 = char.Torso["Left Leg"].C1:Lerp(CFrame.new(0, -0.193000004, 0, 0.981969237, 0, -0.189040929, 0, 1, 0, 0.189040929, 0, 0.981969237),i/100)
  943.             char.Torso["Right Leg"].C1 = char.Torso["Right Leg"].C1:Lerp(CFrame.new(00, -0.193000004, 0, 0.987799048, 0, 0.155733824, 0, 1, 0, -0.155733824, 0, 0.987799048),i/100)
  944.             char.Torso["Head"].C1 = char.Torso["Head"].C1:Lerp(CFrame.new(0, 0, -0.0210000016, 1, 0, 0, 0, 0.998942196, -0.0459838733, 0, 0.0459838733, 0.998942196),i/100)
  945.             wait()
  946.         end
  947.         for i = 1,20,.5 do --OG POS
  948.             if state ~= "Idle" then break end
  949.             char.Torso["Left Arm"].C1 = char.Torso["Left Arm"].C1:Lerp(CFrame.new(-0.461000025, 0.55400002, -0.138999999, 0.637414873, 0.770431399, -0.0117421225, -0.72914505, 0.59818989, -0.33243987, -0.249098092, 0.220463797, 0.943051398),i/100)
  950.             char.Torso["Right Arm"].C1 = char.Torso["Right Arm"].C1:Lerp(CFrame.new(0.435000002, 0.564999998, -0.197999999, 0.631951034, -0.768613815, 0.0993518978, 0.743860662, 0.565570116, -0.356092572, 0.217507169, 0.298936963, 0.929154098),i/100)
  951.             char.HumanoidRootPart["Torso"].C1 = char.HumanoidRootPart["Torso"].C1:Lerp(CFrame.new(0.00900000334, 0, 0, 0.999075651, 0, 0.042986989, 0, 1, 0, -0.042986989, 0, 0.999075651),i/100)
  952.             char.Torso["Left Leg"].C1 = char.Torso["Left Leg"].C1:Lerp(CFrame.new(0, 0, 0, 0.981969237, 0, -0.189040929, 0, 1, 0, 0.189040929, 0, 0.981969237),i/100)
  953.             char.Torso["Right Leg"].C1 = char.Torso["Right Leg"].C1:Lerp(CFrame.new(0, 0, 0, 0.987799048, 0, 0.155733824, 0, 1, 0, -0.155733824, 0, 0.987799048),i/100)
  954.             char.Torso["Head"].C1 = char.Torso["Head"].C1:Lerp(CFrame.new(0, 0, -0.0430000015, 1, 0, 0, 0, 0.996217906, 0.0868901834, 0, -0.0868901834, 0.996217906),i/100)
  955.             wait()
  956.         end
  957.        
  958.     elseif state == "Walk" then
  959.        
  960.         for i = 1,7 do --OG POS
  961.             if state ~= "Walk" then break end
  962.             char.HumanoidRootPart["Torso"].C1 = char.HumanoidRootPart["Torso"].C1:Lerp(CFrame.new(0.00900000334, 0.074000001, 0, 0.999075651, 0, 0.042986989, 0.00425668992, 0.99508518, -0.0989312157, -0.0427757166, 0.0990227461, 0.994165361),i/10)
  963.             char.Torso["Left Leg"].C1 = char.Torso["Left Leg"].C1:Lerp(CFrame.new(-0.0579999983, -0.319999993, 0.941000044, 0.999884725, 0, -0.0151847899, 0.00213675085, 0.990050018, 0.14070034, 0.0150337014, -0.140716523, 0.989935935),i/10)
  964.             char.Torso["Right Leg"].C1 = char.Torso["Right Leg"].C1:Lerp(CFrame.new(0, -0.0829999894, -0.00199995935, 0.999874413, -0.00486472622, -0.0150835691, 0.00464448333, 0.999882519, -0.0146040581, 0.0151528455, 0.0145321339, 0.999779403),i/10)
  965.             wait()
  966.         end
  967.         for i = 1,7 do --ALTER
  968.             if state ~= "Walk" then break end
  969.             char.HumanoidRootPart["Torso"].C1 = char.HumanoidRootPart["Torso"].C1:Lerp(CFrame.new(0.00900000334, -0.0549999923, 0, 0.999075651, 0, 0.042986989, 0.00425668992, 0.99508518, -0.0989312157, -0.0427757166, 0.0990227461, 0.994165361),i/10)
  970.             char.Torso["Left Leg"].C1 = char.Torso["Left Leg"].C1:Lerp(CFrame.new(-0.0579999983, -0.0370000005, 0.758000016, 0.999884725, 0, -0.0151847899, -0.000212583458, 0.999902129, -0.0139981192, 0.0151833044, 0.0139997695, 0.999786973),i/10)
  971.             char.Torso["Right Leg"].C1 = char.Torso["Right Leg"].C1:Lerp(CFrame.new(0.0139999986, 0.0220000073, -0.254999876, 0.999874413, -0.00486472622, -0.0150835691, 0.000127533451, 0.954164326, -0.299282908, 0.0158481449, 0.299243391, 0.954044878),i/10)
  972.             wait()
  973.         end
  974.         for i = 1,7 do --ALTER2
  975.             if state ~= "Walk" then break end
  976.             char.HumanoidRootPart["Torso"].C1 = char.HumanoidRootPart["Torso"].C1:Lerp(CFrame.new(0.00900000334, 0.074000001, 0, 0.999075651, 0, 0.042986989, 0.00425668992, 0.99508518, -0.0989312157, -0.0427757166, 0.0990227461, 0.994165361),i/10)
  977.             char.Torso["Left Leg"].C1 = char.Torso["Left Leg"].C1:Lerp(CFrame.new(-0.0579999983, -0.0370000005, -0.00199997425, 0.999884725, 0, -0.0151847899, -0.000212583458, 0.999902129, -0.0139981192, 0.0151833044, 0.0139997695, 0.999786973),i/10)
  978.             char.Torso["Right Leg"].C1 = char.Torso["Right Leg"].C1:Lerp(CFrame.new(0, -0.393999994, 1.02200007, 0.999874413, -0.00486472622, -0.0150835691, 0.00583783258, 0.997858047, 0.065154776, 0.0147343017, -0.0652347058, 0.997760952),i/10)
  979.             wait()
  980.         end
  981.         for i = 1,7 do --ALTER3
  982.             if state ~= "Walk" then break end
  983.             char.HumanoidRootPart["Torso"].C1 = char.HumanoidRootPart["Torso"].C1:Lerp(CFrame.new(0.00900000334, -0.0549999923, 0, 0.999075651, 0, 0.042986989, 0.00425668992, 0.99508518, -0.0989312157, -0.0427757166, 0.0990227461, 0.994165361),i/10)
  984.             char.Torso["Left Leg"].C1 = char.Torso["Left Leg"].C1:Lerp(CFrame.new(-0.0579999983, 0.0530000031, -0.248999968, 0.999884725, 0, -0.0151847899, -0.00427201996, 0.959609628, -0.281302989, 0.0145714711, 0.281335443, 0.959499121),i/10)
  985.             char.Torso["Right Leg"].C1 = char.Torso["Right Leg"].C1:Lerp(CFrame.new(0.00100000203, -0.0769999921, 0.836000085, 0.999874413, -0.00486472622, -0.0150835691, 0.00442625675, 0.999570429, -0.0289694145, 0.0152180223, 0.0288989693, 0.99946624),i/10)
  986.             wait()
  987.         end
  988.        
  989.     elseif state == "TransIdle" then
  990.         --I should have used variables for the welds shouldn't i
  991.         for i = 1,20,.5 do --ALTER
  992.             if state ~= "TransIdle" then break end
  993.             char.HumanoidRootPart["Torso"].C1 = char.HumanoidRootPart["Torso"].C1:Lerp(CFrame.new(0.00900000334, -0.492999971, 0, 0.935831666, 0, -0.352447331, 0, 1, 0, 0.352447331, 0, 0.935831666),i/100)
  994.             char.Torso["Head"].C1 = char.Torso["Head"].C1:Lerp(CFrame.new(0, 0, -0.0470000021, 0.932780027, -0.0073428303, 0.360371411, 0.0339076146, 0.997146428, -0.0674483925, -0.358847797, 0.0751338229, 0.930367231),i/100)
  995.             char.Torso["Left Arm"].C1 = char.Torso["Left Arm"].C1:Lerp(CFrame.new(0.0119999945, 0.0840000212, -0.0259999633, 0.953588724, -0.114257872, 0.278592318, 0.169170648, 0.968679905, -0.181770369, -0.249098092, 0.220463797, 0.943051398),i/100)
  996.             char.Torso["Right Arm"].C1 = char.Torso["Right Arm"].C1:Lerp(CFrame.new(-0.138999984, 0.755999982, 0.382000029, 0.549539685, -0.485859394, -0.679666698, 0.78908205, 0.569134772, 0.231160864, 0.274510205, -0.66334486, 0.696144998),i/100)
  997.             char.Torso["Left Leg"].C1 = char.Torso["Left Leg"].C1:Lerp(CFrame.new(0, 0.178000003, 0, 0.831290603, 0, -0.555838168, 0, 1, 0, 0.555838168, 0, 0.831290603),i/100)
  998.             char.Torso["Right Leg"].C1 = char.Torso["Right Leg"].C1:Lerp(CFrame.new(0.0169999972, -0.263999999, 0.600000024, 0.907057285, 0, 0.421007216, 0, 1, 0, -0.421007216, 0, 0.907057285),i/100)
  999.             char.Torso["LBone1"].C1 = char.Torso["LBone1"].C1:Lerp(CFrame.new(0, 0.382999986, -0.064000003, 1, 0, 0, 0, 0.931965172, 0.362547845, 0, -0.362547845, 0.931965172),i/100)
  1000.             char.Torso["LBone2"].C1 = char.Torso["LBone2"].C1:Lerp(CFrame.new(0.238000005, 0.213, 0, 0.974120438, 0, 0.226029813, -0.0473801419, 0.977783144, 0.204194158, -0.221008137, -0.209619001, 0.952478528),i/100)
  1001.             char.Torso["LBoneHand"].C1 = char.Torso["LBoneHand"].C1:Lerp(CFrame.new(0.324000001, -0.736000061, -0.404999971, 0.788916826, 0.281206846, 0.546381593, 0.46471715, 0.308726877, -0.8298949, -0.402054876, 0.908631086, 0.112878203),i/100)
  1002.             char.Torso["RBone1"].C1 = char.Torso["RBone1"].C1:Lerp(CFrame.new(0.0670000017, 0.305000007, 0, 0.752464771, -0.658632517, 0, 0.57641834, 0.658537865, 0.483807534, -0.318651408, -0.364048123, 0.875174403),i/100)
  1003.             char.Torso["RBone2"].C1 = char.Torso["RBone2"].C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),i/100)
  1004.             char.Torso["RBoneHand"].C1 = char.Torso["RBoneHand"].C1:Lerp(CFrame.new(0.31099999, -0.592999995, -0.187000006, 0.906713843, 0.322403491, 0.27189362, 0, 0.64468497, -0.764448345, -0.421746463, 0.693135917, 0.584544778),i/100)
  1005.             wait()
  1006.         end
  1007.         for i = 1,20,.5 do --OG POS
  1008.             if state ~= "TransIdle" then break end
  1009.             char.HumanoidRootPart["Torso"].C1 = char.HumanoidRootPart["Torso"].C1:Lerp(CFrame.new(0.00900000334, -0.694999993, 0, 0.935831666, 0, -0.352447331, 0, 1, 0, 0.352447331, 0, 0.935831666),i/100)
  1010.             char.Torso["Head"].C1 = char.Torso["Head"].C1:Lerp(CFrame.new(0, 0, -0.0470000021, 0.932780027, -0.0073428303, 0.360371411, 0.0158635247, 0.999660075, -0.0206921175, -0.360096961, 0.0250179321, 0.932579398),i/100)
  1011.             char.Torso["Left Arm"].C1 = char.Torso["Left Arm"].C1:Lerp(CFrame.new(0.0119999945, -0.0989999771, -0.0259999633, 0.953588724, -0.114257872, 0.278592318, 0.169170648, 0.968679905, -0.181770369, -0.249098092, 0.220463797, 0.943051398),i/100)
  1012.             char.Torso["Right Arm"].C1 = char.Torso["Right Arm"].C1:Lerp(CFrame.new(-0.138999984, 0.755999982, 0.553000033, 0.549539685, -0.485859394, -0.679666698, 0.78908205, 0.569134772, 0.231160864, 0.274510205, -0.66334486, 0.696144998),i/100)
  1013.             char.Torso["Left Leg"].C1 = char.Torso["Left Leg"].C1:Lerp(CFrame.new(0, 0, 0, 0.831290603, 0, -0.555838168, 0, 1, 0, 0.555838168, 0, 0.831290603),i/100)
  1014.             char.Torso["Right Leg"].C1 = char.Torso["Right Leg"].C1:Lerp(CFrame.new(0.0169999972, -0.611999989, 0.600000024, 0.907057285, 0, 0.421007216, 0, 1, 0, -0.421007216, 0, 0.907057285),i/100)
  1015.             char.Torso["LBone1"].C1 = char.Torso["LBone1"].C1:Lerp(CFrame.new(0, 0.382999986, -0.064000003, 1, 0, 0, 0, 0.931965172, 0.362547845, 0, -0.362547845, 0.931965172),i/100)
  1016.             char.Torso["LBone2"].C1 = char.Torso["LBone2"].C1:Lerp(CFrame.new(0.238000005, -0.0279999971, 0, 0.974120438, 0, 0.226029813, 0, 1, 0, -0.226029813, 0, 0.974120438),i/100)
  1017.             char.Torso["LBoneHand"].C1 = char.Torso["LBoneHand"].C1:Lerp(CFrame.new(0.324000001, -0.609000027, -0.231999993, 0.788916826, 0.281206846, 0.546381593, 0.292753607, 0.609765172, -0.736533582, -0.540282786, 0.741019011, 0.398729682),i/100)
  1018.             char.Torso["RBone1"].C1 = char.Torso["RBone1"].C1:Lerp(CFrame.new(0.0670000017, 0.465000004, 0, 0.752464771, -0.658632517, 0, 0.497680485, 0.568582654, 0.655002236, -0.431405783, -0.492866099, 0.755626976),i/100)
  1019.             char.Torso["RBone2"].C1 = char.Torso["RBone2"].C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),i/100)
  1020.             char.Torso["RBoneHand"].C1 = char.Torso["RBoneHand"].C1:Lerp(CFrame.new(-0.19600004, -0.592999995, -0.187000006, 0.913164496, -0.311582476, -0.262767971, 0, 0.64468497, -0.764448345, 0.407591254, 0.698067188, 0.588703454),i/100)
  1021.             wait()
  1022.         end
  1023.        
  1024.     elseif state == "TransWalk" then
  1025.         for i = 1,7 do --ALTER
  1026.             if state ~= "TransWalk" then break end
  1027.             char.HumanoidRootPart["Torso"].C1 = char.HumanoidRootPart["Torso"].C1:Lerp(CFrame.new(0.00900000334, -0.492999971, 0, 0.999975502, 0, 0.00700038671, 0.0036541482, 0.852950156, -0.521979511, -0.00597098097, 0.521992326, 0.852929235),i/10)
  1028.             char.Torso["Head"].C1 = char.Torso["Head"].C1:Lerp(CFrame.new(0, 0, -0.148000002, 0.998878598, -0.0315804854, 0.0352746546, 0.0100686233, 0.869689703, 0.49349612, -0.0462628342, -0.492587507, 0.869032383),i/10)
  1029.             char.Torso["Left Arm"].C1 = char.Torso["Left Arm"].C1:Lerp(CFrame.new(0.0119999945, 0.0840000212, -0.0259999633, 0.953588724, -0.114257872, 0.278592318, 0.169170648, 0.968679905, -0.181770369, -0.249098092, 0.220463797, 0.943051398),i/10)
  1030.             char.Torso["Right Arm"].C1 = char.Torso["Right Arm"].C1:Lerp(CFrame.new(-0.138999984, 0.755999982, 0.382000029, 0.549539685, -0.485859394, -0.679666698, 0.78908205, 0.569134772, 0.231160864, 0.274510205, -0.66334486, 0.696144998),i/10)
  1031.             char.Torso["Left Leg"].C1 = char.Torso["Left Leg"].C1:Lerp(CFrame.new(0, 0.182999998, -0.48300001, 0.997798383, 0, -0.0663221478, -0.0573365204, 0.502606273, -0.862612128, 0.0333339274, 0.864515424, 0.501499772),i/10)
  1032.             char.Torso["Right Leg"].C1 = char.Torso["Right Leg"].C1:Lerp(CFrame.new(0.0169999972, -0.256000012, 0.0780000091, 0.925583422, 0.263819486, 0.271467328, -0.0805623382, 0.83799237, -0.539702177, -0.369871557, 0.477669418, 0.796885848),i/10)
  1033.             char.Torso["LBone1"].C1 = char.Torso["LBone1"].C1:Lerp(CFrame.new(0, 0.382999986, -0.064000003, 1, 0, 0, 0, 0.931965172, 0.362547845, 0, -0.362547845, 0.931965172),i/10)
  1034.             char.Torso["LBone2"].C1 = char.Torso["LBone2"].C1:Lerp(CFrame.new(0.238000005, 0.213, 0, 0.974120438, 0, 0.226029813, -0.0473801419, 0.977783144, 0.204194158, -0.221008137, -0.209619001, 0.952478528),i/10)
  1035.             char.Torso["LBoneHand"].C1 = char.Torso["LBoneHand"].C1:Lerp(CFrame.new(0.324000001, -0.736000061, -0.404999971, 0.788916826, 0.281206846, 0.546381593, 0.46471715, 0.308726877, -0.8298949, -0.402054876, 0.908631086, 0.112878203),i/10)
  1036.             char.Torso["RBone1"].C1 = char.Torso["RBone1"].C1:Lerp(CFrame.new(0.0670000017, -0.601999998, -0.468000054, 0.0434085429, -0.974861622, -0.218541369, 0.794642568, 0.166272491, -0.583863616, 0.605523646, -0.148317561, 0.781884313),i/10)
  1037.             char.Torso["RBone2"].C1 = char.Torso["RBone2"].C1:Lerp(CFrame.new(0, 0.574999988, -0.449000001, 1, 0, 0, 0, 0.862713277, 0.505693376, 0, -0.505693376, 0.862713277),i/10)
  1038.             char.Torso["RBoneHand"].C1 = char.Torso["RBoneHand"].C1:Lerp(CFrame.new(-0.129000008, -0.545000017, -0.0429999828, 0.845284462, 0.475916624, -0.242894083, -0.496416003, 0.531333983, -0.686480403, -0.197649539, 0.700847745, 0.685381055),i/10)
  1039.             wait()
  1040.         end
  1041.     end
  1042. end
  1043. --END OF ANIMATIONS
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement