Advertisement
basbas1234

Fire Remover

Dec 27th, 2018
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 97.13 KB | None | 0 0
  1. 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 = {}
  2. do
  3.     script.Parent = owner.Character
  4.     local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  5.     local function NewFakeEvent()
  6.         local Bind = Instance.new("BindableEvent")
  7.         local Fake;Fake = {Connections = {},
  8.         fakeEvent=true;
  9.         Connect=function(self,Func)
  10.             Bind.Event:connect(Func)
  11.             self.Connections[Bind] = true
  12.             return setmetatable({Connected = true},{
  13.             __index = function (self,Index)
  14.                 if Index:lower() == "disconnect" then
  15.                     return function() Fake.Connections[Bind] = false;self.Connected = false end
  16.                 end
  17.                 return Fake[Index]
  18.             end;
  19.             __tostring = function() return "Connection" end;
  20.         })
  21.         end}
  22.         Fake.connect = Fake.Connect;return Fake;
  23.     end
  24.     local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  25.     local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  26.     local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  27.         self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  28.     end};ContextActionService.UnBindAction = ContextActionService.BindAction
  29.     local function TriggerEvent(self,Event,...)
  30.         local Trigger = Mouse[Event]
  31.         if Trigger and Trigger.fakeEvent and Trigger.Connections then
  32.             for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  33.         end
  34.     end
  35.     Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  36.     Event.OnServerEvent:Connect(function(FiredBy,Input)
  37.         if FiredBy.Name ~= owner.Name then return end
  38.         if Input.MouseEvent then
  39.             Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  40.         else
  41.             local Begin = Input.UserInputState == Enum.UserInputState.Begin
  42.             if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  43.             for _,Action in pairs(ContextActionService.Actions) do
  44.                 for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  45.             end
  46.             Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  47.             UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  48.         end
  49.     end)
  50.     InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  51.     Event.Parent = NLS([[
  52.         local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  53.         local Input = function(Input,gameProcessedEvent)
  54.             if gameProcessedEvent then return end
  55.             Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  56.         end
  57.         UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  58.         local Hit,Target
  59.         while wait(1/30) do
  60.             if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  61.                 Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  62.             end
  63.         end
  64.     ]],owner.Character)
  65. end
  66. RealGame = game;game = setmetatable({},{
  67.     __index = function (self,Index)
  68.         local Sandbox = function (Thing)
  69.             if Thing:IsA("Player") then
  70.                 local RealPlayer = Thing
  71.                 return setmetatable({},{
  72.                     __index = function (self,Index)
  73.                         local Type = type(RealPlayer[Index])
  74.                         if Type == "function" then
  75.                             if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  76.                                 return function (self)return InternalData["Mouse"] end
  77.                             end
  78.                             return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  79.                         end
  80.                         return RealPlayer[Index]
  81.                     end;
  82.                     __tostring = function(self) return RealPlayer.Name end
  83.                 })
  84.             end
  85.         end
  86.         if RealGame[Index] then
  87.             local Type = type(RealGame[Index])
  88.             if Type == "function" then
  89.                 if Index:lower() == "getservice" or Index:lower() == "service" then
  90.                     return function (self,Service)
  91.                         local FakeServices = {
  92.                             ["players"] = function()
  93.                                 return setmetatable({},{
  94.                                     __index = function (self2,Index2)
  95.                                         local RealService = RealGame:GetService(Service)
  96.                                         local Type2 = type(Index2)
  97.                                         if Type2 == "function" then
  98.                                             return function (self,...) return RealService[Index2](RealService,...)end
  99.                                         else
  100.                                             if Index2:lower() == "localplayer" then return Sandbox(owner) end
  101.                                             return RealService[Index2]
  102.                                         end
  103.                                     end;
  104.                                     __tostring = function(self) return RealGame:GetService(Service).Name end
  105.                                 })
  106.                             end;
  107.                             ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  108.                             ["userinputservice"] = function() return InternalData["UserInputService"] end;
  109.                             ["runservice"] = function()
  110.                                 return setmetatable({},{
  111.                                     __index = function(self2,Index2)
  112.                                         local RealService = RealGame:GetService(Service)
  113.                                         local Type2 = type(Index2)
  114.                                         if Type2 == "function" then
  115.                                             return function (self,...) return RealService[Index2](RealService,...) end
  116.                                         else
  117.                                             local RunServices = {
  118.                                                 ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  119.                                                 ["renderstepped"] = function() return RealService["Stepped"] end
  120.                                             }
  121.                                             if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  122.                                             return RealService[Index2]
  123.                                         end
  124.                                     end
  125.                                 })
  126.                             end
  127.                         }
  128.                         if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  129.                         return RealGame:GetService(Service)
  130.                     end
  131.                 end
  132.                 return function (self,...) return RealGame[Index](RealGame,...) end
  133.             else
  134.                 if game:GetService(Index) then return game:GetService(Index) end
  135.                 return RealGame[Index]
  136.             end
  137.         end
  138.         return nil
  139.     end
  140. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
  141.  
  142. --//==================================\\
  143. --||            Variables;         
  144. --\\==================================//
  145.  
  146.  
  147.  
  148. -- Made by basbas1234
  149.  
  150. local Players = game:GetService("Players")
  151. local Player = Players.LocalPlayer
  152. local Character = Player.Character
  153. local Head = Character["Head"]
  154. local Torso = Character["Torso"]
  155. local HumanoidRootPart = Character["HumanoidRootPart"]
  156. local RightArm = Character["Right Arm"]
  157. local LeftArm = Character["Left Arm"]
  158. local RightLeg = Character["Right Leg"]
  159. local LeftLeg = Character["Left Leg"]
  160. local Humanoid = Character["Humanoid"]
  161. local RootJoint = HumanoidRootPart["RootJoint"]
  162. local Neck = Torso["Neck"]
  163. script.Parent = Player.PlayerGui
  164.  
  165. local ServerStorage = game:GetService("ServerStorage")
  166. local Camera = game.Workspace.CurrentCamera
  167. local PlayerGui = Player.PlayerGui
  168. local Backpack = Player.Backpack
  169. local Mouse = Player:GetMouse()
  170. local Debris = game:GetService("Debris")
  171.  
  172. local Create = Instance.new
  173. local RGBColor = Color3.fromRGB
  174.  
  175. local cf = CFrame.new
  176. local euler = CFrame.fromEulerAnglesXYZ
  177. local angles = CFrame.Angles
  178.  
  179. local RW,LW,RH,LH,HW
  180.  
  181. local necko = CFrame.new(0, 1.5, 0)
  182. local RootCF = euler(-1.57,0,3.14)
  183.  
  184. local Me = Player.Name
  185. local PlayerMode = "Normal"
  186. local ModeOfSans = 1
  187. local animpose = "Standing"
  188. local Debounce_Animation = false
  189. local change = 3
  190. local sine = 0
  191. local val = 3
  192. local isattack = false
  193.  
  194. local Charge = {}
  195. local Debouce = {}
  196. local Held = {}
  197. local Keep = {}
  198.  
  199. local Banlist = {}
  200.  
  201. local ForceField = Instance.new("ForceField",Character)
  202. ForceField.Visible = false
  203. Humanoid.MaxHealth = math.huge
  204. Humanoid.Health = Humanoid.MaxHealth
  205.  
  206. --//======================================\\
  207. --||            Main&Function;
  208. --\\======================================//
  209.  
  210. spawn(function()
  211.     Character:FindFirstChild("Body Colors"):Destroy()
  212.     Head:FindFirstChildOfClass("Decal"):Destroy()
  213. end)
  214.  
  215. for i, v in pairs(Character:GetChildren()) do
  216.     if v:IsA("Part") then
  217.         v.BrickColor = BrickColor.White()
  218.     end
  219. end
  220.  
  221. for i, v in pairs(Backpack:GetChildren()) do
  222.     if v:IsA("Tool") then
  223.         v:Destroy()
  224.     end
  225. end
  226.  
  227. -- ReNew Accessory, Shirt, Pants
  228.  
  229. for i, v in pairs(Character:GetChildren()) do
  230.     if v:IsA("Accessory") then
  231.         v:Destroy()
  232.     end
  233. end
  234.  
  235. for i, v in pairs(Character:GetChildren()) do
  236.     if v:IsA("Shirt") then
  237.         v:Destroy()
  238.     end
  239. end
  240.  
  241. for i, v in pairs(Character:GetChildren()) do
  242.     if v:IsA("Pants") then
  243.         v:Destroy()
  244.     end
  245. end
  246.  
  247. wait()
  248. local Shirt = Instance.new("Shirt",Character)
  249. Shirt.Name = "Shirt"
  250.  
  251. local Pants = Instance.new("Pants",Character)
  252. Pants.Name = "Pants"
  253.  
  254. wait()
  255. Shirt.ShirtTemplate = "rbxassetid://1696539845"
  256. Pants.PantsTemplate = "rbxassetid://1216922932"
  257.  
  258. RemoveOutlines = function(part)
  259.     part.BackSurface,part.BottomSurface,part.FrontSurface,part.LeftSurface,part.RightSurface,part.TopSurface = 10,10,10,10,10,10
  260. end
  261.  
  262. function CreatePart(Parent, Material, Reflectance, Transparency, Anchored, CanCollide, RGBColor3, Name, Size)
  263.     local Part = Instance.new("Part")
  264.         Part.Parent = Parent
  265.         Part.Reflectance = Reflectance
  266.         Part.Transparency = Transparency
  267.         Part.CanCollide = CanCollide
  268.         Part.Anchored = Anchored
  269.         Part.Locked = true
  270.         Part.Color = RGBColor3
  271.         Part.Name = Name
  272.         Part.Size = Size
  273.         Part.Material = Material
  274.         RemoveOutlines(Part)
  275.     return Part
  276. end
  277.  
  278. function CreateMesh(Mesh, Parent, MeshType, MeshId, OffSet, Scale)
  279.     local Msh = Instance.new(Mesh)
  280.         Msh.Parent = Parent
  281.         Msh.Offset = OffSet
  282.         Msh.Scale = Scale
  283.         if Mesh == "SpecialMesh" then
  284.             Msh.MeshType = MeshType
  285.             Msh.MeshId = MeshId
  286.         end
  287.     return Msh
  288. end
  289.        
  290. function CreateWeld(Parent, Part0, Part1, C0, C1)
  291.     local Weld = Instance.new("Weld")
  292.         Weld.Parent = Parent
  293.         Weld.Part0 = Part0
  294.         Weld.Part1 = Part1
  295.         Weld.C0 = C0
  296.         Weld.C1 = C1
  297.     return Weld
  298. end
  299.  
  300. function CreateSound(id, par, vol, pit, loop, destroyended)
  301.     coroutine.resume(coroutine.create(function()
  302.         local S = Instance.new("Sound")
  303.             S.Volume = vol
  304.             S.Pitch = pit or 1
  305.             S.SoundId = "rbxassetid://" ..id
  306.             S.Parent = par or workspace
  307.             S.Looped = loop
  308.             S:Play()
  309.         if destroyended == true then
  310.             spawn(function()
  311.                 S.Ended:connect(function()
  312.                     S:Destroy()
  313.                 end)
  314.             end)
  315.         end
  316.     end))
  317. end
  318.  
  319. function CreateParticleEmitter(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  320.     local fp = Instance.new("ParticleEmitter")
  321.         fp.Parent = Parent
  322.         fp.Color = ColorSequence.new(Color1, Color2)
  323.         fp.LightEmission = LightEmission
  324.         fp.Size = Size
  325.         fp.Texture = Texture
  326.         fp.Transparency = Transparency
  327.         fp.ZOffset = ZOffset
  328.         fp.Acceleration = Accel
  329.         fp.Drag = Drag
  330.         fp.LockedToPart = LockedToPart
  331.         fp.VelocityInheritance = VelocityInheritance
  332.         fp.EmissionDirection = EmissionDirection
  333.         fp.Enabled = Enabled
  334.         fp.Lifetime = LifeTime
  335.         fp.Rate = Rate
  336.         fp.Rotation = Rotation
  337.         fp.RotSpeed = RotSpeed
  338.         fp.Speed = Speed
  339.         fp.VelocitySpread = VelocitySpread
  340.     return fp
  341. end
  342.  
  343. function Hurt(hit, dmg, notdamgewith)
  344.     if hit.Parent then
  345.         -- Bleeding
  346.         --[[spawn(function()
  347.             if hit.Parent:FindFirstChildOfClass("Humanoid") and not hit.Parent:FindFirstChild("Corpse") and hit.Parent.Name ~= notdamgewith then
  348.                 local TorsoPos = hit.Parent:FindFirstChild("Torso")
  349.                 Bleeding(TorsoPos,bloodamount)
  350.             end
  351.         end)--]]
  352.         -- OnDeath_Ragdoll
  353.         spawn(function()
  354.             if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent.Name ~= notdamgewith then
  355.                 local human = hit.Parent:FindFirstChildOfClass("Humanoid")
  356.                 local human2 = hit.Parent:FindFirstChild("Corpse")
  357.                 if human2 then
  358.                     return true
  359.                 end
  360.                 if human.Health == 0 then
  361.                     local child = human.Parent
  362.                     if child:FindFirstChild("Torso") then
  363.                         child:FindFirstChild("Torso").CFrame = child:FindFirstChild("Torso").CFrame * angles(math.rad(2), math.rad(0), math.rad(0))
  364.                         local TorsoPos = hit.Parent:FindFirstChild("Torso")
  365.                         Ragdoll(child,Torso,true)
  366.                     end
  367.                 end
  368.             end
  369.         end)
  370.         -- Damage
  371.         if hit.Parent.Name == "box" then print("bocks!11") hit.Parent:Destroy() end
  372.         local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  373.         if hum then
  374.             if hum.Parent.Name ~= notdamgewith then
  375.                 if dmg == "Kill" or hum.Health > 100000 then
  376.                     hit.Parent:BreakJoints()
  377.                     return true
  378.                 else
  379.                     if math.random(0, 100) == 50 then
  380.                         hum.Health = hum.Health - dmg*1*2.5
  381.                     else
  382.                         hum.Health = hum.Health -dmg*1
  383.                     end
  384.                     return true
  385.                 end
  386.             end
  387.         end
  388.     end
  389. end
  390.  
  391. local function lerp(a,b,c)
  392.     return a+(b-a)*c   
  393. end
  394.  
  395. local function rndRange(rng)
  396.     return math.random(-rng*1000,rng*1000)/1000
  397. end
  398.  
  399. function CastRay(startPos,endPos,range,ignoreList)
  400.     local ray = Ray.new(startPos,(endPos-startPos).unit*range)
  401.     local part,pos,norm = workspace:FindPartOnRayWithIgnoreList(ray,ignoreList or {Character},false,true)
  402.     return part,pos,norm,(pos and (startPos-pos).magnitude)
  403. end
  404.  
  405. function Sticky(x, y)
  406.     local weld = Instance.new("Weld")
  407.     weld.Part0 = x
  408.     weld.Part1 = y
  409.    
  410.     local HitPos = x.Position
  411.     local CJ = CFrame.new(HitPos)
  412.     local C0 = x.CFrame:inverse() *CJ
  413.     local C1 = y.CFrame:inverse() * CJ
  414.    
  415.     weld.C0 = C0
  416.     weld.C1 = C1
  417.     weld.Parent = y
  418. end
  419.  
  420. function Bleeding(Pos,Amount)
  421.     for i = 1, Amount do
  422.         local randsize = math.random(0.8,1.2)
  423.         local Bleed = CreatePart(Pos,Enum.Material.Plastic,0,0,false,true,RGBColor(math.random(215,255),0,0),"Blood",Vector3.new(randsize,0.4,randsize))
  424.         Bleed.CFrame = Pos.CFrame
  425.         Debris:AddItem(Bleed,math.random(5,10))
  426.         swait()
  427.     end
  428. end
  429.  
  430. function Ragdoll(Character2,CharTorso,KeepArms)
  431.     coroutine.resume(coroutine.create(function()
  432.         Character2:BreakJoints()
  433.         swait()
  434.         local hum = Character2:findFirstChild("Humanoid")
  435.         hum:remove()
  436.         local function Scan(ch)
  437.             local e
  438.             for e = 1,#ch do
  439.                 Scan(ch[e]:GetChildren())
  440.                 if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  441.                     ch[e]:remove()
  442.                 end
  443.             end
  444.         end
  445.         local NEWHUM = Instance.new("Humanoid")
  446.         NEWHUM.Name = "Corpse"
  447.         NEWHUM.Health = 0
  448.         NEWHUM.MaxHealth = 0
  449.         NEWHUM.PlatformStand = true
  450.         NEWHUM.Parent = Character2
  451.         NEWHUM.DisplayDistanceType = "Viewer"
  452.    
  453.         local ch = Character2:GetChildren()
  454.         local i
  455.         for i = 1,#ch do
  456.             if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  457.                 ch[i]:remove()
  458.             end
  459.         end
  460.    
  461.         local Torso2 = Character2.Torso
  462.         local movevector = Vector3.new()
  463.        
  464.         if Torso2 then
  465.             movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
  466.             local Head = Character2:FindFirstChild("Head")
  467.             local Face = Head:FindFirstChildOfClass("Decal")
  468.             Face.Texture = "rbxassetid://26619042"
  469.             if Head then
  470.                 local Neck = Instance.new("Weld")
  471.                 Neck.Name = "Neck"
  472.                 Neck.Part0 = Torso2
  473.                 Neck.Part1 = Head
  474.                 Neck.C0 = CFrame.new(0, 1.5, 0)
  475.                 Neck.C1 = CFrame.new()
  476.                 Neck.Parent = Torso2
  477.    
  478.             end
  479.             local Limb = Character2:FindFirstChild("Right Arm")
  480.             if Limb and KeepArms == true then
  481.    
  482.                 Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  483.                 local Joint = Instance.new("Glue")
  484.                 Joint.Name = "RightShoulder"
  485.                 Joint.Part0 = Torso2
  486.                 Joint.Part1 = Limb
  487.                 Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  488.                 Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  489.                 Joint.Parent = Torso2
  490.    
  491.                 local B = Instance.new("Part")
  492.                 B.TopSurface = 0
  493.                 B.BottomSurface = 0
  494.                 B.formFactor = "Symmetric"
  495.                 B.Size = Vector3.new(1, 1, 1)
  496.                 B.Transparency = 1
  497.                 B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  498.                 B.Parent = Character2
  499.                 local W = Instance.new("Weld")
  500.                 W.Part0 = Limb
  501.                 W.Part1 = B
  502.                 W.C0 = CFrame.new(0, -0.5, 0)
  503.                 W.Parent = Limb
  504.    
  505.             end
  506.             local Limb = Character2:FindFirstChild("Left Arm")
  507.             if Limb and KeepArms == true then
  508.    
  509.                 Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  510.                 local Joint = Instance.new("Glue")
  511.                 Joint.Name = "LeftShoulder"
  512.                 Joint.Part0 = Torso2
  513.                 Joint.Part1 = Limb
  514.                 Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  515.                 Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  516.                 Joint.Parent = Torso2
  517.    
  518.                 local B = Instance.new("Part")
  519.                 B.TopSurface = 0
  520.                 B.BottomSurface = 0
  521.                 B.formFactor = "Symmetric"
  522.                 B.Size = Vector3.new(1, 1, 1)
  523.                 B.Transparency = 1
  524.                 B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  525.                 B.Parent = Character2
  526.                 local W = Instance.new("Weld")
  527.                 W.Part0 = Limb
  528.                 W.Part1 = B
  529.                 W.C0 = CFrame.new(0, -0.5, 0)
  530.                 W.Parent = Limb
  531.    
  532.             end
  533.             local Limb = Character2:FindFirstChild("Right Leg")
  534.             if Limb then
  535.    
  536.                 Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  537.                 local Joint = Instance.new("Glue")
  538.                 Joint.Name = "RightHip"
  539.                 Joint.Part0 = Torso2
  540.                 Joint.Part1 = Limb
  541.                 Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  542.                 Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  543.                 Joint.Parent = Torso2
  544.    
  545.                 local B = Instance.new("Part")
  546.                 B.TopSurface = 0
  547.                 B.BottomSurface = 0
  548.                 B.formFactor = "Symmetric"
  549.                 B.Size = Vector3.new(1, 1, 1)
  550.                 B.Transparency = 1
  551.                 B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  552.                 B.Parent = Character2
  553.                 local W = Instance.new("Weld")
  554.                 W.Part0 = Limb
  555.                 W.Part1 = B
  556.                 W.C0 = CFrame.new(0, -0.5, 0)
  557.                 W.Parent = Limb
  558.    
  559.             end
  560.             local Limb = Character2:FindFirstChild("Left Leg")
  561.             if Limb then
  562.    
  563.                 Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  564.                 local Joint = Instance.new("Glue")
  565.                 Joint.Name = "LeftHip"
  566.                 Joint.Part0 = Torso2
  567.                 Joint.Part1 = Limb
  568.                 Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  569.                 Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  570.                 Joint.Parent = Torso2
  571.    
  572.                 local B = Instance.new("Part")
  573.                 B.TopSurface = 0
  574.                 B.BottomSurface = 0
  575.                 B.formFactor = "Symmetric"
  576.                 B.Size = Vector3.new(1, 1, 1)
  577.                 B.Transparency = 1
  578.                 B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  579.                 B.Parent = Character2
  580.                 local W = Instance.new("Weld")
  581.                 W.Part0 = Limb
  582.                 W.Part1 = B
  583.                 W.C0 = CFrame.new(0, -0.5, 0)
  584.                 W.Parent = Limb
  585.    
  586.             end
  587.             --[
  588.             local Bar = Instance.new("Part")
  589.             Bar.TopSurface = 0
  590.             Bar.BottomSurface = 0
  591.             Bar.formFactor = "Symmetric"
  592.             Bar.Size = Vector3.new(1, 1, 1)
  593.             Bar.Transparency = 1
  594.             Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  595.             Bar.Parent = Character2
  596.             local Weld = Instance.new("Weld")
  597.             Weld.Part0 = Torso2
  598.             Weld.Part1 = Bar
  599.             Weld.C0 = CFrame.new(0, 0.5, 0)
  600.             Weld.Parent = Torso2
  601.             --]]
  602.         end
  603.         Character2.Parent = workspace
  604.        
  605.         Debris:AddItem(Character2,9)
  606.         return Character2,Torso2
  607.     end))
  608. end
  609.  
  610. local walkspeed = nil
  611. local jumppower = nil
  612.  
  613. local GetValueWS_JP = function(hum)
  614.     local GotValueWS = hum.WalkSpeed
  615.     local GotValueJP = hum.JumpPower
  616.     walkspeed = GotValueWS
  617.     jumppower = GotValueJP
  618. end
  619.  
  620. local StoreWS_JP = function(hum)
  621.     hum.WalkSpeed = 0
  622.     hum.JumpPower = 0
  623. end
  624.  
  625. local ReleaseWS_JP = function(hum)
  626.     hum.WalkSpeed = walkspeed
  627.     hum.JumpPower = jumppower
  628. end
  629.  
  630. local KeyAndAnimation = function(yes_or_no)
  631.     isattack = yes_or_no
  632.     Debounce_Animation = yes_or_no
  633. end
  634.  
  635. function ThrowObj(parent,direction,speedthrown)
  636.     local bv = Instance.new("BodyVelocity",parent)
  637.     bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  638.     bv.Velocity = direction.CFrame.lookVector * speedthrown
  639.     bv.P = 1
  640.     coroutine.resume(coroutine.create(function()
  641.         wait()
  642.         bv:Destroy()
  643.     end))
  644. end
  645.  
  646. local ThemeMusic = Instance.new("Sound",Head)
  647. ThemeMusic.Name = "Theme Sans AU"
  648. ThemeMusic.SoundId = "rbxassetid://348208939"
  649. ThemeMusic.Volume = 1
  650. ThemeMusic.Looped = true
  651. ThemeMusic.PlaybackSpeed = 0.675
  652. ThemeMusic:Play()
  653.  
  654. -- Magical Eye
  655. local EyeMagicModel = Character:FindFirstChild("EyeMagicModel") or Instance.new("Model",Character)
  656. EyeMagicModel.Name = "EyeMagicModel"
  657. local MagicEye = CreatePart(EyeMagicModel, Enum.Material.Neon, 0, 0, false, false, RGBColor(4, 175, 236), "Effect", Vector3.new(0.1275, 0.1275, 0.1275))
  658. local WeldMagicEye = CreateWeld(MagicEye, MagicEye, Head, cf(0.175, -0.125, 0.575)*angles(0, 0, 0), cf(0, 0, 0)*angles(0, 0, 0))
  659. local MeshMagicEye = CreateMesh("SpecialMesh", MagicEye, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  660.  
  661. local MagicEye2 = CreatePart(EyeMagicModel, Enum.Material.Neon, 0, 0, false, false, RGBColor(0, 0, 0), "Effect", Vector3.new(0.25, 0.25, 0.25))
  662. local WeldMagicEye2 = CreateWeld(MagicEye2, MagicEye2, Head, cf(-0.175, -0.125, 0.5)*angles(0, 0, 0),   cf(0, 0, 0)*angles(0, 0, 0))
  663. local MeshMagicEye2 = CreateMesh("SpecialMesh", MagicEye2, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  664.  
  665. local MagicEye3 = CreatePart(EyeMagicModel, Enum.Material.Neon, 0, 0, false, false, RGBColor(255, 255, 255), "Effect", Vector3.new(0.1275, 0.1275, 0.1275))
  666. local WeldMagicEye3 = CreateWeld(MagicEye3, MagicEye3, Head, cf(-0.175, -0.125, 0.575)*angles(0, 0, 0), cf(0, 0, 0)*angles(0, 0, 0))
  667. local MeshMagicEye3 = CreateMesh("SpecialMesh", MagicEye3, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  668.  
  669. local MagicEye4 = CreatePart(EyeMagicModel, Enum.Material.Neon, 0, 0, false, false, RGBColor(0, 0, 0), "Effect", Vector3.new(0.25, 0.25, 0.25))
  670. local WeldMagicEye4 = CreateWeld(MagicEye4, MagicEye4, Head, cf(0.175, -0.125, 0.5)*angles(0, 0, 0),    cf(0, 0, 0)*angles(0, 0, 0))
  671. local MeshMagicEye4 = CreateMesh("SpecialMesh", MagicEye4, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  672.  
  673. local Equip = {
  674.     ['BrushInkSans'] = nil
  675. }
  676.  
  677. local Active = {
  678.     ["KnifeKillerSans"] = false,
  679.     ["BrushInkSans"] = false
  680. }
  681.  
  682. local GetItems = {}
  683.  
  684. function ClearItemsAll()
  685.     coroutine.resume(coroutine.create(function()
  686.         for i = 1, #GetItems do
  687.             GetItems[i]:Destroy()
  688.         end
  689.     end))
  690. end
  691.  
  692. function ChangeEyes(c1,c2,c3,c4 ,ma1,ma2,ma3,ma4)
  693.     MagicEye.Color = c1
  694.     MagicEye2.Color = c2
  695.     MagicEye3.Color = c3
  696.     MagicEye4.Color = c4
  697.     MagicEye.Material = ma1
  698.     MagicEye2.Material = ma2
  699.     MagicEye3.Material = ma3
  700.     MagicEye4.Material = ma4
  701. end
  702.  
  703. local AnimationKnife_KillerSans = nil
  704. local Knife_KillerSans = nil
  705. local BrushTrail = nil
  706.  
  707. function FindNearestTorso(Position, Distance, SinglePlayer)
  708.     if SinglePlayer then
  709.         return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  710.     end
  711.     local List = {}
  712.     for i, v in pairs(workspace:GetChildren()) do
  713.         if v:IsA("Model") then
  714.             if v:findFirstChild("Torso") then
  715.                 if v ~= Character then
  716.                     if (v.Torso.Position - Position).magnitude <= Distance then
  717.                         table.insert(List, v)
  718.                     end
  719.                 end
  720.             end
  721.             if v:FindFirstChildOfClass("Model") then
  722.                 v = v:FindFirstChildOfClass("Model")
  723.                 if v:findFirstChild("Torso") then
  724.                     if v ~= Character then
  725.                         if (v.Torso.Position - Position).magnitude <= Distance then
  726.                             table.insert(List, v)
  727.                         end
  728.                     end
  729.                 end
  730.             end
  731.         end
  732.     end
  733.     return List
  734. end
  735.  
  736. local Transform = {
  737.     ["Sans_UT"] = function()
  738.         ModeOfSans = 1
  739.         ClearItemsAll()
  740.         --Music Theme
  741.         ThemeMusic.SoundId = "rbxassetid://348208939"
  742.         ThemeMusic.PlaybackSpeed = 0.675
  743.         --Shirt & Pants
  744.         Shirt.ShirtTemplate = "rbxassetid://1696539845"
  745.         Pants.PantsTemplate = "rbxassetid://1216922932"
  746.         --EyeMagic
  747.         ChangeEyes(RGBColor(4, 175, 236),RGBColor(0, 0, 0),RGBColor(255, 255, 255),RGBColor(0, 0, 0) ,Enum.Material.Neon,Enum.Material.Neon,Enum.Material.Neon,Enum.Material.Neon)
  748.         workspace:FindFirstChild("Knife's Killer Sans"):Destroy()
  749.         workspace:FindFirstChild("Brush's Ink Sans"):Destroy()
  750.     end;
  751.    
  752.     ["Killer_Sans"] = function()
  753.         ModeOfSans = 2
  754.         --Music Theme
  755.         ThemeMusic.PlaybackSpeed = 1
  756.         ThemeMusic.SoundId = "rbxassetid://1007722135"
  757.         --Shirt & Pants
  758.         Shirt.ShirtTemplate = "rbxassetid://724587961"
  759.         Pants.PantsTemplate = "rbxassetid://1216922932"
  760.         --EyeMagic
  761.         ChangeEyes(RGBColor(10, 10, 10),RGBColor(0, 0, 0),RGBColor(255, 255, 255),RGBColor(0, 0, 0) ,Enum.Material.Neon,Enum.Material.Neon,Enum.Material.Neon,Enum.Material.Neon)
  762.         --Special Item
  763.         local Knife = workspace:FindFirstChild("Knife's Killer Sans")
  764.         if Knife == nil then
  765.             ClearItemsAll()
  766.             Knife = Instance.new("Model",workspace)
  767.         else
  768.             return
  769.         end
  770.         Knife.Name = "Knife's Killer Sans"
  771.         local KnifeKillerSans = CreatePart(Knife, Enum.Material.Plastic, 0, 0, false, false, RGBColor(0, 0, 0), "Knife", Vector3.new(.4, 3, .7))
  772.         KnifeKillerSans.Touched:connect(function(Hit)
  773.             if Active["KnifeKillerSans"] == true then
  774.                 Hurt(Hit, math.random(15, 50), Me)
  775.             end
  776.         end)
  777.         local MeshKnifeKiller = CreateMesh("SpecialMesh", KnifeKillerSans, "FileMesh", "rbxassetid://121944778", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))       
  778.         MeshKnifeKiller.TextureId = "http://www.roblox.com/asset/?id=144012208"
  779.         local WeldKnife = CreateWeld(KnifeKillerSans, KnifeKillerSans, RightArm, cf(0, -1.25, -0.75)*angles(math.rad(90), 0, math.rad(180)),    cf(0, 0, 0)*angles(0, 0, 0))
  780.         AnimationKnife_KillerSans = WeldKnife
  781.         Knife_KillerSans = KnifeKillerSans
  782.        
  783.         local RedCircle = Instance.new("Model",Character)
  784.         RedCircle.Name = "RedCircle"
  785.         local circle = CreatePart(RedCircle,Enum.Material.Neon,0,0,false,false,RGBColor(255,0,0),"Circle",Vector3.new(0.5,0.125,0.5))
  786.         local weldredcircle = CreateWeld(circle,circle,Torso,cf(0,-0.475,0)*angles(math.rad(90),0,0),cf(0,0,0)*angles(0,0,0))
  787.         local meshcircle = CreateMesh("CylinderMesh",circle,"","",Vector3.new(0,0,0),Vector3.new(1,1,1))
  788.         local hollowcircle = CreatePart(circle,Enum.Material.Neon,0,0,false,false,RGBColor(255,0,0),"Circle",Vector3.new(0.75,0.75,0.125))
  789.         local weldhollowcircle = CreateWeld(hollowcircle,hollowcircle,Torso,cf(0,0,0.475)*angles(0,0,0),cf(0,0,0)*angles(0,0,0))
  790.         local meshhollowcircle = CreateMesh("SpecialMesh",hollowcircle,"FileMesh","rbxassetid://3270017",Vector3.new(0,0,0),Vector3.new(0.75,0.75,0.75))
  791.        
  792.         local Tear = Instance.new("Model",Character)
  793.         Tear.Name = "BloodTear"
  794.         local BloodOnEye = CreatePart(Tear,Enum.Material.Concrete,0,0,false,false,RGBColor(15,15,15),"Blood",Vector3.new(0.05,0.5,0.05))
  795.         local WeldBloodOnEye = CreateWeld(BloodOnEye,BloodOnEye,Head,cf(0.15,0.125,0.6)*angles(0,0,0),cf(0,0,0)*angles(0,0,0))
  796.         local BloodOnEye2 = CreatePart(Tear,Enum.Material.Concrete,0,0,false,false,RGBColor(15,15,15),"Blood",Vector3.new(0.05,0.35,0.05))
  797.         local WeldBloodOnEye2 = CreateWeld(BloodOnEye2,BloodOnEye2,Head,cf(0.225,0.105,0.6)*angles(0,0,0),cf(0,0,0)*angles(0,0,0))
  798.        
  799.         table.insert(GetItems, Knife)
  800.         table.insert(GetItems, RedCircle)
  801.         table.insert(GetItems, Tear)
  802.     end;
  803.    
  804.     ["Ink_Sans"] = function()
  805.         ModeOfSans = 3
  806.         --Music Theme
  807.         ThemeMusic.PlaybackSpeed = 1
  808.         ThemeMusic.SoundId = "rbxassetid://887320115"
  809.         --Shirt & Pants
  810.         Shirt.ShirtTemplate = "rbxassetid://789901314"
  811.         Pants.PantsTemplate = "rbxassetid://1605269506"
  812.         --EyeMagic
  813.         ChangeEyes(RGBColor(4, 175, 236),RGBColor(0, 0, 0),RGBColor(245, 205, 48),RGBColor(0, 0, 0) ,Enum.Material.Neon,Enum.Material.Neon,Enum.Material.Neon,Enum.Material.Neon)
  814.         --Special Item
  815.         local Brush = workspace:FindFirstChild("Brush's Ink Sans")
  816.         if Brush == nil then
  817.             ClearItemsAll()
  818.             Brush = Instance.new("Model",workspace)
  819.         else
  820.             return
  821.         end
  822.         Brush.Name = "Brush's Ink Sans"
  823.         local Handle = CreatePart(Brush, Enum.Material.Plastic, 0, 0, false, false, RGBColor(105, 64, 40), "Handle", Vector3.new(1, 10, 1))
  824.         local MakeHolding = CreateWeld(Handle,Handle,Torso,cf(0, -2, -0.75)*angles(math.rad(0), 0, math.rad(30)),   cf(0, 0, 0)*angles(0, 0, 0))
  825.         local MeshCy = CreateMesh("CylinderMesh", Handle, "", "", Vector3.new(0,0,0), Vector3.new(0.75,1,0.75))
  826.        
  827.         local P1 = CreatePart(Brush, Enum.Material.Plastic, 0, 0, false, false, RGBColor(255, 255, 255), "Part", Vector3.new(1.1, 1.5, 1.1))
  828.         local MakeP1Holding = CreateWeld(P1,P1,Handle,cf(0, 3, 0)*angles(0,0,0),    cf(0, 0, 0)*angles(0, 0, 0))
  829.         local MeshP1Cy = CreateMesh("CylinderMesh", P1, "", "", Vector3.new(0,0,0), Vector3.new(1,1,1))
  830.        
  831.         local P2 = CreatePart(Brush, Enum.Material.Plastic, 0, 0, false, false, RGBColor(255, 255, 255), "Part", Vector3.new(1.1, 1.5, 1.1))
  832.         local MakeP2Holding = CreateWeld(P2,P2,Handle,cf(0, -2, 0)*angles(0,0,0),   cf(0, 0, 0)*angles(0, 0, 0))
  833.         local MeshP2Cy = CreateMesh("CylinderMesh", P2, "", "", Vector3.new(0,0,0), Vector3.new(1,1,1))
  834.        
  835.         local P3 = CreatePart(Brush, Enum.Material.Plastic, 0, 0, false, false, RGBColor(124, 92, 70), "Part", Vector3.new(1.5, 1.75, 1.5))
  836.         local MakeP3Holding = CreateWeld(P3,P3,Handle,cf(0, -3, 0)*angles(0,0,0),   cf(0, 0, 0)*angles(0, 0, 0))
  837.         local MeshP3Cy = CreateMesh("SpecialMesh", P3, "FileMesh", "rbxassetid://1185246", Vector3.new(0,0,0), Vector3.new(3, 3, 3))
  838.        
  839.         local P4 = CreatePart(Brush, Enum.Material.Plastic, 0, 0, false, false, RGBColor(105, 64, 40), "Part", Vector3.new(1.5, 1.75, 1.5))
  840.         local MakeP4Holding = CreateWeld(P4,P4,Handle,cf(0, -4.5, 0)*angles(0,0,0), cf(0, 0, 0)*angles(0, 0, 0))
  841.         local MeshP4Cy = CreateMesh("SpecialMesh", P4, "FileMesh", "rbxassetid://1033714", Vector3.new(0,0,0), Vector3.new(1.097, 3.5, 1.097))
  842.        
  843.         local P5 = CreatePart(Brush, Enum.Material.Plastic, 0, 0, false, false, RGBColor(0, 0, 0), "Part", Vector3.new(0.5, 0.75, 0.5))
  844.         local MakeP5Holding = CreateWeld(P5,P5,Handle,cf(0, -5.5, 0)*angles(0,0,0), cf(0, 0, 0)*angles(0, 0, 0))
  845.         local MeshP5Cy = CreateMesh("SpecialMesh", P5, "FileMesh", "rbxassetid://1033714", Vector3.new(0,0,0), Vector3.new(0.4, 1.175, 0.4))
  846.        
  847.         Equip.BrushInkSans = MakeHolding
  848.        
  849.         local PosAtt1 = CreatePart(Brush, Enum.Material.Plastic, 0, 1, false, false, RGBColor(0, 0, 0), "PosTrail1", Vector3.new(0.05, 0.05, 0.05))
  850.         local MakeA1Holding = CreateWeld(PosAtt1,PosAtt1,Handle,cf(0, -5.1, 0)*angles(0,0,0),   cf(0, 0, 0)*angles(0, 0, 0))
  851.         local PosAtt2 = CreatePart(Brush, Enum.Material.Plastic, 0, 1, false, false, RGBColor(0, 0, 0), "PosTrail2", Vector3.new(0.05, 0.05, 0.05))
  852.         local MakeA2Holding = CreateWeld(PosAtt2,PosAtt2,Handle,cf(0, -5.9, 0)*angles(0,0,0),   cf(0, 0, 0)*angles(0, 0, 0))       
  853.        
  854.         local A0 = Instance.new('Attachment',PosAtt1)
  855.         local A1 = Instance.new('Attachment',PosAtt2)
  856.        
  857.         local tl1 = Instance.new('Trail',P5)
  858.         tl1.Attachment0 = A0
  859.         tl1.Attachment1 = A1
  860.         --tl1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  861.         tl1.LightEmission = 0.5
  862.         tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  863.         tl1.Color = ColorSequence.new(BrickColor.new('Really black').Color)
  864.         tl1.Lifetime = 0.6
  865.        
  866.         P4.Touched:connect(function(Hit)
  867.             if Active["BrushInkSans"] == true then
  868.                 Hurt(Hit, math.random(15, 50), Me)
  869.             end
  870.         end)
  871.         BrushTrail = tl1
  872.        
  873.         table.insert(GetItems, Brush)
  874.     end;
  875.    
  876.     ["Error_Sans"] = function()
  877.         ModeOfSans = 4
  878.         --Music Theme
  879.         ThemeMusic.PlaybackSpeed = 1
  880.         ThemeMusic.SoundId = "rbxassetid://576474523"
  881.         --Shirt & Pants
  882.         Shirt.ShirtTemplate = "rbxassetid://2096464105"
  883.         Pants.PantsTemplate = "rbxassetid://2039333738"
  884.         --EyeMagic
  885.         ChangeEyes(RGBColor(245, 245, 0),RGBColor(85, 0, 0),RGBColor(255, 255, 255),RGBColor(85, 0, 0) ,Enum.Material.Neon,Enum.Material.Neon,Enum.Material.Neon,Enum.Material.Neon)
  886.         ClearItemsAll()
  887.     end;
  888.    
  889.     ["Anitvirus_Sans"] = function()
  890.         ModeOfSans = 5
  891.         --Music Theme
  892.         ThemeMusic.PlaybackSpeed = 1
  893.         ThemeMusic.SoundId = "rbxassetid://684447875"
  894.     end;
  895.    
  896.     ["Digi_Sans"] = function()
  897.         ModeOfSans = 6
  898.         --Music Theme
  899.         ThemeMusic.PlaybackSpeed = 1
  900.         ThemeMusic.SoundId = "rbxassetid://2174461898"
  901.     end;
  902.    
  903.     ["Timekid_Sans"] = function()
  904.         ModeOfSans = 7
  905.         --Music Theme
  906.         ThemeMusic.PlaybackSpeed = 1
  907.         ThemeMusic.SoundId = "rbxassetid://360042276"
  908.     end;
  909. }
  910.  
  911. local OriPos = nil
  912.  
  913. local StanceAction = {
  914.     Bone = function()
  915.         local n = math.random(5,10)
  916.             local BoneModel = Instance.new("Model",workspace)
  917.             BoneModel.Name = "Bone"
  918.             local Part1 = CreatePart(BoneModel,Enum.Material.Plastic,0,0,false,true,RGBColor(255,255,255),"Part",Vector3.new(1,1,1))
  919.             Part1.Shape = Enum.PartType.Ball
  920.             local Part2 = CreatePart(BoneModel,Enum.Material.Plastic,0,0,false,true,RGBColor(255,255,255),"Part",Vector3.new(1,1,1))
  921.             Part2.Shape = Enum.PartType.Ball
  922.             local Part3 = CreatePart(BoneModel,Enum.Material.Plastic,0,0,false,true,RGBColor(255,255,255),"Part",Vector3.new(1,1,1))
  923.             Part3.Shape = Enum.PartType.Ball
  924.             local Part4 = CreatePart(BoneModel,Enum.Material.Plastic,0,0,false,true,RGBColor(255,255,255),"Part",Vector3.new(1,1,1))
  925.             Part4.Shape = Enum.PartType.Ball
  926.             local Part5 = CreatePart(BoneModel,Enum.Material.Plastic,0,0,false,true,RGBColor(255,255,255),"Part",Vector3.new(n,0.8,0.8))
  927.             Part5.Shape = Enum.PartType.Cylinder
  928.            
  929.             local Weld1 = CreateWeld(Part1, Part1, Part5, cf(n/2, 0, 0.35)*angles(0, 0, 0),     cf(0, 0, 0)*angles(0, 0, 0))
  930.             local Weld2 = CreateWeld(Part2, Part2, Part5, cf(-n/2, 0, 0.35)*angles(0, 0, 0),        cf(0, 0, 0)*angles(0, 0, 0))
  931.             local Weld3 = CreateWeld(Part3, Part3, Part5, cf(n/2, 0, -0.35)*angles(0, 0, 0),        cf(0, 0, 0)*angles(0, 0, 0))
  932.             local Weld4 = CreateWeld(Part4, Part4, Part5, cf(-n/2, 0, -0.35)*angles(0, 0, 0),       cf(0, 0, 0)*angles(0, 0, 0))
  933.            
  934.             Part5.CFrame = Mouse.Hit + Vector3.new(0,math.random(1,7),0)
  935.             Part5.CFrame = Part5.CFrame * angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
  936.            
  937.             local BodyVel = Instance.new('BodyVelocity',Part5)
  938.             BodyVel.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  939.             BodyVel.Velocity = Vector3.new(0,196.2,0)
  940.             BodyVel.P = 1
  941.             local BodyGyro = Instance.new('BodyGyro',Part5)
  942.             BodyGyro.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  943.             BodyGyro.P = 2e4           
  944.            
  945.             Part1.Touched:connect(function(Hit)
  946.                 Hurt(Hit, math.random(1,25), Me)
  947.             end)
  948.             Part2.Touched:connect(function(Hit)
  949.                 Hurt(Hit, math.random(1,25), Me)
  950.             end)
  951.             Part3.Touched:connect(function(Hit)
  952.                 Hurt(Hit, math.random(1,25), Me)
  953.             end)
  954.             Part4.Touched:connect(function(Hit)
  955.                 Hurt(Hit, math.random(1,25), Me)
  956.             end)
  957.             Part5.Touched:connect(function(Hit)
  958.                 Hurt(Hit, math.random(1,25), Me)
  959.             end)
  960.            
  961.         local SoundPing = CreateSound(138222365,Part5,5,1.5,false,true)
  962.            
  963.             Mouse.KeyUp:connect(function(Key)
  964.                 if ModeOfSans == 1 then
  965.                     if Key == "r" then
  966.                         Held[Key] = nil
  967.                         BodyVel.Velocity = Vector3.new(0,196.2,0)
  968.                     end
  969.                 end
  970.             end)           
  971.            
  972.             Mouse.KeyDown:connect(function(Key)
  973.                 if ModeOfSans == 1 then
  974.                     if Key == "r" then
  975.                         Held[Key] = true
  976.                         while Held[Key] == true do
  977.                             if Held[Key] == nil then
  978.                                 return
  979.                             end
  980.                             BodyGyro.CFrame = CFrame.new(Part5.Position,Mouse.Hit.p)
  981.                             BodyVel.Velocity = Part5.CFrame.lookVector*300
  982.                             swait()
  983.                         end
  984.                     end
  985.                 end
  986.             end)
  987.         table.insert(GetItems, BoneModel)
  988.     end;
  989.    
  990.     GasterBlaster = function()
  991.         local aimPos = Mouse.Hit.p
  992.         local blasterhead = Instance.new("Part",Character)
  993.         blasterhead.Size = Vector3.new(6,6,6)
  994.         blasterhead.CanCollide = false
  995.         blasterhead.Anchored = true
  996.         blasterhead.Transparency = 1
  997.         local mesh=Instance.new("SpecialMesh",blasterhead)mesh.MeshType="FileMesh"mesh.MeshId="rbxassetid://431908407"
  998.         mesh.Scale=Vector3.new(.075,.0725,.075)
  999.         local decal = Instance.new("Decal",blasterhead)
  1000.         decal.Texture = "rbxassetid://441975828"
  1001.         blasterhead.CFrame = CFrame.new(Character.Torso.CFrame:toWorldSpace(CFrame.new(math.random(-10,10),2,math.random(-10,10))).p,aimPos)
  1002.         blasterhead.CFrame = blasterhead.CFrame*CFrame.Angles(0,math.rad(180),0)
  1003.         local s_up = CreateSound(422747271,blasterhead,10,1,false,true)
  1004.         for i = 0, 1, 0.05 do
  1005.             blasterhead.CFrame = CFrame.new(blasterhead.CFrame.p,aimPos)
  1006.             blasterhead.CFrame = blasterhead.CFrame*CFrame.Angles(0,math.rad(180),0)
  1007.             blasterhead.Position = blasterhead.Position + Vector3.new(0,math.random(i,i+0.5),0)
  1008.             swait()
  1009.         end
  1010.         spawn(function()
  1011.             wait(1/10)
  1012.             CreateSound(340722848,blasterhead,10,1,false,true)
  1013.             --head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  1014.             local ray = Ray.new(blasterhead.CFrame.p,(aimPos - blasterhead.CFrame.p).unit * 999)
  1015.             local hit, pos = workspace:FindPartOnRay(ray,Character)
  1016.             local dis = (blasterhead.CFrame.p - pos).magnitude
  1017.             local rayPart = Instance.new("Part",workspace)
  1018.             rayPart.Shape = Enum.PartType.Cylinder
  1019.             rayPart.Material = "Neon"
  1020.             rayPart.FormFactor = "Custom"
  1021.             rayPart.BrickColor = BrickColor.new("White")
  1022.             rayPart.Anchored = true
  1023.             rayPart.CanCollide = false
  1024.             rayPart.Size = Vector3.new(dis + 400,blasterhead.Size/2,blasterhead.Size/2)
  1025.             rayPart.Touched:connect(function(Hit)
  1026.                 Hurt(Hit,1,Me)
  1027.             end)
  1028.             local rayCFrame = CFrame.new(blasterhead.CFrame.p + (aimPos - blasterhead.CFrame.p).unit * (dis/2 + 200),blasterhead.CFrame.p + (aimPos - blasterhead.CFrame.p) --[[.unit * dis * 2--]]) * angles(math.rad(0),math.rad(90),math.rad(0))
  1029.             rayPart.CFrame = rayCFrame
  1030.             spawn(function()
  1031.                 for i = 0, 1, .05 do
  1032.                     local retardation = lerp(1.25,0.2,i)                   
  1033.                     local ns = lerp(0.2,1,i)
  1034.                     local trans = lerp(0,1.1,i)
  1035.                     rayPart.Size = rayPart.Size + Vector3.new(ns,ns,ns)
  1036.                     rayPart.Transparency = trans
  1037.                     blasterhead.CFrame = blasterhead.CFrame + blasterhead.CFrame.lookVector * retardation
  1038.                     rayPart.CFrame = CFrame.new(blasterhead.CFrame.p + (aimPos - blasterhead.CFrame.p).unit * (dis/2 + 200),blasterhead.CFrame.p + (aimPos - blasterhead.CFrame.p) --[[.unit * dis * 2--]]) * angles(math.rad(0),math.rad(90),math.rad(0))
  1039.                     swait()
  1040.                 end
  1041.                 rayPart:Destroy()
  1042.                 spawn(function()
  1043.                     wait(2)
  1044.                     blasterhead:Destroy()
  1045.                 end)
  1046.             end)
  1047.             table.insert(GetItems, rayPart)
  1048.         end)
  1049.         table.insert(GetItems, blasterhead)
  1050.     end;
  1051.    
  1052.     HugeGasterBlaster = function()
  1053.         local aimPos = Mouse.Hit.p
  1054.         local blasterhead = Instance.new("Part",Character)
  1055.         blasterhead.Size = Vector3.new(20,20,20)
  1056.         blasterhead.CanCollide = false
  1057.         blasterhead.Anchored = true
  1058.         blasterhead.Transparency = 1
  1059.         local mesh=Instance.new("SpecialMesh",blasterhead)
  1060.         mesh.MeshType="FileMesh"
  1061.         mesh.MeshId="rbxassetid://431908407"
  1062.         mesh.Scale=Vector3.new(0.25,0.225,0.25)
  1063.         local decal = Instance.new("Decal",blasterhead)
  1064.         decal.Texture = "rbxassetid://441975828"
  1065.         blasterhead.CFrame = CFrame.new(Character.Torso.CFrame:toWorldSpace(CFrame.new(math.random(-20,20),1,math.random(-20,20))).p,aimPos)
  1066.         blasterhead.CFrame = blasterhead.CFrame*CFrame.Angles(0,math.rad(180),0)
  1067.         local s_up = CreateSound(422747271,blasterhead,10,1,false,true)
  1068.         for i = 0, 1, 0.05 do
  1069.             local trans = lerp(0.75,1,i)
  1070.             blasterhead.CFrame = CFrame.new(blasterhead.CFrame.p,aimPos)
  1071.             blasterhead.CFrame = blasterhead.CFrame*CFrame.Angles(0,math.rad(180),0)
  1072.             blasterhead.Position = blasterhead.Position + Vector3.new(0,i+i,0)
  1073.             swait()
  1074.         end
  1075.         spawn(function()
  1076.             wait(2)
  1077.             CreateSound(334702766,workspace,1,1,false,true)
  1078.             --head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  1079.             local ray = Ray.new(blasterhead.CFrame.p,(aimPos - blasterhead.CFrame.p).unit * 999)
  1080.             local hit, pos = workspace:FindPartOnRay(ray,Character)
  1081.             local dis = (blasterhead.CFrame.p - pos).magnitude
  1082.             local rayPart = Instance.new("Part",workspace)
  1083.             rayPart.Shape = Enum.PartType.Cylinder
  1084.             rayPart.Material = "Neon"
  1085.             rayPart.FormFactor = "Custom"
  1086.             rayPart.BrickColor = BrickColor.new("White")
  1087.             rayPart.Anchored = true
  1088.             rayPart.CanCollide = false
  1089.             rayPart.Size = Vector3.new(dis + 400,18,18)
  1090.             rayPart.Touched:connect(function(Hit)
  1091.                 Hurt(Hit,50,Me)
  1092.             end)
  1093.             local rayCFrame = CFrame.new(blasterhead.CFrame.p + (aimPos - blasterhead.CFrame.p).unit * (dis/2 + 200),blasterhead.CFrame.p + (aimPos - blasterhead.CFrame.p) --[[.unit * dis * 2--]]) * angles(math.rad(0),math.rad(90),math.rad(0))
  1094.             rayPart.CFrame = rayCFrame
  1095.             spawn(function()
  1096.                 for i = 0, 2, .05 do
  1097.                     local retardation = lerp(2,0.75,i)                 
  1098.                     local ns = lerp(0.3,1,i)
  1099.                     local trans = lerp(0,1.1,i)
  1100.                     rayPart.Size = rayPart.Size + Vector3.new(ns,ns,ns)
  1101.                     rayPart.Transparency = trans
  1102.                     blasterhead.CFrame = blasterhead.CFrame + blasterhead.CFrame.lookVector * retardation
  1103.                     rayPart.CFrame = CFrame.new(blasterhead.CFrame.p + (aimPos - blasterhead.CFrame.p).unit * (dis/2 + 200),blasterhead.CFrame.p + (aimPos - blasterhead.CFrame.p) --[[.unit * dis * 2--]]) * angles(math.rad(0),math.rad(90),math.rad(0))
  1104.                     swait()
  1105.                 end
  1106.                 rayPart:Destroy()
  1107.                 wait(2)
  1108.                 blasterhead:Destroy()
  1109.             end)
  1110.             table.insert(GetItems, rayPart)
  1111.         end)
  1112.         table.insert(GetItems, blasterhead)
  1113.     end;
  1114.    
  1115.     GravityControl = function()
  1116.         local Target = Mouse.Target
  1117.         local TarTorso = Target.Parent:FindFirstChild("Torso")
  1118.         if Target.Parent.Parent:FindFirstChildOfClass("Model") and Target.Parent:FindFirstChildOfClass("Humanoid") then
  1119.             local MarkTarget = CreatePart(workspace,Enum.Material.Marble,0,0.4,false,false,RGBColor(0,0,235),"Marked",Vector3.new(2,1,1))
  1120.             local MeshMark = CreateMesh("SpecialMesh",MarkTarget,"FileMesh","rbxassetid://14656345",Vector3.new(0,0,0),Vector3.new(0.05,0.05,0.05))
  1121.             local WeldMark = CreateWeld(MarkTarget,MarkTarget,TarTorso, cf(0,0,-5)*angles(math.rad(90),0,0),    cf(0,0,0)*angles(0,0,0))
  1122.            
  1123.             local BodyVel = Instance.new('BodyVelocity',TarTorso)
  1124.             BodyVel.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1125.             BodyVel.Velocity = Vector3.new(0,196.2,0)
  1126.             BodyVel.P = 1
  1127.             local BodyGyro = Instance.new('BodyGyro',TarTorso)
  1128.             BodyGyro.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  1129.             BodyGyro.P = 2e4           
  1130.            
  1131.             Mouse.KeyUp:connect(function(Key)
  1132.                 if ModeOfSans == 1 then
  1133.                     if ModeOfSans == 1 then
  1134.                         if Key == "q" then
  1135.                             Held[Key] = nil
  1136.                             BodyVel.Velocity = Vector3.new(0,0,0)
  1137.                         end
  1138.                     end
  1139.                 end
  1140.             end)
  1141.            
  1142.             Mouse.KeyDown:connect(function(Key)
  1143.                 if ModeOfSans == 1 then
  1144.                     if Key == "q" then
  1145.                         Held[Key] = true
  1146.                         while Held[Key] == true do
  1147.                             if Held[Key] == nil or TarTorso.Parent:FindFirstChildOfClass("Humanoid").Health == 0 then
  1148.                                 return
  1149.                             end
  1150.                             BodyGyro.CFrame = CFrame.new(TarTorso.Position,Mouse.Hit.p)
  1151.                             BodyVel.Velocity = TarTorso.CFrame.lookVector*300
  1152.                             swait()
  1153.                         end
  1154.                     end
  1155.                 end
  1156.             end)
  1157.         end
  1158.     end;
  1159.    
  1160.     Teleport = function()
  1161.         HumanoidRootPart.CFrame = Mouse.Hit * CFrame.new(0, 2.8, 0)
  1162.         CreateSound(367453005,Head,1,1,false,true)
  1163.     end;
  1164.    
  1165.     Torture = function()
  1166.         local Target = Mouse.Target
  1167.         local TarTorso = Target.Parent:FindFirstChild("Torso")
  1168.         local TarHead = Target.Parent:FindFirstChild("Head")
  1169.         local TarLA = Target.Parent:FindFirstChild("Left Arm")
  1170.         local TarRA = Target.Parent:FindFirstChild("Right Arm")
  1171.         local TarLL = Target.Parent:FindFirstChild("Left Leg")
  1172.         local TarHum = Target.Parent:FindFirstChildOfClass("Humanoid")
  1173.         if TarHum and TarHum.Health ~= 0 and TarTorso and TarLA and TarRA and TarLL then
  1174.             KeyAndAnimation(true)
  1175.            
  1176.             HumanoidRootPart.CFrame = TarTorso.CFrame
  1177.             TarHead.Anchored = true
  1178.             GetValueWS_JP(Humanoid)
  1179.             StoreWS_JP(TarHum)
  1180.             StoreWS_JP(Humanoid)
  1181.             local Behind = CreateWeld(HumanoidRootPart,HumanoidRootPart,TarTorso,cf(0,0,-1.5)*angles(0,0,0),        cf(0,0,0)*angles(0,0,0))
  1182.             CreateSound(305685800,workspace,1,1,false,true)
  1183.            
  1184.             local frame = 10
  1185.             for i = 0, frame do
  1186.                 RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)       * angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  1187.                 HW.C0 = clerp(HW.C0,necko                                * angles(math.rad(-20),math.rad(0),math.rad(0)),.15)
  1188.                 RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0)             * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  1189.                 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0)            * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  1190.                 RH.C0 = clerp(RH.C0, cf(0.5, -2, 0)                      * angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  1191.                 LH.C0 = clerp(LH.C0, cf(-0.5, -2, 0)                     * angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  1192.                 swait()
  1193.             end
  1194.             for i = 0, frame do
  1195.                 RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)       * angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  1196.                 HW.C0 = clerp(HW.C0,necko                                * angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  1197.                 RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0)             * angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  1198.                 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0)            * angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  1199.                 RH.C0 = clerp(RH.C0, cf(0.5, -2, 0)                      * angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  1200.                 LH.C0 = clerp(LH.C0, cf(-0.5, -2, 0)                     * angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  1201.                 swait()
  1202.             end
  1203.            
  1204.             frame = 20
  1205.             for i = 0, frame do
  1206.                 RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)       * angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  1207.                 HW.C0 = clerp(HW.C0,necko                                * angles(math.rad(5),math.rad(0),math.rad(0)),.15)
  1208.                 RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0)             * angles(math.rad(50), math.rad(0), math.rad(0)), 0.15)
  1209.                 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0)            * angles(math.rad(50), math.rad(0), math.rad(0)), 0.15)
  1210.                 RH.C0 = clerp(RH.C0, cf(0.5, -2, 0)                      * angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  1211.                 LH.C0 = clerp(LH.C0, cf(-0.5, -2, 0)                     * angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  1212.                 swait()
  1213.             end
  1214.             TarLA:BreakJoints()
  1215.             TarRA:BreakJoints()
  1216.             TarLA.Parent = TarTorso
  1217.             TarRA.Parent = TarTorso
  1218.             TarLA.CanCollide = true
  1219.             TarRA.CanCollide = true
  1220.             local WeldNewLA = CreateWeld(LeftArm,LeftArm,TarLA,cf(0,-1.5,0)*angles(math.rad(90),0,0),cf(0,0,0)*angles(0,0,0))
  1221.             local WeldNewRA = CreateWeld(RightArm,RightArm,TarRA,cf(0,-1.5,0)*angles(math.rad(90),0,0),cf(0,0,0)*angles(0,0,0))
  1222.             for i = 0, frame do
  1223.                 RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)       * angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  1224.                 HW.C0 = clerp(HW.C0,necko                                * angles(math.rad(5),math.rad(0),math.rad(0)),.15)
  1225.                 RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0)             * angles(math.rad(120), math.rad(0), math.rad(0)), 0.15)
  1226.                 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0)            * angles(math.rad(120), math.rad(0), math.rad(0)), 0.15)
  1227.                 RH.C0 = clerp(RH.C0, cf(0.5, -2, 0)                      * angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  1228.                 LH.C0 = clerp(LH.C0, cf(-0.5, -2, 0)                     * angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  1229.                 swait()
  1230.             end
  1231.            
  1232.             frame = 60
  1233.             for i = 0, frame do
  1234.                 RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)       * angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  1235.                 HW.C0 = clerp(HW.C0,necko                                * angles(math.rad(5),math.rad(0),math.rad(0)),.15)
  1236.                 RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0)             * angles(math.rad(260), math.rad(0), math.rad(-20)), 0.05)
  1237.                 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0)            * angles(math.rad(260), math.rad(0), math.rad(20)), 0.05)
  1238.                 RH.C0 = clerp(RH.C0, cf(0.5, -2, 0)                      * angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  1239.                 LH.C0 = clerp(LH.C0, cf(-0.5, -2, 0)                     * angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  1240.                 swait()
  1241.             end
  1242.            
  1243.             frame = 10
  1244.             for i = 0, frame do
  1245.                 RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)       * angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  1246.                 HW.C0 = clerp(HW.C0,necko                                * angles(math.rad(5),math.rad(0),math.rad(0)),.15)
  1247.                 RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0)             * angles(math.rad(120), math.rad(0), math.rad(20)), 0.15)
  1248.                 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0)            * angles(math.rad(120), math.rad(0), math.rad(-20)), 0.15)
  1249.                 RH.C0 = clerp(RH.C0, cf(0.5, -2, 0)                      * angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  1250.                 LH.C0 = clerp(LH.C0, cf(-0.5, -2, 0)                     * angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  1251.                 swait()
  1252.             end
  1253.             TarLA:BreakJoints()
  1254.             TarRA:BreakJoints()
  1255.             ThrowObj(TarLA,Head,1000)
  1256.             ThrowObj(TarRA,Head,1000)
  1257.            
  1258.             frame = 30
  1259.             for i = 0, frame do
  1260.                 RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)       * angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  1261.                 HW.C0 = clerp(HW.C0,necko                                * angles(math.rad(5),math.rad(0),math.rad(0)),.15)
  1262.                 RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0)             * angles(math.rad(120), math.rad(0), math.rad(20)), 0.15)
  1263.                 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0)            * angles(math.rad(120), math.rad(0), math.rad(-20)), 0.15)
  1264.                 RH.C0 = clerp(RH.C0, cf(0.5, -2, 0)                      * angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  1265.                 LH.C0 = clerp(LH.C0, cf(-0.5, -2, 0)                     * angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  1266.                 swait()
  1267.             end
  1268.            
  1269.             frame = 40
  1270.             for i = 0, frame do
  1271.                 RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(-0.5,-0.5,0)     * angles(math.rad(0),math.rad(0),math.rad(20)),.15)
  1272.                 HW.C0 = clerp(HW.C0,necko                                * angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  1273.                 RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0)             * angles(math.rad(40), math.rad(0), math.rad(20)), 0.15)
  1274.                 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0)            * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.15)
  1275.                 RH.C0 = clerp(RH.C0, cf(0.5, -2, 0)                      * angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  1276.                 LH.C0 = clerp(LH.C0, cf(-0.5, -2, 0)                     * angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  1277.                 swait()
  1278.             end
  1279.             CreateSound(1386772138,Head,1,1,false,true)
  1280.            
  1281.             frame = 10
  1282.             for i = 0, frame do
  1283.                 RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(-0.5,-0.5,0)     * angles(math.rad(0),math.rad(0),math.rad(20)),.15)
  1284.                 HW.C0 = clerp(HW.C0,necko                                * angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  1285.                 RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.4+0.1*math.cos(sine/16), -0.2) * angles(math.rad(-110),math.rad(50),math.rad(190)), .3)
  1286.                 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0)            * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.15)
  1287.                 RH.C0 = clerp(RH.C0, cf(0.5, -2, 0)                      * angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  1288.                 LH.C0 = clerp(LH.C0, cf(-0.5, -2, 0)                     * angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  1289.                 swait()
  1290.             end
  1291.  
  1292.             if TarTorso.Parent:FindFirstChild("Torso") then
  1293.                 TarTorso.Parent:FindFirstChild("Torso").CFrame = TarTorso.Parent:FindFirstChild("Torso").CFrame * angles(math.rad(2), math.rad(0), math.rad(0))
  1294.                 Ragdoll(TarTorso.Parent,Torso,true)
  1295.             end
  1296.             TarHead.Anchored = false
  1297.             ReleaseWS_JP(Humanoid)
  1298.             Behind:Destroy()
  1299.            
  1300.             KeyAndAnimation(false)
  1301.         end
  1302.     end;
  1303.    
  1304.     CutHead = function()
  1305.         local Target = Mouse.Target
  1306.         local TarTorso = Target.Parent:FindFirstChild("Torso")
  1307.         local TarHead = Target.Parent:FindFirstChild("Head")
  1308.         local TarLA = Target.Parent:FindFirstChild("Left Arm")
  1309.         local TarRA = Target.Parent:FindFirstChild("Right Arm")
  1310.         local TarLL = Target.Parent:FindFirstChild("Left Leg")
  1311.         local TarHum = Target.Parent:FindFirstChildOfClass("Humanoid")
  1312.         if TarHum and TarHum.Health ~= 0 and TarTorso and TarLA and TarRA and TarLL and TarHead then
  1313.             KeyAndAnimation(true)
  1314.            
  1315.             GetValueWS_JP(Humanoid)
  1316.             StoreWS_JP(TarHum)
  1317.             StoreWS_JP(Humanoid)
  1318.             HumanoidRootPart.CFrame = TarTorso.CFrame
  1319.             TarHead.Anchored = true
  1320.             local Behind = CreateWeld(HumanoidRootPart,HumanoidRootPart,TarTorso,cf(0,0,-1.5)*angles(0,0,0),        cf(0,0,0)*angles(0,0,0))
  1321.             for i = 1, 20 do
  1322.                 RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)       * angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  1323.                 HW.C0 = clerp(HW.C0,necko                                * angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  1324.                 RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0)             * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1325.                 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0)            * angles(math.rad(50), math.rad(0), math.rad(0)), 0.15)
  1326.                 swait()
  1327.             end
  1328.             for i = 1, 20 do
  1329.                 RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)       * angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  1330.                 HW.C0 = clerp(HW.C0,necko                                * angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  1331.                 RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0)             * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1332.                 LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.5)         * angles(math.rad(160), math.rad(-20), math.rad(40)), 0.15)
  1333.                 swait()
  1334.             end
  1335.             Ragdoll(TarTorso.Parent,Torso,true)
  1336.             TarHead.Anchored = false
  1337.             wait()
  1338.             TarHead:BreakJoints()
  1339.             Sticky(LeftArm,TarHead)
  1340.             for i = 1, 30 do
  1341.                 RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)       * angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  1342.                 HW.C0 = clerp(HW.C0,necko                                * angles(math.rad(-10),math.rad(0),math.rad(0)),.15)
  1343.                 RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0)             * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1344.                 LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -0.6)         * angles(math.rad(70), math.rad(0), math.rad(60)), 0.15)
  1345.                 swait()
  1346.             end
  1347.             for i = 1, 40 do
  1348.                 RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)       * angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  1349.                 HW.C0 = clerp(HW.C0,necko                                * angles(math.rad(-15),math.rad(0),math.rad(0)),.15)
  1350.                 RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.4, 0.2)           * angles(math.rad(-25),math.rad(20),math.rad(190)), .15)
  1351.                 LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -0.6)         * angles(math.rad(40), math.rad(0), math.rad(30)), 0.15)
  1352.                 swait()
  1353.             end
  1354.             for i = 1, 20 do
  1355.                 RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)       * angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  1356.                 HW.C0 = clerp(HW.C0,necko                                * angles(math.rad(-15),math.rad(0),math.rad(0)),.15)
  1357.                 RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.4, 0.2)           * angles(math.rad(-75),math.rad(20),math.rad(210)), .25)
  1358.                 LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -0.6)         * angles(math.rad(40), math.rad(0), math.rad(30)), 0.15)
  1359.                 swait()
  1360.             end
  1361.             CreateSound(171688984,Head,1,1,false,true)
  1362.             for i = 1, 20 do
  1363.                 RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)       * angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  1364.                 HW.C0 = clerp(HW.C0,necko                                * angles(math.rad(-15),math.rad(0),math.rad(0)),.15)
  1365.                 RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.4, 0.2)           * angles(math.rad(-25),math.rad(20),math.rad(190)), .25)
  1366.                 LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -0.6)         * angles(math.rad(40), math.rad(0), math.rad(30)), 0.15)
  1367.                 swait()
  1368.             end
  1369.             for i = 1, 20 do
  1370.                 RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)       * angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  1371.                 HW.C0 = clerp(HW.C0,necko                                * angles(math.rad(-15),math.rad(0),math.rad(0)),.15)
  1372.                 RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.4, 0.2)           * angles(math.rad(-75),math.rad(20),math.rad(210)), .25)
  1373.                 LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -0.6)         * angles(math.rad(40), math.rad(0), math.rad(30)), 0.15)
  1374.                 swait()
  1375.             end
  1376.            
  1377.             TarHead:BreakJoints()
  1378.             CreateSound(171688984,Head,1,1,false,true)
  1379.             ReleaseWS_JP(Humanoid)
  1380.             Behind:Destroy()
  1381.            
  1382.             KeyAndAnimation(false)
  1383.         end
  1384.     end;
  1385.    
  1386.     BrushAttack1 = function()
  1387.         KeyAndAnimation(true)
  1388.        
  1389.         Equip.BrushInkSans.Part1 = RightArm
  1390.         BrushTrail.Color = ColorSequence.new(BrickColor.new('Really black').Color,BrickColor.new('Lime green').Color)
  1391.         coroutine.resume(coroutine.create(function()
  1392.             for i = 1, 40 do
  1393.                 Equip.BrushInkSans.C0 = clerp(Equip.BrushInkSans.C0, cf(0, -1, 0.75) *angles(math.rad(0), 0, math.rad(-180)), .075)
  1394.                 swait()
  1395.             end
  1396.         end))
  1397.         for i = 1, 30 do
  1398.             RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, 0.1) * angles(math.rad(70), math.rad(0), math.rad(40)), .1)
  1399.             LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, 0.1) * angles(math.rad(-40), math.rad(0), math.rad(40)), .1)
  1400.             swait()
  1401.         end
  1402.         Active["BrushInkSans"] = true
  1403.         for i = 1, 25 do
  1404.             RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-50)), .15)
  1405.             swait()
  1406.         end
  1407.         BrushTrail.Color = ColorSequence.new(BrickColor.new('Really black').Color)
  1408.         Active["BrushInkSans"] = false
  1409.        
  1410.         KeyAndAnimation(false)
  1411.     end;
  1412.    
  1413.     ErrorRemove = function()
  1414.         local Target = Mouse.Target
  1415.         local TarTorso = Target.Parent:FindFirstChild("Torso")
  1416.         local TarHead = Target.Parent:FindFirstChild("Head")
  1417.         local TarLA = Target.Parent:FindFirstChild("Left Arm")
  1418.         local TarRA = Target.Parent:FindFirstChild("Right Arm")
  1419.         local TarLL = Target.Parent:FindFirstChild("Left Leg")
  1420.         local TarRL = Target.Parent:FindFirstChild("Right Leg")
  1421.         local TarHum = Target.Parent:FindFirstChildOfClass("Humanoid")
  1422.         if TarHum and TarHum.Health ~= 0 and TarTorso and TarLA and TarRA and TarLL and TarHead then
  1423.             KeyAndAnimation(true)
  1424.            
  1425.             local RemovePart = CreatePart(workspace,Enum.Material.Neon,1,0,false,false,RGBColor(math.random(235,255),0,0),"ErrorPart",Vector3.new(TarTorso.Size.X*2,1,TarTorso.Size.X*2))
  1426.             local WeldRemovePart = CreateWeld(RemovePart,RemovePart,TarTorso,cf(0,2.5,0)*angles(0,0,0),cf(0,0,0)*angles(0,0,0))        
  1427.                        
  1428.             swait()
  1429.             RemovePart.Anchored = true
  1430.             TarTorso.Anchored = true
  1431.            
  1432.             for i = 0, 1, 0.1 do
  1433.                 local ns = lerp(0.5,1,i)
  1434.                 RemovePart.Size = RemovePart.Size + Vector3.new(0,ns,0)
  1435.                 swait()
  1436.             end
  1437.            
  1438.             for i = 0, 1, 0.1 do
  1439.                 PixelBlockNeg(2,1,"Add",true,TarTorso.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,BrickColor.new("Really red"),0)
  1440.             end
  1441.            
  1442.             TarTorso:Destroy()
  1443.             TarHead:Destroy()
  1444.             TarLA:Destroy()
  1445.             TarRA:Destroy()
  1446.             TarLL:Destroy()
  1447.             TarRL:Destroy()
  1448.            
  1449.             for i = 0, 1, 0.1 do
  1450.                 local ns = lerp(1,0.5,i)
  1451.                 RemovePart.Size = RemovePart.Size - Vector3.new(ns,ns+ns+ns,ns)
  1452.                 swait()
  1453.             end
  1454.            
  1455.             RemovePart:Destroy()
  1456.             KeyAndAnimation(false)
  1457.         end
  1458.     end;
  1459.    
  1460.     ErrorBanned = function()
  1461.         local Target = Mouse.Target
  1462.         local TarChar = Target.Parent
  1463.         local TarHum = Target.Parent:FindFirstChildOfClass("Humanoid")
  1464.         local TarRoot = Target.Parent:FindFirstChild("HumanoidRootPart")
  1465.         if TarHum and TarRoot then
  1466.             table.insert(Banlist, TarChar.Name)
  1467.             for i, v in pairs(TarChar:GetChildren()) do
  1468.                 v.Anchored = true
  1469.                 TarChar:Destroy()
  1470.             end
  1471.         end
  1472.     end;
  1473.    
  1474.     InfectionError = function()
  1475.         KeyAndAnimation(true)
  1476.         local speedearn = 0
  1477.         for i = 0, 10, 0.1 do
  1478.             swait()
  1479.             speedearn = speedearn + 0.1
  1480.             RH.C0=clerp(RH.C0,cf(0.5,-1.25,-0.5)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  1481.             LH.C0=clerp(LH.C0,cf(-0.5,-2,0.25)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  1482.             RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  1483.             Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  1484.             RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  1485.             LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  1486.         end
  1487.        
  1488.         local Infected = function(v)
  1489.             spawn(function()--coroutine.resume(coroutine.create(function()
  1490.                 if v ~= Character then
  1491.                     local RemovePart = CreatePart(workspace,Enum.Material.Neon,1,0,false,false,RGBColor(math.random(235,255),0,0),"ErrorPart",Vector3.new(v.Torso.Size.X*2,1,v.Torso.Size.X*2))
  1492.                     local WeldRemovePart = CreateWeld(RemovePart,RemovePart,v.Torso,cf(0,2.5,0)*angles(0,0,0),cf(0,0,0)*angles(0,0,0))         
  1493.                                
  1494.                     swait()
  1495.                     RemovePart.Anchored = true
  1496.                     v['Torso'].Anchored = true
  1497.                    
  1498.                     spawn(function()--coroutine.resume(coroutine.create(function()
  1499.                         for i = 0, 1, 0.1 do
  1500.                             local ns = lerp(0.5,1,i)
  1501.                             RemovePart.Size = RemovePart.Size + Vector3.new(0,ns,0)
  1502.                             swait()
  1503.                         end
  1504.                        
  1505.                         for i = 0, 1, 0.1 do
  1506.                             PixelBlockNeg(2,1,"Add",true,v.Torso.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,BrickColor.new("Really red"),0)
  1507.                         end
  1508.                        
  1509.                         for i, k in pairs(v:GetChildren()) do
  1510.                             if k:IsA("Part") or k:IsA("Model") then
  1511.                                 k:Destroy()
  1512.                             end
  1513.                         end
  1514.                        
  1515.                         for i = 0, 1, 0.1 do
  1516.                             local ns = lerp(1,0.5,i)
  1517.                             RemovePart.Size = RemovePart.Size - Vector3.new(ns,ns+ns+ns,ns)
  1518.                             swait()
  1519.                         end
  1520.                        
  1521.                         RemovePart:Destroy()
  1522.                     end)
  1523.                 end
  1524.             end)
  1525.         end    
  1526.        
  1527.         CreateSound(62339698,workspace,1,0.3,false,true)
  1528.         spawn(function()
  1529.             for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 1234567890)) do
  1530.             if v['Torso'] then
  1531.                 Infected(v)
  1532.             end
  1533.             end
  1534.         end)
  1535.        
  1536.         for i = 0, 3, 0.1 do
  1537.         swait()
  1538.         RH.C0=clerp(RH.C0,cf(0.5,-2,-0.5)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.4)
  1539.         LH.C0=clerp(LH.C0,cf(-0.5,-2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.4)
  1540.         RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  1541.         Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  1542.         RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  1543.         LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  1544.         end
  1545.        
  1546.         KeyAndAnimation(false)
  1547.     end;
  1548.    
  1549.     PastTime = function()
  1550.         local Freeze = function(v)
  1551.             coroutine.resume(coroutine.create(function()
  1552.                 local hum = v:FindFirstChildOfClass("Humanoid")
  1553.                 hum.WalkSpeed = 0
  1554.                 if v ~= Character then
  1555.                     v:FindFirstChild("Torso").Anchored = true
  1556.                     v:FindFirstChild("Head").Anchored = true
  1557.                     v:FindFirstChild("Right Arm").Anchored = true
  1558.                     v:FindFirstChild("Left Arm").Anchored = true
  1559.                     v:FindFirstChild("Right Leg").Anchored = true
  1560.                     v:FindFirstChild("Left Leg").Anchored = true
  1561.                     v:FindFirstChild("HumanoidRootPart").Anchored = true
  1562.                    
  1563.                 end
  1564.             end))
  1565.         end
  1566.        
  1567.         local Thaw = function(v)
  1568.             coroutine.resume(coroutine.create(function()
  1569.                 v:FindFirstChildOfClass("Humanoid").WalkSpeed = 16
  1570.                 if v ~= Character then
  1571.                     v:FindFirstChild("Torso").Anchored = false
  1572.                     v:FindFirstChild("Head").Anchored = false
  1573.                     v:FindFirstChild("Right Arm").Anchored = false
  1574.                     v:FindFirstChild("Left Arm").Anchored = false
  1575.                     v:FindFirstChild("Right Leg").Anchored = false
  1576.                     v:FindFirstChild("Left Leg").Anchored = false
  1577.                     v:FindFirstChild("HumanoidRootPart").Anchored = false
  1578.                    
  1579.                 end
  1580.             end))
  1581.         end
  1582.        
  1583.         spawn(function()
  1584.             for i, v in pairs(workspace:GetChildren()) do
  1585.                 if v:IsA("Part") then
  1586.                     if v:FindFirstChildOfClass("BodyVelocity") or v:FindFirstChildOfClass("RocketPropulsion") or v:FindFirstChildOfClass("BodyForce") or v:FindFirstChildOfClass("BodyPosition") then
  1587.                         spawn(function()
  1588.                         v.Anchored = true
  1589.                         swait()
  1590.                         v.Anchored = false
  1591.                         swait()
  1592.                         end)
  1593.                     end
  1594.                 end
  1595.             end
  1596.         end)
  1597.        
  1598.         for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 1234567890)) do
  1599.         if v:FindFirstChild('Torso') then
  1600.             spawn(function()
  1601.             Freeze(v)
  1602.             swait()
  1603.             Thaw(v)
  1604.             swait()
  1605.             end)
  1606.         end
  1607.         end
  1608.     end;
  1609.    
  1610.     FreezeTime = function()
  1611.         for i, player in pairs(game.Players:GetPlayers()) do
  1612.             for i, v in pairs(player.Character:GetChildren()) do
  1613.                 if v:IsA("BasePart") and v.Parent ~= Character then
  1614.                     v.Anchored = true
  1615.                 end
  1616.             end
  1617.         end
  1618.     end;
  1619.    
  1620.     ThawTime = function()
  1621.         CreateSound(1195380475,workspace,1,1.75,false,true)
  1622.         for i, player in pairs(game.Players:GetPlayers()) do
  1623.             for i, v in pairs(player.Character:GetChildren()) do
  1624.                 if v:IsA("BasePart") and v.Parent ~= Character then
  1625.                     v.Anchored = false
  1626.                 end
  1627.             end
  1628.         end
  1629.     end
  1630. }
  1631. -- CheckBan
  1632. workspace.ChildAdded:connect(function(instance)
  1633.     for BANISH = 1, #Banlist do
  1634.         if Banlist[BANISH] ~= nil then
  1635.             if instance.Name == Banlist[BANISH] then
  1636.                 coroutine.resume(coroutine.create(function()
  1637.                     instance:ClearAllChildren()
  1638.                     Debris:AddItem(instance,0.0005)
  1639.                 end))
  1640.             end
  1641.         end
  1642.     end
  1643. end)
  1644.  
  1645. function PixelBlockNeg(bonuspeed,FastSpeed,type,transparentanim,pos,x1,y1,z1,value,color,outerpos)
  1646. local type = type
  1647. local rng = Instance.new("Part", Character)
  1648. rng.Anchored = true
  1649. rng.BrickColor = color
  1650. rng.CanCollide = false
  1651. rng.FormFactor = 3
  1652. rng.Name = "Ring"
  1653. rng.Material = "Neon"
  1654. rng.Size = Vector3.new(1, 1, 1)
  1655. rng.Transparency = 0
  1656. rng.TopSurface = 0
  1657. rng.BottomSurface = 0
  1658. rng.CFrame = pos
  1659. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  1660. local rngm = Instance.new("SpecialMesh", rng)
  1661. rngm.MeshType = "Brick"
  1662. rngm.Scale = Vector3.new(x1,y1,z1)
  1663. local scaler2 = 0
  1664. local speeder = FastSpeed/10
  1665. if type == "Add" then
  1666. scaler2 = 1*value
  1667. elseif type == "Divide" then
  1668. scaler2 = 1/value
  1669. end
  1670. coroutine.resume(coroutine.create(function()
  1671. for i = 0,10/bonuspeed,0.1 do
  1672. swait()
  1673. if type == "Add" then
  1674. scaler2 = scaler2 - 0.01*value/bonuspeed
  1675. elseif type == "Divide" then
  1676. scaler2 = scaler2 - 0.01/value*bonuspeed
  1677. end
  1678. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  1679. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  1680. if transparentanim == true then
  1681.     rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1682. end
  1683. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  1684. end
  1685. rng:Destroy()
  1686. end))
  1687. end
  1688.  
  1689.  
  1690. local Effects = {
  1691.     ErrorEffects = function(chance)
  1692.         spawn(function()
  1693.             if chance > 100 then
  1694.                 chance = 100
  1695.             end
  1696.             if math.random(chance,100) == chance then
  1697.                 local iscreen = Instance.new("Model",Character)
  1698.                 local screenpaids = CreatePart(iscreen,Enum.Material.Air,0,0,false,false,RGBColor(255,255,255),"Error",Vector3.new(4,3,0.2))
  1699.                 local weldscreen = CreateWeld(screenpaids,screenpaids,HumanoidRootPart,CFrame.fromEulerAnglesXYZ(0,0,0)*CFrame.new(math.random(-5,5),math.random(-2,2),math.random(-5,5)),CFrame.new(0,0,0))
  1700.                  
  1701.                 local txt = Instance.new("BillboardGui", screenpaids)
  1702.                 txt.Adornee = nil
  1703.                 txt.Name = "NameDetect"
  1704.                 txt.Size = UDim2.new(4, 0, 1.2, 0)
  1705.                 txt.StudsOffset = Vector3.new(0,0,0)
  1706.                 txt.MaxDistance = 0
  1707.                 local text = Instance.new("TextLabel", txt)
  1708.                 text.Size = UDim2.new(1, 0, 1, 0)
  1709.                 text.FontSize = "Size8"
  1710.                 text.TextScaled = true
  1711.                 text.TextTransparency = 0
  1712.                 text.BackgroundTransparency = 1
  1713.                 text.TextTransparency = 0
  1714.                 text.TextStrokeTransparency = 0
  1715.                 text.Font = "Code"
  1716.                 text.TextStrokeColor3 = RGBColor(255,0,0)
  1717.                 text.TextColor3 = RGBColor(0,0,0)
  1718.                 text.Text = "Error"
  1719.                
  1720.                 swait()
  1721.                 weldscreen:Destroy()               
  1722.                 screenpaids.Anchored = true
  1723.                
  1724.                 spawn(function()
  1725.                     local randevent = math.random(1,3)
  1726.                     if randevent == 1 then
  1727.                         for i = 1, math.random(10,20) do
  1728.                             text.TextStrokeColor3 = RGBColor(math.random(175,255),0,0)
  1729.                             text.TextColor3 = RGBColor(math.random(10,75),0,0)
  1730.                             text.Text = "ErroR"
  1731.                             swait(math.random(0,7))
  1732.                             text.Text = "ERROr"
  1733.                             swait(math.random(0,7))
  1734.                             text.Text = "eRrOR"
  1735.                             swait(math.random(0,7))
  1736.                             text.Text = "ERroR"
  1737.                             swait(math.random(0,7))
  1738.                             text.Text = "eRROR"
  1739.                             swait(math.random(0,7))
  1740.                             text.Text = "erROr"
  1741.                             swait(math.random(0,7))
  1742.                             text.Text = "ERrOr"
  1743.                             wait(1/30)
  1744.                         end
  1745.                     end
  1746.                     if randevent == 2 then
  1747.                         for i = 1, math.random(10,20) do
  1748.                             text.TextStrokeColor3 = RGBColor(math.random(175,255),0,0)
  1749.                             text.TextColor3 = RGBColor(math.random(10,75),0,0)
  1750.                             text.Text = "ErROR"
  1751.                             swait(math.random(0,7))
  1752.                             text.Text = "ERrOr"
  1753.                             swait(math.random(0,7))
  1754.                             text.Text = "eRrOR"
  1755.                             swait(math.random(0,7))
  1756.                             text.Text = "ERROR"
  1757.                             swait(math.random(0,7))
  1758.                             text.Text = "eRROR"
  1759.                             swait(math.random(0,7))
  1760.                             text.Text = "ERrOr"
  1761.                             swait(math.random(0,7))
  1762.                             text.Text = "eRROr"
  1763.                             wait(1/30)
  1764.                         end
  1765.                     end
  1766.                     if randevent == 3 then
  1767.                         for i = 1, math.random(10,20) do
  1768.                             text.TextStrokeColor3 = RGBColor(math.random(175,255),0,0)
  1769.                             text.TextColor3 = RGBColor(math.random(10,75),0,0)
  1770.                             text.Text = "ErROR"
  1771.                             swait(math.random(0,7))
  1772.                             text.Text = "ERrOr"
  1773.                             swait(math.random(0,7))
  1774.                             text.Text = "eRrOR"
  1775.                             swait(math.random(0,7))
  1776.                             text.Text = "ERroR"
  1777.                             swait(math.random(0,7))
  1778.                             text.Text = "eRROR"
  1779.                             swait(math.random(0,7))
  1780.                             text.Text = "ERrOR"
  1781.                             swait(math.random(0,7))
  1782.                             text.Text = "eRrOR"
  1783.                             wait(1/30)
  1784.                         end
  1785.                     end
  1786.                 end)
  1787.                
  1788.                 spawn(function() wait(math.random(1,3)) iscreen:Destroy() end)
  1789.                 table.insert(GetItems, iscreen)
  1790.             end
  1791.         end)
  1792.     end;
  1793.    
  1794.     CyberEffects = function(chance)
  1795.         spawn(function()
  1796.             if chance > 100 then
  1797.                 chance = 100
  1798.             end
  1799.             if math.random(chance,100) == chance then
  1800.                 local magik = Instance.new("Part", Torso)
  1801.                 magik.Anchored = true
  1802.                 magik.Locked = true
  1803.                 magik.Material = "Neon"
  1804.                 magik.FormFactor = "Custom"
  1805.                 magik.Size = Vector3.new(1.2, 1.2, 1.2)
  1806.                 magik.TopSurface = "Smooth"
  1807.                 magik.BottomSurface = "Smooth"
  1808.                 magik.Transparency = 0
  1809.                 magik.CanCollide = false
  1810.                        
  1811.                 magik.BrickColor = BrickColor.new(0,125,255)
  1812.                    
  1813.                 local mr = math.rad
  1814.                 local rnx,rny,rnz = mr(rndRange(20)),mr(rndRange(20)),mr(rndRange(20))
  1815.                 local cf = Torso.CFrame * CFrame.new(math.random(-5,5), -.5, math.random(-5,5)) * CFrame.Angles(rnx,rny,rnz)
  1816.                 magik.CFrame = cf
  1817.                 for i = 0, 1, .025 do
  1818.                     local newTrans = lerp(0.5, 1, i)
  1819.                     local ns = lerp(1,1.2,i)
  1820.                     magik.Transparency = newTrans
  1821.                     magik.Size = Vector3.new(ns,ns+math.random(5,7),ns)
  1822.                     magik.CFrame = cf
  1823.                     swait()
  1824.                 end
  1825.                 magik:Destroy()
  1826.                 wait()
  1827.             end
  1828.         end)
  1829.     end;
  1830. }
  1831.  
  1832. function clerp(a,b,t)
  1833. local qa = {QuaternionFromCFrame(a)}
  1834. local qb = {QuaternionFromCFrame(b)}
  1835. local ax, ay, az = a.x, a.y, a.z
  1836. local bx, by, bz = b.x, b.y, b.z
  1837. local _t = 1-t
  1838. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1839. end
  1840.  
  1841. function QuaternionFromCFrame(cf)
  1842. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1843. local trace = m00 + m11 + m22
  1844. if trace > 0 then
  1845. local s = math.sqrt(1 + trace)
  1846. local recip = 0.5/s
  1847. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1848. else
  1849. local i = 0
  1850. if m11 > m00 then
  1851. i = 1
  1852. end
  1853. if m22 > (i == 0 and m00 or m11) then
  1854. i = 2
  1855. end
  1856. if i == 0 then
  1857. local s = math.sqrt(m00-m11-m22+1)
  1858. local recip = 0.5/s
  1859. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1860. elseif i == 1 then
  1861. local s = math.sqrt(m11-m22-m00+1)
  1862. local recip = 0.5/s
  1863. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1864. elseif i == 2 then
  1865. local s = math.sqrt(m22-m00-m11+1)
  1866. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1867. end
  1868. end
  1869. end
  1870.  
  1871. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1872. local xs, ys, zs = x + x, y + y, z + z
  1873. local wx, wy, wz = w*xs, w*ys, w*zs
  1874. local xx = x*xs
  1875. local xy = x*ys
  1876. local xz = x*zs
  1877. local yy = y*ys
  1878. local yz = y*zs
  1879. local zz = z*zs
  1880. 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))
  1881. end
  1882.  
  1883. function QuaternionSlerp(a, b, t)
  1884. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1885. local startInterp, finishInterp;
  1886. if cosTheta >= 0.0001 then
  1887. if (1 - cosTheta) > 0.0001 then
  1888. local theta = math.acos(cosTheta)
  1889. local invSinTheta = 1/math.sin(theta)
  1890. startInterp = math.sin((1-t)*theta)*invSinTheta
  1891. finishInterp = math.sin(t*theta)*invSinTheta  
  1892. else
  1893. startInterp = 1-t
  1894. finishInterp = t
  1895. end
  1896. else
  1897. if (1+cosTheta) > 0.0001 then
  1898. local theta = math.acos(-cosTheta)
  1899. local invSinTheta = 1/math.sin(theta)
  1900. startInterp = math.sin((t-1)*theta)*invSinTheta
  1901. finishInterp = math.sin(t*theta)*invSinTheta
  1902. else
  1903. startInterp = t-1
  1904. finishInterp = t
  1905. end
  1906. end
  1907. 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
  1908. end
  1909.  
  1910. function swait(num)
  1911.     if num==0 or num==nil then
  1912.         game:GetService('RunService').Heartbeat:wait()
  1913.     else
  1914.     for i=0,num do
  1915.         game:GetService('RunService').Heartbeat:wait()
  1916.     end
  1917.     end
  1918. end
  1919.  
  1920. function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1921.     return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1922. end
  1923.  
  1924. --//=========================================\\
  1925. --||            Animation&Stance;
  1926. --\\=========================================//
  1927.  
  1928. RW = Torso:FindFirstChild("Weld Right Shoulder") or Instance.new("Weld",Torso)
  1929. LW = Torso:FindFirstChild("Weld Left Shoulder") or Instance.new("Weld",Torso)
  1930. RH = Torso:FindFirstChild("Weld Right Hip") or Instance.new("Weld",Torso)
  1931. LH = Torso:FindFirstChild("Weld Left Hip") or Instance.new("Weld",Torso)
  1932. HW = Torso:FindFirstChild("Weld Neck") or Instance.new("Weld",Torso)
  1933.  
  1934. RW.Name = "Weld Right Shoulder"
  1935. RW.Part0 = Torso
  1936. RW.Part1 = RightArm
  1937. RW.C0 = cf(1.5, 0.5, 0)
  1938. RW.C1 = cf(0, 0.5, 0)
  1939.  
  1940. LW.Name = "Weld Left Shoulder"
  1941. LW.Part0 = Torso
  1942. LW.Part1 = LeftArm
  1943. LW.C0 = cf(-1.5, 0.5, 0)
  1944. LW.C1 = cf(0, 0.5, 0)
  1945.  
  1946. RH.Name = "Weld Right Hip"
  1947. RH.Part0 = Torso
  1948. RH.Part1 = RightLeg
  1949. RH.C0 = cf(0.5, -2, 0)
  1950. RH.C1 = cf(0, 0, 0)
  1951.  
  1952. LH.Name = "Weld Left Hip"
  1953. LH.Part0 = Torso
  1954. LH.Part1 = LeftLeg
  1955. LH.C0 = cf(-0.5, -2, 0)
  1956. LH.C1 = cf(0, 0, 0)
  1957.  
  1958. HW.Name = "Weld Neck"
  1959. HW.Part0 = Torso
  1960. HW.Part1 = Head
  1961. HW.C0 = cf(0, 1.5, 0)
  1962. HW.C1 = cf(0, 0, 0)  
  1963.  
  1964. coroutine.resume(coroutine.create(function()
  1965. while true do
  1966.     swait()
  1967.     sine = sine + change
  1968.     local torvel = (HumanoidRootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1969.     local hitfloor,posfloor = rayCast(HumanoidRootPart.Position,(CFrame.new(HumanoidRootPart.Position,HumanoidRootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1970.     -- No Animation When Speical Events Executed
  1971.     if Debounce_Animation == false then
  1972.     -- Sans_UT Mode
  1973.     if ModeOfSans == 1 or ModeOfSans == 7 then
  1974.         if HumanoidRootPart.Velocity.y > 1 and hitfloor == nil then
  1975.             animpose = "Jumping"
  1976.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)       * angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  1977.             HW.C0 = clerp(HW.C0,necko                                * angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1978.             RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0)             * angles(math.rad(-20), math.rad(0), math.rad(30)), 0.3)
  1979.             LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0)            * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
  1980.             RH.C0 = clerp(RH.C0, cf(0.5, -2, 0)                      * angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  1981.             LH.C0 = clerp(LH.C0, cf(-0.5, -2, 0)                     * angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  1982.         end
  1983.         if torvel < 1 and hitfloor ~=nil then
  1984.             animpose = "Standing"
  1985.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)                      * angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  1986.             HW.C0 = clerp(HW.C0,necko                                               * angles(math.rad(-5+2*math.cos(sine/16)),math.rad(0),math.rad(0)),.3)
  1987.             RW.C0 = clerp(RW.C0, CFrame.new(0.95, 0.4+0.1*math.cos(sine/16), 0.4)   * angles(math.rad(-30), math.rad(0), math.rad(-35+3*math.cos(sine/16))), .1)
  1988.             LW.C0 = clerp(LW.C0, CFrame.new(-0.95, 0.4+0.1*math.cos(sine/16), 0.4)  * angles(math.rad(-30), math.rad(0), math.rad(35-3*math.cos(sine/16))), .1)
  1989.             RH.C0 = clerp(RH.C0, cf(0.5, -2, 0)                                     * angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  1990.             LH.C0 = clerp(LH.C0, cf(-0.5, -2, 0)                                    * angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  1991.         end
  1992.         if HumanoidRootPart.Velocity.y < -1 and hitfloor == nil then
  1993.             animpose = "Freefalling"
  1994.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)       * angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  1995.             HW.C0 = clerp(HW.C0,necko                                * angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  1996.             RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0)             * angles(math.rad(-30), math.rad(0), math.rad(50)), 0.2)
  1997.             LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0)            * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.2)
  1998.             RH.C0 = clerp(RH.C0, cf(0.5, -2, 0)                      * angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  1999.             LH.C0 = clerp(LH.C0, cf(-0.5, -2, 0)                     * angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2000.         end
  2001.         if torvel >= 1 and hitfloor ~=nil then
  2002.             animpose = "Walking"
  2003.             val = torvel * 0.175
  2004.             change = val + 0.75
  2005.             RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0-0.1*math.cos(sine/14))      * angles(math.rad(0),math.rad(0),math.rad(0-5*math.cos(sine/28))),.2)
  2006.             HW.C0 = clerp(HW.C0, necko                                                  * angles(math.rad(-10-3*math.cos(sine/28)),math.rad(0),math.rad(-2*math.cos(sine/28))),.2)
  2007.             RW.C0=clerp(RW.C0,cf(1.5,0.5,0)                                             * angles(math.rad(0 - 25 * math.cos(sine/28)),math.rad(0),math.rad(10-10*math.cos(sine/28))),.2)
  2008.             LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)                                            * angles(math.rad(0 + 25 * math.cos(sine/28)),math.rad(0),math.rad(-10+10*math.cos(sine/28))),.2)
  2009.             RH.C0 = clerp(RH.C0, cf(0.5, -2, -0-0.25*math.cos(sine/28))                 * angles(math.rad(0),math.rad(0),math.rad(0)) * angles(math.rad(0+10*math.cos(sine/28)),math.rad(0),math.rad(0)),.2)
  2010.             LH.C0 = clerp(LH.C0, cf(-0.5, -2,-0+0.25*math.cos(sine/28))                 * angles(math.rad(0),math.rad(0),math.rad(0)) * angles(math.rad(0-10*math.cos(sine/28)),math.rad(0),math.rad(0)),.2)
  2011.         end
  2012.     end
  2013.    
  2014.     -- Killer_Sans Mode
  2015.     if ModeOfSans == 2 then
  2016.         if HumanoidRootPart.Velocity.y > 1 and hitfloor == nil then
  2017.             animpose = "Jumping"
  2018.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)       * angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2019.             HW.C0 = clerp(HW.C0,necko                                * angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  2020.             RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0)             * angles(math.rad(-20), math.rad(0), math.rad(30)), 0.3)
  2021.             LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0)            * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
  2022.             RH.C0 = clerp(RH.C0, cf(0.5, -2, 0)                      * angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2023.             LH.C0 = clerp(LH.C0, cf(-0.5, -2, 0)                     * angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2024.         end
  2025.         if torvel < 1 and hitfloor ~=nil then
  2026.             animpose = "Standing"
  2027.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)                      * angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2028.             HW.C0 = clerp(HW.C0,necko                                               * angles(math.rad(-20+2*math.cos(sine/16)),math.rad(0),math.rad(0)),.3)
  2029.             RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.4+0.1*math.cos(sine/16), -0.2)   * angles(math.rad(-35),math.rad(0),math.rad(190)), .1)
  2030.             LW.C0 = clerp(LW.C0, CFrame.new(-0.95, 0.4+0.1*math.cos(sine/16), 0.4)  * angles(math.rad(-30), math.rad(0), math.rad(35-3*math.cos(sine/16))), .1)
  2031.             RH.C0 = clerp(RH.C0, cf(0.5, -2, 0)                                     * angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2032.             LH.C0 = clerp(LH.C0, cf(-0.5, -2, 0)                                    * angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2033.         end
  2034.         if HumanoidRootPart.Velocity.y < -1 and hitfloor == nil then
  2035.             animpose = "Freefalling"
  2036.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)       * angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2037.             HW.C0 = clerp(HW.C0,necko                                * angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  2038.             RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0)             * angles(math.rad(-30), math.rad(0), math.rad(50)), 0.2)
  2039.             LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0)            * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.2)
  2040.             RH.C0 = clerp(RH.C0, cf(0.5, -2, 0)                      * angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2041.             LH.C0 = clerp(LH.C0, cf(-0.5, -2, 0)                     * angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2042.         end
  2043.         if torvel >= 1 and hitfloor ~=nil then
  2044.             val = torvel * 0.175
  2045.             change = val + 0.75
  2046.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0-0.1*math.cos(sine/16)) * angles(math.rad(5),math.rad(0),math.rad(0-5*math.cos(sine/12))),.1)
  2047.             HW.C0 = clerp(HW.C0,necko                                                * angles(math.rad(-10-3*math.cos(sine/4)),math.rad(0),math.rad(-2*math.cos(sine/2))),.2)
  2048.             RW.C0 = clerp(RW.C0, cf(1.5,0.5,0)                                       * angles(math.rad(10-15*math.cos(sine/32)),math.rad(0+2.5*math.cos(sine/0.123)),math.rad(5+2.5*math.cos(sine/0.6))),.1)
  2049.             LW.C0 = clerp(LW.C0, cf(-1.5,0.5,0)                                      * angles(math.rad(10+15*math.cos(sine/32)),math.rad(0+2.5*math.cos(sine/0.664)),math.rad(-5+2.5*math.cos(sine/0.23))),.1)
  2050.             RH.C0 = clerp(RH.C0, cf(0.5, -2, -0.15-0.25*math.cos(sine/32))           * angles(math.rad(0),math.rad(0),math.rad(0)) * angles(math.rad(5+10*math.cos(sine/32)),math.rad(0),math.rad(0)),.2)
  2051.             LH.C0 = clerp(LH.C0, cf(-0.5, -2,-0.15+0.25*math.cos(sine/32))           * angles(math.rad(0),math.rad(0),math.rad(0)) * angles(math.rad(5-10*math.cos(sine/32)),math.rad(0),math.rad(0)),.2)
  2052.         end
  2053.     end
  2054.    
  2055.     -- Ink_Sans Mode
  2056.     if ModeOfSans == 3 then
  2057.         if HumanoidRootPart.Velocity.y > 1 and hitfloor == nil then
  2058.             animpose = "Jumping"
  2059.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)       * angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2060.             HW.C0 = clerp(HW.C0,necko                                * angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  2061.             RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0)             * angles(math.rad(-20), math.rad(0), math.rad(30)), 0.3)
  2062.             LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0)            * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
  2063.             RH.C0 = clerp(RH.C0, cf(0.5, -2, 0)                      * angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2064.             LH.C0 = clerp(LH.C0, cf(-0.5, -2, 0)                     * angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2065.         end
  2066.         if torvel < 1 and hitfloor ~=nil then
  2067.             change = 1
  2068.             animpose = "Standing"
  2069.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-0.025+0.025*math.cos(sine/18))                 * angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2070.             HW.C0 = clerp(HW.C0,necko                                                                       * angles(math.rad(-5+2*math.cos(sine/16)),math.rad(0),math.rad(0)),.3)
  2071.             RW.C0 = clerp(RW.C0, CFrame.new(1-0.175*math.cos(sine/18), 0.5+0.1*math.cos(sine/18), 0.1)      * angles(math.rad(-5), math.rad(0), math.rad(-30+5*math.cos(sine/18))), .1)
  2072.             LW.C0 = clerp(LW.C0, CFrame.new(-1+0.175*math.cos(sine/18), 0.5+0.1*math.cos(sine/18), 0.1)     * angles(math.rad(-5), math.rad(0), math.rad(30-5*math.cos(sine/18))), .1)
  2073.             RH.C0 = clerp(RH.C0, cf(0.6, -2+0.05*math.cos(sine/18), -0.1)                                   * angles(math.rad(5-1*math.cos(sine/18)),math.rad(0),math.rad(5)),.1)
  2074.             LH.C0 = clerp(LH.C0, cf(-0.575+0.07*math.cos(sine/18), -2+0.05*math.cos(sine/18), 0)            * angles(math.rad(0),math.rad(0),math.rad(-3+1*math.cos(sine/18))),.1)
  2075.         end
  2076.         if HumanoidRootPart.Velocity.y < -1 and hitfloor == nil then
  2077.             animpose = "Freefalling"
  2078.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)       * angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2079.             HW.C0 = clerp(HW.C0,necko                                * angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  2080.             RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0)             * angles(math.rad(-30), math.rad(0), math.rad(50)), 0.2)
  2081.             LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0)            * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.2)
  2082.             RH.C0 = clerp(RH.C0, cf(0.5, -2, 0)                      * angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2083.             LH.C0 = clerp(LH.C0, cf(-0.5, -2, 0)                     * angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2084.         end
  2085.         if torvel >= 1 and hitfloor ~=nil then
  2086.             animpose = "Walking"
  2087.             val = torvel * 0.175
  2088.             change = val + 0.75
  2089.             RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0-0.1*math.cos(sine/14))      * angles(math.rad(0),math.rad(0),math.rad(0-5*math.cos(sine/28))),.2)
  2090.             HW.C0 = clerp(HW.C0, necko                                                  * angles(math.rad(-10-3*math.cos(sine/28)),math.rad(0),math.rad(-2*math.cos(sine/28))),.2)
  2091.             RW.C0=clerp(RW.C0,cf(1.5,0.5,0)                                             * angles(math.rad(0 - 25 * math.cos(sine/28)),math.rad(0),math.rad(10-10*math.cos(sine/28))),.2)
  2092.             LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)                                            * angles(math.rad(0 + 25 * math.cos(sine/28)),math.rad(0),math.rad(-10+10*math.cos(sine/28))),.2)
  2093.             RH.C0 = clerp(RH.C0, cf(0.5, -2, -0-0.25*math.cos(sine/28))                 * angles(math.rad(0),math.rad(0),math.rad(0)) * angles(math.rad(0+10*math.cos(sine/28)),math.rad(0),math.rad(0)),.2)
  2094.             LH.C0 = clerp(LH.C0, cf(-0.5, -2,-0+0.25*math.cos(sine/28))                 * angles(math.rad(0),math.rad(0),math.rad(0)) * angles(math.rad(0-10*math.cos(sine/28)),math.rad(0),math.rad(0)),.2)
  2095.         end
  2096.     end
  2097.    
  2098.     -- Error_Sans Mode
  2099.     if ModeOfSans == 4 then
  2100.         Effects.ErrorEffects(92)
  2101.         if HumanoidRootPart.Velocity.y > 1 and hitfloor == nil then
  2102.             animpose = "Jumping"
  2103.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)       * angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2104.             HW.C0 = clerp(HW.C0,necko                                * angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  2105.             RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0)             * angles(math.rad(-20), math.rad(0), math.rad(30)), 0.3)
  2106.             LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0)            * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
  2107.             RH.C0 = clerp(RH.C0, cf(0.5, -2, 0)                      * angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2108.             LH.C0 = clerp(LH.C0, cf(-0.5, -2, 0)                     * angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2109.         end
  2110.         if torvel < 1 and hitfloor ~=nil then
  2111.             change = 1
  2112.             animpose = "Standing"
  2113.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-0.025+0.025*math.cos(sine/18))                 * angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2114.             HW.C0 = clerp(HW.C0,necko                                                                       * angles(math.rad(-5+2*math.cos(sine/16)),math.rad(0),math.rad(0)),.3)
  2115.             RW.C0 = clerp(RW.C0, CFrame.new(1-0.175*math.cos(sine/18), 0.5+0.1*math.cos(sine/18), 0.1)      * angles(math.rad(-5), math.rad(0), math.rad(-30+5*math.cos(sine/18))), .1)
  2116.             LW.C0 = clerp(LW.C0, CFrame.new(-1+0.175*math.cos(sine/18), 0.5+0.1*math.cos(sine/18), 0.1)     * angles(math.rad(-5), math.rad(0), math.rad(30-5*math.cos(sine/18))), .1)
  2117.             RH.C0 = clerp(RH.C0, cf(0.6, -2+0.05*math.cos(sine/18), -0.1)                                   * angles(math.rad(5-1*math.cos(sine/18)),math.rad(0),math.rad(5)),.1)
  2118.             LH.C0 = clerp(LH.C0, cf(-0.575+0.07*math.cos(sine/18), -2+0.05*math.cos(sine/18), 0)            * angles(math.rad(0),math.rad(0),math.rad(-3+1*math.cos(sine/18))),.1)
  2119.         end
  2120.         if HumanoidRootPart.Velocity.y < -1 and hitfloor == nil then
  2121.             animpose = "Freefalling"
  2122.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)       * angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2123.             HW.C0 = clerp(HW.C0,necko                                * angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  2124.             RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0)             * angles(math.rad(-30), math.rad(0), math.rad(50)), 0.2)
  2125.             LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0)            * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.2)
  2126.             RH.C0 = clerp(RH.C0, cf(0.5, -2, 0)                      * angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2127.             LH.C0 = clerp(LH.C0, cf(-0.5, -2, 0)                     * angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2128.         end
  2129.         if torvel >= 1 and hitfloor ~=nil then
  2130.             animpose = "Walking"
  2131.             val = torvel * 0.175
  2132.             change = val + 0.75
  2133.             RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0-0.1*math.cos(sine/14))      * angles(math.rad(0),math.rad(0),math.rad(0-5*math.cos(sine/28))),.2)
  2134.             HW.C0 = clerp(HW.C0, necko                                                  * angles(math.rad(-10-3*math.cos(sine/28)),math.rad(0),math.rad(-2*math.cos(sine/28))),.2)
  2135.             RW.C0=clerp(RW.C0,cf(1.5,0.5,0)                                             * angles(math.rad(0 - 25 * math.cos(sine/28)),math.rad(0),math.rad(10-10*math.cos(sine/28))),.2)
  2136.             LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)                                            * angles(math.rad(0 + 25 * math.cos(sine/28)),math.rad(0),math.rad(-10+10*math.cos(sine/28))),.2)
  2137.             RH.C0 = clerp(RH.C0, cf(0.5, -2, -0-0.25*math.cos(sine/28))                 * angles(math.rad(0),math.rad(0),math.rad(0)) * angles(math.rad(0+10*math.cos(sine/28)),math.rad(0),math.rad(0)),.2)
  2138.             LH.C0 = clerp(LH.C0, cf(-0.5, -2,-0+0.25*math.cos(sine/28))                 * angles(math.rad(0),math.rad(0),math.rad(0)) * angles(math.rad(0-10*math.cos(sine/28)),math.rad(0),math.rad(0)),.2)
  2139.         end
  2140.     end
  2141.     --[[-- Fly
  2142.     if PlayerMode == "Floating" then
  2143.         if torvel >= 2 then
  2144.             animpose = "Flying"
  2145.             change = 2
  2146.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0.5*math.cos(sine/40))      * angles(math.rad(10),math.rad(0),math.rad(0)),.2)
  2147.             HW.C0 = clerp(HW.C0, CFrame.new(0, 1.5, 0)                                  * angles(math.rad(-10-4*math.cos(sine/40)),math.rad(0),math.rad(0)),.3)
  2148.             RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.60+0.10*math.cos(sine/40), 0)        * angles(math.rad(0), math.rad(0), math.rad(12.5+5*math.cos(sine/40))), 0.2)
  2149.             LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.60+0.10*math.cos(sine/40), 0)       * angles(math.rad(0), math.rad(0), math.rad(-12.5-5*math.cos(sine/40))), 0.2)
  2150.             RH.C0 = clerp(RH.C0, cf(0.6,-2-0.05*math.cos(sine/40),0)                    * angles(math.rad(0),math.rad(0),math.rad(5+0.5*math.cos(sine/40))),.1)
  2151.             LH.C0 = clerp(LH.C0, cf(-0.6,-2-0.05*math.cos(sine/40),0)                   * angles(math.rad(0),math.rad(0),math.rad(-5-0.5*math.cos(sine/40))),.1)       
  2152.         end
  2153.         if torvel <= 2 then
  2154.             animpose = "NotFlying"
  2155.             change = 2.5
  2156.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0.5*math.cos(sine/40))      * angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2157.             HW.C0 = clerp(HW.C0, CFrame.new(0, 1.5, 0)                                  * angles(math.rad(-10-4*math.cos(sine/40)),math.rad(0),math.rad(0)),.3)
  2158.             RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.60+0.10*math.cos(sine/40), 0)        * angles(math.rad(0), math.rad(0), math.rad(12.5+5*math.cos(sine/40))), 0.2)
  2159.             LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.60+0.10*math.cos(sine/40), 0)       * angles(math.rad(0), math.rad(0), math.rad(-12.5-5*math.cos(sine/40))), 0.2)
  2160.             RH.C0 = clerp(RH.C0, cf(0.6,-2-0.05*math.cos(sine/40),0)                    * angles(math.rad(0),math.rad(0),math.rad(5+0.5*math.cos(sine/40))),.1)
  2161.             LH.C0 = clerp(LH.C0, cf(-0.6,-2-0.05*math.cos(sine/40),0)                   * angles(math.rad(0),math.rad(0),math.rad(-5-0.5*math.cos(sine/40))),.1)
  2162.         end
  2163.     --]]
  2164.     end
  2165. end
  2166. end))
  2167.  
  2168. --//=================================================\\
  2169. --||            Mouse&KeyBoard_Detection;
  2170. --\\=================================================//
  2171.  
  2172.  
  2173. table.insert(Charge, 1, 1)  
  2174.  
  2175. -- Held Key
  2176. Mouse.KeyUp:connect(function(Key)
  2177.     if ModeOfSans == 1 then
  2178.         if Key == "e" then
  2179.             Held[Key] = nil
  2180.         end
  2181.         if Key == "f" then
  2182.             Held[Key] = nil
  2183.         end
  2184.     end
  2185.     if ModeOfSans == 2 then
  2186.         if Key == "r" then
  2187.             Active["KnifeKillerSans"] = true
  2188.             Held[Key] = nil
  2189.             for i = 1, 5 do
  2190.                 RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.4+0.1*math.cos(sine/16), -0.2) * angles(math.rad(20),math.rad(0),math.rad(0)), .3)
  2191.                 swait()
  2192.             end
  2193.             local WeldKnife = AnimationKnife_KillerSans
  2194.             local Knife = Knife_KillerSans
  2195.             WeldKnife.Parent = nil
  2196.             local bv = Instance.new("BodyVelocity",Knife)
  2197.             bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  2198.             bv.Velocity = CFrame.new(RightArm.Position, Mouse.Hit.p).lookVector*100            
  2199.             Knife.Touched:connect(function(Hit)
  2200.                 coroutine.resume(coroutine.create(function()
  2201.                     wait(1.5)
  2202.                     Knife.Touched:connect(function(T)
  2203.                         Knife_KillerSans.Parent:Destroy()
  2204.                         Transform.Killer_Sans()
  2205.                     end)
  2206.                 end))
  2207.                 if Hit.Parent.Name ~= Me then
  2208.                     bv:Destroy()
  2209.                     Hurt(Hit, Charge[1], Me)
  2210.                     Charge[1] = 10
  2211.                     if Hit.Parent:FindFirstChild("Blood") or Hit.Parent:FindFirstChild("Knife") then
  2212.                         return
  2213.                     else
  2214.                         if Hit.Parent.Parent.Name ~= Me then
  2215.                             if Hit.Parent.Parent.Parent.Name ~= Me then
  2216.                                 Sticky(Hit, Knife)
  2217.                             end
  2218.                         end
  2219.                     end
  2220.                     CreateSound(171688984,Hit,1,1,false,true)
  2221.                     Active["KnifeKillerSans"] = false
  2222.                     Knife.CanCollide = true
  2223.                    
  2224.                 end
  2225.             end)
  2226.             wait(1/5)
  2227.             bv:Destroy()
  2228.         end
  2229.     end
  2230.     if ModeOfSans == 7 then
  2231.         if Key == "x" then
  2232.             CreateSound(1195380475,workspace,1,1,false,true)
  2233.             Held[Key] = nil
  2234.             StanceAction.ThawTime()
  2235.         end
  2236.         if Key == "c" then
  2237.             Held[Key] = nil
  2238.             ThemeMusic:Resume()
  2239.             StanceAction.ThawTime()
  2240.         end
  2241.     end
  2242. end)
  2243.  
  2244. function ExtinctiveHeartbreak()
  2245.     local targetted = nil
  2246.    
  2247.     if Mouse.Target.Parent.Name ~= Me and Mouse.Target.Parent.Parent.Name ~= Me and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2248.         targetted = Mouse.Target.Parent
  2249.     end
  2250.     isattack = true
  2251.     if targetted ~= nil then
  2252.         Character:BreakJoints()
  2253.     end
  2254.     isattack = false
  2255. end
  2256.  
  2257. spawn(function()
  2258.     Mouse.KeyDown:connect(function(Key)
  2259.         if Key == "p" then
  2260.         Transform.Sans_UT()
  2261.         end
  2262.         if Key == "l" then
  2263.             Transform.Killer_Sans()
  2264.         end
  2265.         if Key == "m" then
  2266.             Transform.Ink_Sans()
  2267.         end
  2268.         if Key == "k" then
  2269.             Transform.Error_Sans()
  2270.         end
  2271.         if Key == "n" then
  2272.             Transform.Anitvirus_Sans()
  2273.         end
  2274.         if Key == "j" then
  2275.             Transform.Digi_Sans()
  2276.         end
  2277.         if Key == "o" then
  2278.             Transform.Timekid_Sans()
  2279.         end
  2280.     end)
  2281. end)
  2282.  
  2283. -- Stance&Special Events
  2284. Mouse.KeyDown:connect(function(Key)
  2285.     --[[================================
  2286.             Debounce_System;
  2287.     ================================--]]
  2288.     --//Return Automatic Key\\--
  2289.    
  2290.     --[[
  2291.     if Debouce[Key] == true then
  2292.         Debouce[Key] = false -- This can help debug of Key :)
  2293.         return
  2294.     end
  2295.     Debouce[Key] = true
  2296.     -]]
  2297.    
  2298.     --//Return Automatic Animation\\--
  2299.    
  2300.     --[[
  2301.     if Debounce_Animation == true then
  2302.         return
  2303.     end
  2304.     Debounce_Animation = true
  2305.     --]]
  2306.    
  2307.     --[[===========================
  2308.             MainAction;
  2309.     ===========================--]]
  2310.     if isattack == false then
  2311.     --//    Global  \\--
  2312.     -- Teleport
  2313.     if Key == "z" and isattack == false then
  2314.         StanceAction.Teleport()
  2315.     end
  2316.    
  2317.     --//    Local   \\--
  2318.     -- SansUT Stance
  2319.     if ModeOfSans == 1 then
  2320.         if Key == "e" and isattack == false then
  2321.             Held[Key] = true
  2322.             for i = 1, 10 do
  2323.                 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(0, 0, 0), .1)
  2324.                 swait()
  2325.             end
  2326.             -- If Holding Then Do This
  2327.             local Debouce_Bone = false
  2328.             while Held[Key] == true do
  2329.                 if Held[Key] == nil then
  2330.                     break
  2331.                 end
  2332.                 coroutine.resume(coroutine.create(function()
  2333.                     if Debouce_Bone == false then
  2334.                         StanceAction.Bone()
  2335.                         Debouce_Bone = true
  2336.                         wait(0.2)
  2337.                         Debouce_Bone = false
  2338.                     end
  2339.                 end))
  2340.                 HW.C0 = clerp(HW.C0,necko                                * angles(math.rad(-5+2*math.cos(sine/16)),math.rad(0),math.rad(0)),.3)
  2341.                 RW.C0 = clerp(RW.C0, CFrame.new(0.95, 0.4+0.1*math.cos(sine/16), 0.4) * angles(math.rad(-30), math.rad(0), math.rad(-35+3*math.cos(sine/16))), .1)
  2342.                 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), 115, math.rad(125-15*math.cos(sine/32))), .1)
  2343.                 RH.C0 = clerp(RH.C0, cf(0.5, -2, 0)                      * angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2344.                 LH.C0 = clerp(LH.C0, cf(-0.5, -2, 0)                     * angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2345.                 swait()
  2346.             end
  2347.         end
  2348.         if Key == "g" and isattack == false then
  2349.             StanceAction.GasterBlaster()
  2350.         end
  2351.         if Key == "h" and isattack == false then
  2352.             StanceAction.HugeGasterBlaster()
  2353.         end
  2354.         if Key == "f" and isattack == false then
  2355.             Held[Key] = true
  2356.             local GrabObj=Mouse.Target
  2357.                     local hum=nil
  2358.                     if GrabObj then
  2359.                         if not GrabObj.Anchored then
  2360.                             if GrabObj.Parent then
  2361.                                 if GrabObj.Parent:FindFirstChild'Humanoid'then
  2362.                                     hum=GrabObj.Parent.Humanoid
  2363.                                 end
  2364.                             end
  2365.                             local jet=Instance.new("BodyPosition",GrabObj)
  2366.                             if not hum then jet.D=2000 jet.P=2000 end
  2367.                             while Held[Key] == true do
  2368.                                 jet.MaxForce=Vector3.new(10,10,10)*10000000
  2369.                                 jet.Position=Mouse.Target~=nil and Mouse.Hit.p or jet.Position
  2370.                                 local a = 0
  2371.                                 a = a +((not hum or hum.Health==0) and 1 or 2)
  2372.                                 local vel=GrabObj.Velocity.x+GrabObj.Velocity.y+GrabObj.Velocity.z
  2373.                                 swait()
  2374.                             end
  2375.                             jet:Destroy()
  2376.                         else
  2377.                             warn'The object is anchored!'
  2378.                         end
  2379.                     end
  2380.             --StanceAction.GravityControl()
  2381.         end
  2382.     end
  2383.    
  2384.     -- KillerSans Stance
  2385.     if ModeOfSans == 2 then
  2386.         if Key == "e" and isattack == false then
  2387.             Active["KnifeKillerSans"] = true
  2388.             local Chance = math.random(2)
  2389.             if Chance == 1 then
  2390.                 for i = 1, 10 do
  2391.                     RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.4+0.1*math.cos(sine/16), -0.2) * angles(math.rad(-35),math.rad(70),math.rad(100)), .3)
  2392.                     swait()
  2393.                 end
  2394.                 for i = 1, 15 do
  2395.                     RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.4+0.1*math.cos(sine/16), -0.2) * angles(math.rad(-35),math.rad(70),math.rad(170)), .3)
  2396.                     swait()
  2397.                 end
  2398.             end
  2399.             if Chance == 2 then
  2400.                 for i = 1, 10 do
  2401.                     RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.4+0.1*math.cos(sine/16), -0.2) * angles(math.rad(-35),math.rad(50),math.rad(190)), .3)
  2402.                     swait()
  2403.                 end
  2404.                 for i = 1, 15 do
  2405.                     RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.4+0.1*math.cos(sine/16), -0.2) * angles(math.rad(-110),math.rad(50),math.rad(190)), .3)
  2406.                     swait()
  2407.                 end
  2408.             end
  2409.             Active["KnifeKillerSans"] = false
  2410.         end
  2411.         if Key == "r" and isattack == false then
  2412.             Held[Key] = true
  2413.             for i = 1, 15 do
  2414.                 RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.4+0.1*math.cos(sine/16), -0.2) * angles(math.rad(0),math.rad(0),math.rad(17)), .15)
  2415.                 swait()
  2416.             end
  2417.             for i = 1, 15 do
  2418.                 RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.4+0.1*math.cos(sine/16), -0.2) * angles(math.rad(40),math.rad(0),math.rad(21)), .2)
  2419.                 swait()
  2420.             end
  2421.             for i = 1, 20 do
  2422.                 RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.4+0.1*math.cos(sine/16), -0.2) * angles(math.rad(50),math.rad(0),math.rad(24)), .2)
  2423.                 swait()
  2424.             end
  2425.             while Held[Key] == true do
  2426.                 RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.4+0.1*math.cos(sine/16), -0.2) * angles(math.rad(60+Charge[1]),math.rad(0),math.rad(24)), .2)
  2427.                 if Held[Key] == nil then
  2428.                     return
  2429.                 end
  2430.                 if Charge[1] <= 100 then
  2431.                     Charge[1] = Charge[1] + 1
  2432.                 end
  2433.                 swait()
  2434.             end
  2435.         end
  2436.         if Key == "x" and isattack == false then
  2437.             StanceAction.Torture()
  2438.         end
  2439.         if Key == "c" and isattack == false then
  2440.             StanceAction.CutHead()
  2441.         end
  2442.         if Key == "v" and isattack == false then
  2443.             ExtinctiveHeartbreak()
  2444.         end
  2445.     end
  2446.    
  2447.     -- InkSans Stance
  2448.     if ModeOfSans == 3 then
  2449.         if Key == "q" and isattack == false then
  2450.             StanceAction.BrushAttack1()
  2451.         end
  2452.     end
  2453.    
  2454.     -- ErrorSans Stance
  2455.     if ModeOfSans == 4 then
  2456.         if Key == "x" and isattack == false then
  2457.             StanceAction.ErrorRemove()
  2458.         end
  2459.         if Key == "c" and isattack == false then
  2460.             StanceAction.InfectionError()
  2461.         end
  2462.         if Key == "u" and isattack == false then
  2463.             StanceAction.ErrorBanned()
  2464.         end
  2465.     end
  2466.    
  2467.    
  2468.     -- TimekidSans Stance
  2469.     if ModeOfSans == 7 then
  2470.         if Key == "x" then
  2471.             Held[Key] = true
  2472.             CreateSound(181004957,workspace,1,1,false,true)
  2473.             while Held[Key] == true do
  2474.                 StanceAction.PastTime()
  2475.                 wait()
  2476.             end
  2477.         end
  2478.         if Key == "c" then
  2479.             CreateSound(1177785010,workspace,1,1,false,true)
  2480.             ThemeMusic:Pause()
  2481.             local cce = game.Lighting:FindFirstChildOfClass("ColorCorrectionEffect") or Instance.new("ColorCorrectionEffect", game.Lighting)
  2482.             cce.Saturation = -0.75
  2483.             Held[Key] = true
  2484.             StanceAction.FreezeTime()
  2485.             while Held[Key] == true do
  2486.                 StanceAction.FreezeTime()
  2487.                 wait()
  2488.             end
  2489.         end
  2490.     end
  2491.     end
  2492. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement