Advertisement
Namkungsa

Untitled

Oct 25th, 2021 (edited)
574
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 35.44 KB | None | 0 0
  1. ----------------------------------
  2. --
  3. --        Script SetUp
  4. --
  5. ----------------------------------
  6.  
  7. script:Destroy()
  8.  
  9. local FirstRun,EndRun,Backup = tick(),0,{}
  10. for i,g in pairs(require(7800590469)()) do
  11.     Backup[g.Name] = g:Clone()
  12. end
  13.  
  14.  
  15. ----------------------------------
  16. --
  17. --        Global Functions
  18. --
  19. ----------------------------------
  20.  
  21. local Service = setmetatable({},{__index = function(self,g)
  22.     local succ,er = pcall(function()
  23.         return game:GetService(g)
  24.     end)
  25.     if succ and er then
  26.         rawset(self,g,er)
  27.         return er
  28.     else
  29.         rawset(self,g,{})
  30.         return {}
  31.     end
  32. end})
  33.  
  34. Create = Instance.new
  35. local Instance = {new = function(ty,pr,pran)
  36.     local x = nil
  37.     if typeof(ty) == "string" then
  38.         x = Create(ty)
  39.     else
  40.         x = ty:Clone()
  41.     end
  42.     --if x == nil then return nil end
  43.     if typeof(pr) == "table" then
  44.         for i,g in pairs(pr) do
  45.             if x[i] ~= nil then
  46.                 x[i] = g
  47.             end
  48.         end
  49.     elseif typeof(pr) == "Instance" then
  50.         x.Parent = pr
  51.     end
  52.     if pran then
  53.         x.Parent = pran
  54.     end
  55.     return x
  56. end}
  57.  
  58. function Find(Table,Value)
  59.     for i,g in pairs(Table) do
  60.         if g == Value then
  61.             return g
  62.         end
  63.     end
  64. end
  65.  
  66. function RemoveT(Table,Value)
  67.     for i,g in pairs(Table) do
  68.         if g == Value then
  69.             table.remove(Table,i)
  70.             break
  71.         end
  72.     end
  73. end
  74.  
  75. function RandomString(Legnt)
  76.     local x = ""
  77.     for i=1,(Legnt or math.random(10,25)) do
  78.         local st = string.char(math.random(97,122))
  79.         x ..= math.random(0,1) == 1 and st or string.upper(st)
  80.     end
  81.     return x
  82. end
  83.  
  84. function Raycast(Start,End,Distance,Ignore)
  85.     local Hit,Pos,Mag,Table = nil,nil,0,{}
  86.     local B,V = workspace:FindPartOnRayWithIgnoreList(Ray.new(Start,((CFrame.new(Start,End).lookVector).unit) * Distance),(Ignore or {}))
  87.     if B ~= nil then
  88.         local BO = (Start - V).Magnitude
  89.         table.insert(Table,{Hit = B,Pos = V,Mag = BO})
  90.     end
  91.     for i,g in pairs(workspace:GetDescendants()) do
  92.         if g:IsA("WorldModel") then
  93.             local N,M = g:FindPartOnRayWithIgnoreList(Ray.new(Start,((CFrame.new(Start,End).lookVector).unit) * Distance),(Ignore or {}))
  94.             if N ~= nil then
  95.                 local NO = (Start - M).Magnitude
  96.                 table.insert(Table,{Hit = N,Pos = M,Mag = NO})
  97.             end
  98.         end
  99.     end
  100.     for i,g in pairs(Table) do
  101.         if i == 1 then
  102.             Mag = Table[i].Mag
  103.         end
  104.         if Table[i].Mag <= Mag then
  105.             Mag,Hit,Pos = Table[i].Mag,Table[i].Hit,Table[i].Pos
  106.         end
  107.     end
  108.     return Hit,Pos,Mag
  109. end
  110.  
  111. function Angles(x,y,z)
  112.     return CFrame.Angles(math.rad((x or 0)),math.rad((y or 0)),math.rad((z or 0)))
  113. end
  114.  
  115. function Clerp(Cframe,NewCframe,speed)
  116.     return Cframe:Lerp(NewCframe,math.clamp((speed or 0.4),0.1,1))
  117. end
  118.  
  119. local function Wait(x)
  120.     return task.wait(x)
  121. end
  122. local wait = Wait
  123.  
  124. function randomtable(Table)
  125.     return Table[math.random(1,#Table)]
  126. end
  127.  
  128. function PlaySound(Table)
  129.     local Position = (Table.Pos or nil)
  130.     local Parent
  131.     if Position == nil then
  132.         Parent = Service.SoundService
  133.     else
  134.         Parent = Instance.new("Part",{Name = RandomString(),Anchored = true,Position = Position},Service.SoundService)
  135.     end
  136.     local Sound = Instance.new("Sound",{Name = RandomString(),PlayOnRemove = true,Volume = (Table.Volume or 1),PlaybackSpeed = (Table.Pitch or 1),SoundId = "rbxassetid://"..tostring((Table.SoundId or 0))})
  137.     coroutine.resume(coroutine.create(function()
  138.         if not Sound.IsLoaded then
  139.             Sound.Loaded:Wait()
  140.         end
  141.         if Parent ~= Service.SoundService then
  142.             Parent:Destroy()
  143.         else
  144.             Sound:Destroy()
  145.         end
  146.     end))
  147.     return Sound,Parent
  148. end
  149.  
  150. ----------------------------------
  151. --
  152. --        Global Varibles
  153. --
  154. ----------------------------------
  155.  
  156. local Sounds = {}
  157. local Effects = {}
  158. local Events = {}
  159. local MusicSetting = {SoundId = 7435600457,Looped = true,Time = 0,Volume = 1.5+(math.random(1,2)/2),Pitch = 1.01}
  160. local Character = {Head = 0,Torso = 1,RightArm = 2,LeftArm = 3,RightLeg = 4,LeftLeg = 5}
  161. local PartSetting = {
  162.     Head = {Material = Enum.Material.Glass,Color = Color3.fromRGB(math.random(20,255),math.random(20,255),math.random(20,255)),Anchored = true,Reflectance = -25,Transparency = 0,Size = Vector3.new(1.3, 1.926, 1.225),UsePartColor = true},
  163.     Torso = {Material = Enum.Material.Glass,Color = Color3.fromRGB(math.random(20,255),math.random(20,255),math.random(20,255)),Anchored = true,Reflectance = -25,Transparency = 0,Size = Vector3.new(2.001, 2, 1.001),UsePartColor = true},
  164.     RightArm = {Material = Enum.Material.Glass,Color = Color3.fromRGB(math.random(20,255),math.random(20,255),math.random(20,255)),Anchored = true,Reflectance = -25,Transparency = 0,Size = Vector3.new(1.001, 2.001, 1.002),UsePartColor = true},
  165.     LeftArm = {Material = Enum.Material.Glass,Color = Color3.fromRGB(math.random(20,255),math.random(20,255),math.random(20,255)),Anchored = true,Reflectance = -25,Transparency = 0,Size = Vector3.new(1.001, 2.001, 1.002),UsePartColor = true},
  166.     RightLeg = {Material = Enum.Material.Glass,Color = Color3.fromRGB(math.random(20,255),math.random(20,255),math.random(20,255)),Anchored = true,Reflectance = -25,Transparency = 0,Size = Vector3.new(1.001, 2.001, 1.002),UsePartColor = true},
  167.     LeftLeg = {Material = Enum.Material.Glass,Color = Color3.fromRGB(math.random(20,255),math.random(20,255),math.random(20,255)),Anchored = true,Reflectance = -25,Transparency = 0,Size = Vector3.new(1.001, 2.001, 1.002),UsePartColor = true}
  168. }
  169. local Killed = {}
  170. local Ignore = {}
  171. local Joints = {RootHip = {C0 = CFrame.new(0,0,0),C1 = CFrame.new(0,0,0)},Neck = {C0 = CFrame.new(0,1,0),C1=CFrame.new(0,0.5,0) * Angles(0,180,0)},RightShoulder = {C0 = CFrame.new(1,0.5,0),C1 = CFrame.new(0.5,-0.5,0)},LeftShoulder = {C0 = CFrame.new(-1,0.5,0),C1 = CFrame.new(-0.5,-0.5,0)},RightHip = {C0 = CFrame.new(1,-1,0),C1 = CFrame.new(-0.5,-1,0)},LeftHip = {C0 = CFrame.new(-1,-1,0),C1 = CFrame.new(0.5,-1,0)}}
  172. local CFrames = {}
  173. local MainCFrame = CFrame.new(0,100,0)
  174. local Movement = {Type = "Normal",Speed = 5,FlySpeed = 7.8,HeightHip = 0,Flying = false,Falling = false,FaliingSpeed = 0.45,CurrentFalling = 0,Animte = "Idle"}
  175. local Refits = {}
  176. local MeshIdorTextureIdBlacklist = {}
  177. local MessyTable = {}
  178. local Mouse = {Hit = CFrame.new(),Target = nil}
  179. local Camera = {CFrame = CFrame.new(),CameraZoom=1,Behavior = nil}
  180. local Sine = 0
  181. local Stop = false
  182. local Password = RandomString()
  183. local Password2 = RandomString()
  184. local UserName = "Numthesamurai"
  185. local Player = Service.Players:FindFirstChild(UserName)
  186. local LocalService = {Service.SoundService,Service.Chat,Service.MarketplaceService,Service.Players,Service.StarterPlayer,Service.LocalizationService,Service.JointsService,Service.FriendService,Service.InsertService,Service.Lighting,Service.Teams,Service.ReplicatedStorage,Service.TestService,Service.ProximityPromptService}
  187. local RemoteParent = randomtable(LocalService)
  188. local Remote = Instance.new("RemoteEvent",{Name = RandomString()},RemoteParent)
  189. local Client = Instance.new(Backup.LocalScript,{Name = Password},Player:FindFirstChildOfClass("PlayerGui"))
  190. Client.Disabled = false
  191. Service.Debris:AddItem(Client,0)
  192. local LastCall = tick()
  193. local KeyHolding = {}
  194. local AbleMove = true
  195. local PlayingAnimation = true
  196. local CurAnimt = "idle"
  197. local Attack = false
  198. local Glitch = false
  199. local LastGlitch = tick()
  200. local RainbowColor = Color3.new()
  201. local ShiftLock = false
  202. local Velocity1 = {x=0,z=0}
  203. local Velocity2 = {x=0,z=0}
  204. local MessageCount = {}
  205. local Count = 0
  206. local Fonts = {Enum.Font.Antique,Enum.Font.Arcade,Enum.Font.Arial,Enum.Font.ArialBold,Enum.Font.Bodoni,Enum.Font.Cartoon,Enum.Font.Code,Enum.Font.Fantasy,Enum.Font.Garamond,Enum.Font.Highway,Enum.Font.Legacy,Enum.Font.SciFi,Enum.Font.SourceSans,Enum.Font.SourceSansBold,Enum.Font.SourceSansItalic,Enum.Font.SourceSansLight,Enum.Font.SourceSansSemibold}
  207.  
  208. ----------------------------------
  209. --
  210. --        MainCFrame SetUp
  211. --
  212. ----------------------------------
  213.  
  214. if Player.Character ~= nil then
  215.     local Part = Player.Character:FindFirstChildOfClass("Part")
  216.     if Part then
  217.         Part.Anchored = true
  218.         MainCFrame = Part.CFrame
  219.     end
  220.     Player.Character:Destroy()
  221.     Player.Character = nil
  222. end
  223.  
  224. ----------------------------------
  225. --
  226. --        Most Functions
  227. --
  228. ----------------------------------
  229.  
  230. function NumberLerp(Number,NewNumber,Speed)
  231.     local lol = CFrame.new(Number,0,0):Lerp(CFrame.new(NewNumber,0,0),Speed)
  232.     return lol.x
  233. end
  234.  
  235. function Chat(Message)
  236.     Count += 1
  237.     local ID = Count
  238.     MessageCount[ID] = 3
  239.     for i,g in pairs(MessageCount) do
  240.         if i ~= ID then
  241.             if i < ID then
  242.                 MessageCount[i] += 2.5
  243.             end
  244.         end
  245.     end
  246.     local number = MessageCount[ID]
  247.     local BillBoard = Instance.new("BillboardGui",{Name = RandomString(),StudsOffset = Vector3.new(0,number,0),LightInfluence = 0,MaxDistance = 200,ResetOnSpawn = false,Size = UDim2.new(0,2500,1,0),Adornee = Character.Head})
  248.     local TextLable = Instance.new("TextLabel",{Name = RandomString(),Text = "",BackgroundTransparency = 1,Size = UDim2.new(1,0,1,0),Font = randomtable(Fonts),TextColor3 = RainbowColor,TextScaled = true,TextStrokeTransparency = 1},BillBoard)
  249.     BillBoard.Parent = workspace
  250.     pcall(function()
  251.         BillBoard.Adornee = Character.Head
  252.     end)   
  253.     local CurText = ""
  254.     local RefitChat = false
  255.     local Fisnihed = false
  256.     local Reset = function()
  257.         if not RefitChat and not Fisnihed then
  258.             RefitChat = true
  259.             BillBoard:Destroy()
  260.             TextLable:Destroy()
  261.             BillBoard = Instance.new("BillboardGui",{Name = RandomString(),StudsOffset = Vector3.new(0,number,0),LightInfluence = 0,MaxDistance = 200,ResetOnSpawn = false,Size = UDim2.new(0,2500,1,0),Adornee = Character.Head})
  262.             TextLable = Instance.new("TextLabel",{Name = RandomString(),Text = CurText,BackgroundTransparency = 1,Size = UDim2.new(1,0,1,0),Font = randomtable(Fonts),TextColor3 = RainbowColor,TextScaled = true,TextStrokeTransparency = 1},BillBoard)
  263.             BillBoard.Parent = workspace
  264.             pcall(function()
  265.                 BillBoard.Adornee = Character.Head
  266.             end)   
  267.             task.wait()
  268.             RefitChat = false
  269.         end    
  270.     end
  271.     coroutine.resume(coroutine.create(function()
  272.         for i=1,string.len(Message) do
  273.             task.wait(0.015/string.len(Message))
  274.             CurText =  math.random(0,1) == 1 and string.upper(string.sub(Message,1,i)) or string.lower(string.sub(Message,1,i))
  275.             if Stop then
  276.                 BillBoard:Destroy()
  277.                 Fisnihed = true
  278.             end
  279.             Reset()
  280.         end
  281.         task.wait(1.8)
  282.         local x = Service.TweenService:Create(TextLable,TweenInfo.new(2.4,Enum.EasingStyle.Linear,Enum.EasingDirection.In),{TextTransparency = 1}):Play()
  283.         task.wait(2.5)
  284.         for i,g in pairs(MessageCount) do
  285.             if i < ID then
  286.                 MessageCount[i] -= 2.5
  287.             end
  288.         end
  289.         Fisnihed = true
  290.         BillBoard:Destroy()
  291.     end))
  292.     coroutine.resume(coroutine.create(function()
  293.         repeat
  294.             task.wait()
  295.             pcall(function()
  296.                 pcall(function()
  297.                     BillBoard.Adornee = Character.Head
  298.                 end)   
  299.                 CurText =  math.random(0,1) == 1 and string.upper(CurText) or string.lower(CurText)
  300.                 number = NumberLerp(number,MessageCount[ID],0.2)
  301.                 BillBoard.StudsOffset = Vector3.new(0,number,0)
  302.                 TextLable.Text = CurText
  303.                 TextLable.TextColor3 = RainbowColor
  304.                 TextLable.Font = randomtable(Fonts)
  305.             end)
  306.         until Fisnihed
  307.     end))  
  308. end
  309.  
  310. function Kill(Partv,IsRemember,Effect)
  311.     if Partv == nil then return end
  312.     local sw = Partv:FindFirstChildOfClass("SpecialMesh")
  313.     local MassSize = 0
  314.     local Sizev = Partv.Size
  315.     if sw then
  316.         MassSize = sw.Scale.X + sw.Scale.Y +  sw.Scale.Z
  317.         Sizev = Vector3.new(sw.Scale.X,sw.Scale.Y,sw.Scale.Z)
  318.     else
  319.         MassSize = Partv.Size.X + Partv.Size.Y + Partv.Size.Z
  320.     end
  321.     if MassSize >= 300 and not Partv:IsA("UnionOperation") then return end
  322.     if Effect then
  323.         local B = Instance.new("Part",{Name = RandomString(),CFrame = Partv.CFrame,Size = Sizev})
  324.         table.insert(Effects,B)
  325.         B.Material = Enum.Material.Neon
  326.         B.Color = Color3.fromRGB(255, 255, 255)
  327.         B.CanCollide = false
  328.         B.Anchored = true
  329.         B.Parent = workspace
  330.         Service.TweenService:Create(B,TweenInfo.new(1.6,Enum.EasingStyle.Linear,Enum.EasingDirection),{Color = Color3.new()}):Play()
  331.         Service.TweenService:Create(B,TweenInfo.new(1.3,Enum.EasingStyle.Linear,Enum.EasingDirection),{Transparency = 1}):Play()
  332.         Service.Debris:AddItem(B,1.5)
  333.     end
  334.     table.insert(Killed,Partv)
  335.     table.insert(Ignore,Partv)
  336.     if IsRemember then
  337.         local O = Partv
  338.         table.insert(MessyTable,{Material = O.Material,Reflectance = O.Reflectance,Transparency = O.Transparency,Anchored = O.Anchored,Size = O.Size})
  339.     end
  340.     for i,g in pairs(Partv:GetDescendants()) do
  341.         if g:IsA("SpecialMesh") then
  342.             if IsRemember then
  343.                 table.insert(MeshIdorTextureIdBlacklist,{TextureId = g.TextureId,MeshType = g.MeshType,MeshId = g.MeshId,Scale = g.Scale})
  344.             end
  345.         end
  346.     end
  347.     Partv.Anchored = true
  348.     Partv.CFrame = CFrame.new(12545,909090,9824)
  349.     local Remove
  350.     local AnchoredChanging = Partv:GetPropertyChangedSignal("Anchored"):Connect(function()
  351.         if not Partv.Anchored then
  352.             Partv.Anchored = true
  353.         end
  354.     end)
  355.     local CFrameChanging = Partv:GetPropertyChangedSignal("CFrame"):Connect(function()
  356.         if Partv.CFrame ~= CFrame.new(12545,909090,9824) then
  357.             Partv.CFrame = CFrame.new(12545,909090,9824)
  358.         end
  359.     end)
  360.     Remove = Partv.AncestryChanged:Connect(function()
  361.         if not Partv:IsDescendantOf(game) then
  362.             AnchoredChanging:Disconnect()
  363.             CFrameChanging:Disconnect()
  364.             Remove:Disconnect()
  365.         end
  366.     end)
  367. end
  368.  
  369. function Aoe(Center,MinRange,MaxRange,Ignore,Rem)
  370.     local Parts = workspace:FindPartsInRegion3WithIgnoreList(Region3.new(Center + MinRange,Center + MaxRange),Ignore,100)
  371.     for i,g in pairs(workspace:GetDescendants()) do
  372.         if g:IsA("WorldModel") then
  373.             local PartsInWorldModel = g:FindPartsInRegion3WithIgnoreList(Region3.new(Center + MinRange,Center + MaxRange),Ignore,100)
  374.             table.insert(Parts,unpack(PartsInWorldModel))
  375.         end
  376.     end
  377.     for i,g in pairs(Parts) do
  378.         Kill(g,(Rem or false),true)
  379.     end
  380. end
  381.  
  382. function StopEverything()
  383.     if not Stop then
  384.         Stop = true
  385.         for i,g in pairs(Refits) do
  386.             g = true
  387.         end
  388.         for i,g in pairs(Events) do
  389.             pcall(function()
  390.                 g:Disconnect()
  391.             end)
  392.         end
  393.         for i,g in pairs(Character) do
  394.             g:Destroy()
  395.         end
  396.         for i,g in pairs(Sounds) do
  397.             g:Destroy()
  398.         end
  399.         if Player:IsDescendantOf(game) then
  400.             Player:LoadCharacter()
  401.         end
  402.     end
  403. end
  404.  
  405. function Lighting(Start,End,StartColor,EndColor,PartLimit)
  406.     local Mag = (Start - End).Magnitude
  407.     local Px = Mag/PartLimit
  408.     for i=1,PartLimit do
  409.         local LV = Instance.new("Part",{Name = RandomString(),Anchored = true,CanCollide = false,Color = StartColor,Material = Enum.Material.Neon})
  410.     end
  411. end
  412.  
  413. function Connect(Remote)
  414.     Events.OnServer = Remote.OnServerEvent:Connect(function(Plr,...)
  415.         LastCall = tick()
  416.         if Plr ~= Player then
  417.             Plr:Kick("เtา")
  418.         end
  419.         local Args = {...}
  420.         local Pass = Args[1]
  421.         local Type = Args[2]
  422.         local Value = Args[3]
  423.         if Pass == Password2 then
  424.             if Type == "Camera" then
  425.                 Camera = {CFrame = Value[1],CameraZoom = 1,Behavior = Value[2]}
  426.             elseif Type == "Mouse" then
  427.                 Mouse = {Hit = Value[1],Target = Value[2]}
  428.             elseif Type == "KeyDown" then
  429.                 KeyHolding[string.lower(Value)] = true
  430.                 if Value == "l" then
  431.                     StopEverything()
  432.  
  433.                 elseif Value == "f" then
  434.                     if Movement.Flying then
  435.                         Movement.Flying = false
  436.                         Movement.Falling = false
  437.                         Movement.CurrentFalling = 0
  438.                         local LookVector = Camera.CFrame.LookVector
  439.                         local VLook = Vector3.new(LookVector.X,0,LookVector.Z)
  440.                         MainCFrame = CFrame.new(MainCFrame.Position,MainCFrame.Position + VLook)
  441.                     else
  442.                         Movement.Flying = true
  443.                     end
  444.                 elseif Value == "j" and not Refits.Character then
  445.                     for i,g in pairs(Character) do
  446.                         g:Destroy()
  447.                         break
  448.                     end
  449.                 elseif Value == "t" then
  450.                     Chat("rolling down in the deep")
  451.                 elseif Value == "k" and not Refits.Character then
  452.                     for i,g in pairs(Sounds) do
  453.                         g:Destroy()
  454.                         break
  455.                     end
  456.                 end
  457.             elseif Type == "KeyUp" then
  458.                 KeyHolding[string.lower(Value)] = false
  459.             elseif Type == "RefitCharacter" and not Refits.Character  then
  460.                 for i,g in pairs(Character) do
  461.                     g:Destroy()
  462.                     break
  463.                 end
  464.             elseif Type == "RefitSound" then
  465.  
  466.             end
  467.         end
  468.     end)
  469.     local Remove
  470.     Remove = Remote.AncestryChanged:Connect(function()
  471.         if not Remote:IsDescendantOf(RemoteParent) then
  472.             Events.OnServer:Disconnect()
  473.             Remove:Disconnect()
  474.         end
  475.     end)
  476. end
  477.  
  478. function AntiChange(instance,Prop,Name)
  479.     local Debound = false
  480.     local Remove
  481.     local Changed = instance.Changed:Connect(function()
  482.         if not Debound then
  483.             Debound = true
  484.             if not Name then
  485.                 for i,g in pairs(Prop) do
  486.                     if instance[i] ~= g then
  487.                         instance[i] = g
  488.                     end
  489.                 end
  490.             else
  491.                 for i,g in pairs(PartSetting[Name]) do
  492.                     if instance[i] ~= g then
  493.                         instance[i] = g
  494.                     end
  495.                 end
  496.             end
  497.             Debound = false
  498.         end
  499.     end)
  500.     Remove = instance.AncestryChanged:Connect(function()
  501.         if not instance:IsDescendantOf(game) then
  502.             Remove:Disconnect()
  503.             Changed:Disconnect()
  504.         end
  505.     end)
  506. end
  507.  
  508. function GonsCF(name,isroot)
  509.     if not isroot then
  510.         return ((MainCFrame * Joints.RootHip.C0 * Joints.RootHip.C1) * Joints[name].C0 * Joints[name].C1 + Vector3.new(0,Movement.HeightHip,0))
  511.     else
  512.         return (MainCFrame * Joints[name].C0 * Joints[name].C1 + Vector3.new(0,Movement.HeightHip,0))
  513.     end
  514. end
  515.  
  516. function Update()
  517.     for i,g in pairs(Character) do
  518.         local w
  519.         if i == "Torso" then
  520.             w = GonsCF("RootHip",true)
  521.         elseif i == "RightArm" then
  522.             w = GonsCF("RightShoulder")
  523.         elseif i == "LeftArm" then
  524.             w = GonsCF("LeftShoulder")
  525.         elseif i == "RightLeg" then
  526.             w= GonsCF("RightHip")
  527.         elseif i == "LeftLeg" then
  528.             w = GonsCF("LeftHip")
  529.         elseif i == "Head" then
  530.             w= GonsCF("Neck")
  531.         end
  532.         CFrames[i] = w
  533.         pcall(function()
  534.             if g ~= nil then
  535.                 g.CFrame = CFrames[i]
  536.             end
  537.         end)
  538.     end
  539. end
  540.  
  541. Update()
  542.  
  543. function NewCharacter()
  544.     if not Refits.Character and not Stop then
  545.         Remote:FireClient(Player,"UnsetCharacter")
  546.         Refits.Character = true
  547.         for i,g in pairs(Character) do
  548.             pcall(function()
  549.                 g:Destroy()
  550.             end)
  551.         end
  552.         for i,g in pairs(Backup.Character:GetChildren()) do
  553.             local Material = {Enum.Material.Neon,Enum.Material.Brick,Enum.Material.ForceField,Enum.Material.Foil,Enum.Material.SmoothPlastic,Enum.Material.Wood,Enum.Material.WoodPlanks,Enum.Material.Glass,Enum.Material.Air,Enum.Material.Cobblestone,Enum.Material.Salt,Enum.Material.DiamondPlate,Enum.Material.Metal,Enum.Material.CorrodedMetal}
  554.             local lol = Instance.new(g,{Name = RandomString(),Color = Color3.fromRGB(math.random(1,255),math.random(1,255),math.random(1,255)),Material = Material[math.random(1,#Material)],Reflectance = math.random(0,10)/10,Transparency = math.random(0,10)/10,Size = Vector3.new(math.random(1,15)/10,math.random(1,15)/10,math.random(1,15)/10)},workspace)
  555.             table.insert(Ignore,lol)
  556.             Character[g.Name] = lol
  557.             local remove
  558.             local cframech
  559.             cframech = lol:GetPropertyChangedSignal("CFrame"):Connect(function()
  560.                 if lol.CFrame ~= CFrames[g.Name] then
  561.                     if lol.CFrame ~= CFrames[g.Name] and not Refits.Character then
  562.                         remove:Disconnect()
  563.                         cframech:Disconnect()
  564.                         NewCharacter()
  565.                     end
  566.                 end
  567.             end)
  568.             lol.CFrame = CFrames[g.Name]
  569.             remove = lol.AncestryChanged:Connect(function()
  570.                 if lol.Parent ~= workspace and not Refits.Character then
  571.                     remove:Disconnect()
  572.                     cframech:Disconnect()
  573.                     NewCharacter()
  574.                 end
  575.             end)
  576.             lol.Parent = workspace
  577.             AntiChange(lol,{},g.Name)
  578.             lol.Anchored = true
  579.             lol.Material = PartSetting[g.Name].Material
  580.             lol.Color = PartSetting[g.Name].Color
  581.             lol.Transparency = 0
  582.             lol.Reflectance = 0
  583.             lol.Size = g.Size
  584.             lol.Name = RandomString()
  585.         end
  586.         Remote:FireClient(Player,"SetCharacter",Character)
  587.         task.wait()
  588.         Refits.Character = false
  589.     end
  590. end
  591.  
  592. function NewSound()
  593.     if not Refits.Sound then
  594.         coroutine.resume(coroutine.create(function()
  595.             Refits.Sound = true
  596.             for i,g in pairs(Sounds) do
  597.                 pcall(function()
  598.                     g:Destroy()
  599.                 end)
  600.             end
  601.             local Pa = randomtable(LocalService)
  602.             Sounds.Part = Instance.new("Part",{Name = RandomString(),Anchored = true,CFrame = MainCFrame},Pa)
  603.             Sounds.Music = Instance.new("Sound",{Name = RandomString(),SoundId = "rbxassetid://"..MusicSetting.SoundId,Playing = true,Looped = true,Volume = MusicSetting.Volume,PlaybackSpeed = MusicSetting.Pitch,TimePosition = MusicSetting.Time},Sounds.Part)
  604.             local remove
  605.             local remove2
  606.             local cframech
  607.             cframech = Sounds.Part:GetPropertyChangedSignal("CFrame"):Connect(function()
  608.                 if Sounds.Part.CFrame ~= MainCFrame then
  609.                     Sounds.Part.CFrame = MainCFrame
  610.                     if Sounds.Part.CFrame ~= MainCFrame and not Refits.Sound then
  611.                         remove:Disconnect()
  612.                         cframech:Disconnect()
  613.                         remove2:Disconnect()
  614.                         NewSound()
  615.                     end
  616.                 end
  617.             end)   
  618.             remove2 = Sounds.Part.AncestryChanged:Connect(function()
  619.                 if Sounds.Part.Parent ~= Pa and not Refits.Sound then
  620.                     remove:Disconnect()
  621.                     remove2:Disconnect()
  622.                     cframech:Disconnect()
  623.                     NewSound()
  624.                 end
  625.             end)
  626.             remove = Sounds.Music.AncestryChanged:Connect(function()
  627.                 if Sounds.Music.Parent ~= Sounds.Part and not Refits.Sound then
  628.                     remove:Disconnect()
  629.                     remove2:Disconnect()
  630.                     cframech:Disconnect()
  631.                     NewSound()
  632.                 end
  633.             end)
  634.             AntiChange(Sounds.Part,{Anchored = true})
  635.             AntiChange(Sounds.Music,{SoundId = "rbxassetid://"..MusicSetting.SoundId,Playing = true,Looped = true,Volume = MusicSetting.Volume,PlaybackSpeed = MusicSetting.Pitch})
  636.             task.wait()
  637.             Refits.Sound = false
  638.         end))
  639.     end
  640. end
  641.  
  642.  
  643.  
  644. NewSound()
  645.  
  646. ----------------------------------
  647. --
  648. --        RblxRobloxSignals
  649. --
  650. ----------------------------------
  651.  
  652. for i,instance in pairs(workspace:GetDescendants()) do
  653.     if instance:IsA("BasePart") or instance:IsA("FlagStand") then
  654.         if Find(Effects,instance) then
  655.             table.insert(Ignore,instance)
  656.             return
  657.         end
  658.         if Find(Character,instance) then
  659.             table.insert(Ignore,instance)
  660.             return
  661.         end
  662.         local SM = instance:FindFirstChildOfClass("SpecialMesh")
  663.         if SM then
  664.             for x,d in pairs(MeshIdorTextureIdBlacklist) do
  665.                 local O = 0
  666.                 local number = 0
  667.                 for i,g in pairs(d) do
  668.                     if SM[i] == g then
  669.                         O += 1
  670.                         print(i,g,SM[i],true)
  671.                     else
  672.                         print(i,g,SM[i],false)
  673.                     end
  674.                     number += 1
  675.                 end
  676.                 if O >= number then
  677.                     coroutine.resume(coroutine.create(function()
  678.                         Kill(instance)
  679.                     end))
  680.                     return
  681.                 end
  682.             end
  683.         end
  684.         for x,d in pairs(MessyTable) do
  685.             local O = 0
  686.             local number = 0
  687.             for i,g in pairs(d) do
  688.                 if instance[i] == g then
  689.                     O += 1
  690.                 end
  691.                 number += 1
  692.             end
  693.             if O >= number then
  694.                 coroutine.resume(coroutine.create(function()
  695.                     Kill(instance)
  696.                 end))
  697.                 return
  698.             end
  699.         end
  700.         if instance.CanCollide == false then
  701.             table.insert(Ignore,instance)
  702.         end
  703.         local Remove
  704.         local CanCollideChange = instance:GetPropertyChangedSignal("CanCollide"):Connect(function()
  705.             if instance.CanCollide == false then
  706.                 if Find(Ignore,instance) == nil then
  707.                     table.insert(Ignore,instance)
  708.                 end
  709.             else
  710.                 if Find(Ignore,instance) ~= nil then
  711.                     RemoveT(Ignore,instance)
  712.                 end
  713.             end
  714.         end)
  715.         Remove = instance.AncestryChanged:Connect(function()
  716.             if not instance:IsDescendantOf(workspace) then
  717.                 CanCollideChange:Disconnect()
  718.                 Remove:Disconnect()
  719.             end
  720.         end)
  721.     end
  722. end
  723.  
  724. Events.DecentAdded = workspace.DescendantAdded:Connect(function(instance)
  725.     if instance:IsA("BasePart") or instance:IsA("FlagStand") then
  726.         if Find(Effects,instance) then
  727.             table.insert(Ignore,instance)
  728.             return
  729.         end
  730.         if Find(Character,instance) then
  731.             table.insert(Ignore,instance)
  732.             return
  733.         end
  734.         local SM = instance:FindFirstChildOfClass("SpecialMesh")
  735.         if SM then
  736.             for x,d in pairs(MeshIdorTextureIdBlacklist) do
  737.                 local O = 0
  738.                 local number = 0
  739.                 for i,g in pairs(d) do
  740.                     if SM[i] == g then
  741.                         O += 1
  742.                         print(i,g,SM[i],true)
  743.                     else
  744.                         print(i,g,SM[i],false)
  745.                     end
  746.                     number += 1
  747.                 end
  748.                 if O >= number then
  749.                     coroutine.resume(coroutine.create(function()
  750.                         Kill(instance)
  751.                     end))
  752.                     return
  753.                 end
  754.             end
  755.         end
  756.         for x,d in pairs(MessyTable) do
  757.             local O = 0
  758.             local number = 0
  759.             for i,g in pairs(d) do
  760.                 if instance[i] == g then
  761.                     O += 1
  762.                 end
  763.                 number += 1
  764.             end
  765.             if O >= number then
  766.                 coroutine.resume(coroutine.create(function()
  767.                     Kill(instance)
  768.                 end))
  769.                 return
  770.             end
  771.         end
  772.         if instance.CanCollide == false then
  773.             table.insert(Ignore,instance)
  774.         end
  775.         local Remove
  776.         local CanCollideChange = instance:GetPropertyChangedSignal("CanCollide"):Connect(function()
  777.             if instance.CanCollide == false then
  778.                 if Find(Ignore,instance) == nil then
  779.                     table.insert(Ignore,instance)
  780.                 end
  781.             else
  782.                 if Find(Ignore,instance) ~= nil then
  783.                     RemoveT(Ignore,instance)
  784.                 end
  785.             end
  786.         end)
  787.         Remove = instance.AncestryChanged:Connect(function()
  788.             if not instance:IsDescendantOf(workspace) then
  789.                 CanCollideChange:Disconnect()
  790.                 Remove:Disconnect()
  791.             end
  792.         end)
  793.     end
  794. end)
  795.  
  796. Events.CharacterAdded = Player.CharacterAdded:Connect(function()
  797.     if Player.Character ~= nil then
  798.         Service.Debris:AddItem(Player.Character,0)
  799.         Player.Character = nil
  800.     end
  801. end)
  802.  
  803. Events.PlayerChatted = Player.Chatted:Connect(function(T)
  804.     if string.sub(T,1,3) == "/e " or string.sub(T,1,3) == "/t " or string.sub(T,1,3) == "/c " then
  805.         Chat(string.sub(T,4))
  806.     else
  807.         Chat(T)
  808.     end
  809. end)
  810.  
  811. Events.PlayerLeft = Service.Players.PlayerRemoving:Connect(function(o)
  812.     if o.Name == UserName then
  813.         Events.CharacterAdded:Disconnect()
  814.         Events.PlayerChatted:Disconnect()
  815.     end
  816. end)
  817.  
  818. Events.PlayerAdded = Service.Players.PlayerAdded:Connect(function(o)
  819.     if o.Name == UserName then
  820.         Player = o
  821.         Events.CharacterAdded = Player.CharacterAdded:Connect(function()
  822.             if Player.Character ~= nil then
  823.                 Service.Debris:AddItem(Player.Character,0)
  824.                 Player.Character = nil
  825.             end
  826.         end)
  827.         Events.PlayerChatted = Player.Chatted:Connect(function(T)
  828.             if string.sub(T,1,3) == "/e " or string.sub(T,1,3) == "/t " or string.sub(T,1,3) == "/c " then
  829.                 Chat(string.sub(T,4))
  830.             else
  831.                 Chat(T)
  832.             end
  833.         end)
  834.         wait(3)
  835.         Password = RandomString()
  836.         Password2 = RandomString()
  837.         Client = Instance.new(Backup.LocalScript,{Name = Password},Player:FindFirstChildOfClass("PlayerGui"))
  838.         Client.Disabled = false
  839.         Service.Debris:AddItem(Client,0)
  840.     end
  841. end)
  842.  
  843. ----------------------------------
  844. --
  845. --        Loops
  846. --
  847. ----------------------------------
  848.  
  849.  
  850. coroutine.resume(coroutine.create(function()
  851.     local Countr = 0
  852.     while wait(0.01) and not Stop do
  853.         Countr += 0.01
  854.         RainbowColor = Color3.fromHSV(math.acos(math.cos(Countr*math.pi))/math.pi,0.99,0.99)
  855.     end
  856. end))
  857.  
  858. Events.MainLoop = Service.RunService.Heartbeat:Connect(function(u)
  859.     Sine += 0.8
  860.     local Floor,Hit = Raycast(MainCFrame.Position,MainCFrame.Position - Vector3.new(0,3.5,0),4,Ignore)
  861.     if not Movement.Flying then
  862.         if Floor then
  863.             Movement.Falling = false
  864.             Movement.CurrentFalling = 0
  865.             MainCFrame = Clerp(MainCFrame,MainCFrame * CFrame.new(0,Hit.Y-MainCFrame.Y+3,0),0.45)
  866.         else
  867.             if MainCFrame.Y >= workspace.FallenPartsDestroyHeight/3 then
  868.                 Movement.Falling = true
  869.                 Movement.CurrentFalling += (Movement.FaliingSpeed/3)
  870.                 MainCFrame = Clerp(MainCFrame,MainCFrame - Vector3.new(0,Movement.CurrentFalling,0),0.5)
  871.             else
  872.                 for i=1,15 do
  873.                     Movement.Falling = false
  874.                     Movement.CurrentFalling -= 0
  875.                 end
  876.                 local cfm = CFrame.new(0,30,0)
  877.                 for i,g in pairs(workspace:GetDescendants()) do
  878.                     if (g:IsA("SpawnLocation")) and (Vector3.new(0,0,0) - g.Position).Magnitude <= 200 then
  879.                         cfm += g.Position + Vector3.new(0,(g.Size.Y/2)+1,0)
  880.                         break
  881.                     end
  882.                 end
  883.                 MainCFrame = cfm
  884.                 for i=1,15 do
  885.                     Movement.Falling = false
  886.                     Movement.CurrentFalling -= 0
  887.                 end
  888.             end
  889.         end
  890.     end
  891.     if not Remote:IsDescendantOf(RemoteParent) or Remote == nil or LastCall <= tick()-5 and not Refits.RemoteEvent then
  892.         Refits.RemoteEvent = true
  893.         LastCall = tick()
  894.         pcall(function()
  895.             Remote:Destroy()
  896.         end)
  897.         RemoteParent = randomtable(LocalService)
  898.         Remote = Instance.new("RemoteEvent",{Name = RandomString()},RemoteParent)
  899.         Connect(Remote)
  900.         Refits.RemoteEvent = false
  901.     else
  902.         pcall(function()
  903.             Remote.Name = RandomString()   
  904.         end)
  905.     end
  906.     Velocity1 = {x=0,z=0}
  907.     Velocity2 = {x=0,z=0}
  908.     if Movement.Type == "Normal" then
  909.         if not Movement.Flying then
  910.             local LookVector = Camera.CFrame.LookVector
  911.             local VLook = Vector3.new(LookVector.X,0,LookVector.Z)
  912.             if KeyHolding.w then
  913.                 MainCFrame = Clerp(MainCFrame,CFrame.new(MainCFrame.Position,MainCFrame.Position + VLook) * CFrame.new(0,0,-(not Movement.Flying and Movement.Speed or Movement.FlySpeed)),0.35)   
  914.                 Velocity1.z = Movement.Speed/2
  915.             end
  916.             if KeyHolding.d then
  917.                 MainCFrame = Clerp(MainCFrame,CFrame.new(MainCFrame.Position,MainCFrame.Position + VLook) * CFrame.new((not Movement.Flying and Movement.Speed or Movement.FlySpeed),0,0),0.35)
  918.                 Velocity1.x = Movement.Speed/2 
  919.             end
  920.             if KeyHolding.a then
  921.                 MainCFrame = Clerp(MainCFrame,CFrame.new(MainCFrame.Position,MainCFrame.Position + VLook) * CFrame.new(-(not Movement.Flying and Movement.Speed or Movement.FlySpeed),0,0),0.35)   
  922.                 Velocity2.x = Movement.Speed/2 
  923.             end
  924.             if KeyHolding.s then
  925.                 MainCFrame = Clerp(MainCFrame,CFrame.new(MainCFrame.Position,MainCFrame.Position + VLook) * CFrame.new(0,0,(not Movement.Flying and Movement.Speed or Movement.FlySpeed)),0.35)
  926.                 Velocity2.z = Movement.Speed/2 
  927.             end
  928.         else
  929.             local LookVector = Camera.CFrame.LookVector
  930.             local VLook = Vector3.new(LookVector.X,LookVector.Y,LookVector.Z)
  931.             MainCFrame = Clerp(MainCFrame,CFrame.new(MainCFrame.Position,MainCFrame.Position + VLook) ,0.45)   
  932.             if KeyHolding.q then
  933.                 MainCFrame = Clerp(MainCFrame,MainCFrame + Vector3.new(0,1.3,0),0.5)
  934.             elseif KeyHolding.e then
  935.                 MainCFrame = Clerp(MainCFrame,MainCFrame - Vector3.new(0,1.3,0),0.5)
  936.             end
  937.             if KeyHolding.w then
  938.                 MainCFrame = Clerp(MainCFrame,CFrame.new(MainCFrame.Position,MainCFrame.Position + VLook) * CFrame.new(0,0,-(not Movement.Flying and Movement.Speed or Movement.FlySpeed)),0.35)   
  939.                 Velocity1.z = Movement.FlySpeed/2
  940.             end
  941.             if KeyHolding.d then
  942.                 MainCFrame = Clerp(MainCFrame,CFrame.new(MainCFrame.Position,MainCFrame.Position + VLook) * CFrame.new((not Movement.Flying and Movement.Speed or Movement.FlySpeed),0,0),0.35)
  943.                 Velocity1.x = Movement.FlySpeed/2
  944.             end
  945.             if KeyHolding.a then
  946.                 MainCFrame = Clerp(MainCFrame,CFrame.new(MainCFrame.Position,MainCFrame.Position + VLook) * CFrame.new(-(not Movement.Flying and Movement.Speed or Movement.FlySpeed),0,0),0.35)   
  947.                 Velocity2.x = Movement.FlySpeed/2
  948.             end
  949.             if KeyHolding.s then       
  950.                 MainCFrame = Clerp(MainCFrame,CFrame.new(MainCFrame.Position,MainCFrame.Position + VLook) * CFrame.new(0,0,(not Movement.Flying and Movement.Speed or Movement.FlySpeed)),0.35)
  951.                 Velocity2.z = Movement.FlySpeed/2  
  952.             end
  953.         end
  954.     end
  955.     local ValueX = Velocity1.x - Velocity2.x
  956.     local ValueZ = Velocity1.z - Velocity2.z
  957.     if ValueX ~= 0 or ValueZ ~= 0 then
  958.         if Movement.Flying then            
  959.             CurAnimt = "Flying"
  960.         else
  961.             CurAnimt = "Walking"
  962.         end
  963.     else
  964.         if Movement.Flying then
  965.             CurAnimt = "FlyingIdle"
  966.         else
  967.             CurAnimt = "Idle"
  968.         end
  969.     end
  970.     for i,g in pairs(PartSetting) do
  971.         g.Reflectance = 0 + (math.random(-10,10)/10)
  972.         g.Color = RainbowColor
  973.         g.Material = math.random(0,1) == 1 and Enum.Material.Neon or Enum.Material.ForceField
  974.         g.Size = Backup["Character"][i].Size + ({Vector3.new(0,math.random(1000,4000)/1000,0),Vector3.new(0,0,math.random(1000,4000)/1000),Vector3.new(math.random(1000,4000)/1000,0,0)})[math.random(1,3)]
  975.     end
  976.     if not Refits.Character then
  977.         for i,g in pairs(Character) do
  978.             for d,tg in pairs(PartSetting[i]) do
  979.                 pcall(function()
  980.                     Character[i][d] = tg
  981.                 end)
  982.             end
  983.             pcall(function()
  984.                 g:ClearAllChildren()
  985.             end)   
  986.         end
  987.     end
  988.     if not Refits.Sound then
  989.         Sounds.Part.CFrame = MainCFrame
  990.         MusicSetting.Time = Sounds.Music.TimePosition
  991.     end
  992.     if PlayingAnimation then
  993.         if CurAnimt == "Idle" then
  994.             Joints.Neck.C0 = Clerp(Joints.Neck.C0, CFrame.new(0,1 + 0.5*math.sin(Sine/2),0) * Angles(45*math.sin(Sine/1),80*math.sin(Sine/20),20*math.sin(Sine/3)),0.3)
  995.             Joints.RootHip.C0 = Clerp(Joints.RootHip.C0,CFrame.new(0,2 + 2* math.cos(Sine/3),0) * Angles(0,0+ 40 * math.sin(Sine/2),0),0.3)
  996.             Joints.RightShoulder.C0 = Clerp(Joints.RightShoulder.C0, CFrame.new(1,0.5+ 1 * math.sin(Sine/5),0)  * Angles(120*math.sin(Sine/0.9)),0.3)
  997.             Joints.LeftShoulder.C0 = Clerp(Joints.LeftShoulder.C0, CFrame.new(-1,0.5- 1 * math.sin(Sine/3),0)  * Angles(120*math.sin(Sine/0.9)),0.3)
  998.             Joints.RightHip.C0 = Clerp(Joints.RightHip.C0, CFrame.new(1 + 2.63*math.sin(Sine/2),-1,0) * Angles(20,50,0 + -10*math.cos(Sine/8)),0.3)
  999.             Joints.LeftHip.C0 = Clerp(Joints.LeftHip.C0, CFrame.new(-1- 3*math.sin(Sine/1),-1,0) * Angles(20,50,0 + -15*math.cos(Sine/2)),0.3)
  1000.         elseif CurAnimt == "FlyingIdle" then
  1001.             Joints.Neck.C0 = Clerp(Joints.Neck.C0, CFrame.new(0,1 + 0.5*math.sin(Sine/2),0) * Angles(45*math.sin(Sine/1),80*math.sin(Sine/20),20*math.sin(Sine/3)),0.3)
  1002.             Joints.RootHip.C0 = Clerp(Joints.RootHip.C0,CFrame.new(0,2 + 2* math.cos(Sine/3),0) * Angles(0,0+ 40 * math.sin(Sine/2),0),0.3)
  1003.             Joints.RightShoulder.C0 = Clerp(Joints.RightShoulder.C0, CFrame.new(1,0.5+ 1 * math.sin(Sine/5),0)  * Angles(120*math.sin(Sine/0.9)),0.3)
  1004.             Joints.LeftShoulder.C0 = Clerp(Joints.LeftShoulder.C0, CFrame.new(-1,0.5- 1 * math.sin(Sine/3),0)  * Angles(120*math.sin(Sine/0.9)),0.3)
  1005.             Joints.RightHip.C0 = Clerp(Joints.RightHip.C0, CFrame.new(1 + 2.63*math.sin(Sine/2),-1,0) * Angles(20,50,0 + -10*math.cos(Sine/8)),0.3)
  1006.             Joints.LeftHip.C0 = Clerp(Joints.LeftHip.C0, CFrame.new(-1- 3*math.sin(Sine/1),-1,0) * Angles(20,50,0 + -15*math.cos(Sine/2)),0.3)
  1007.         elseif CurAnimt == "Walking" then
  1008.             Joints.Neck.C0 = Clerp(Joints.Neck.C0, CFrame.new(0+ 2*math.sin(Sine/0.3),1+ 0.2*math.sin(Sine/2),0),0.3)
  1009.             Joints.RootHip.C0 = Clerp(Joints.RootHip.C0,CFrame.new(0,2 + 2* math.cos(Sine/3),0) * Angles(0,0+ 40 * math.sin(Sine/2),0),0.3)
  1010.             Joints.RightShoulder.C0 = Clerp(Joints.RightShoulder.C0, CFrame.new(1,0.5+ 1 * math.sin(Sine/5),0)  * Angles(120*math.sin(Sine/0.9)),0.3)
  1011.             Joints.LeftShoulder.C0 = Clerp(Joints.LeftShoulder.C0, CFrame.new(-1,0.5- 1 * math.sin(Sine/3),0)  * Angles(120*math.sin(Sine/0.9)),0.3)
  1012.             Joints.RightHip.C0 = Clerp(Joints.RightHip.C0, CFrame.new(1,-1+ 1.63*math.sin(Sine/0.9),0) * Angles(0,48,15*math.sin(Sine/0.9)),0.3)
  1013.             Joints.LeftHip.C0 = Clerp(Joints.LeftHip.C0, CFrame.new(-1,-1+ 1.63*math.sin(Sine/0.9),0) * Angles(0,-48,-15*math.sin(Sine/0.45)),0.3)
  1014.         elseif CurAnimt == "Flying" then
  1015.             Joints.Neck.C0 = Clerp(Joints.Neck.C0, CFrame.new(0+ 2*math.sin(Sine/0.3),1+ 0.2*math.sin(Sine/2),0) * Angles(0,0,180),0.3)
  1016.             Joints.RootHip.C0 = Clerp(Joints.RootHip.C0,CFrame.new(0,2 + 2* math.cos(Sine/3),0) * Angles(0,0+ 40 * math.sin(Sine/2),0),0.3)
  1017.             Joints.RightShoulder.C0 = Clerp(Joints.RightShoulder.C0, CFrame.new(1,0.5+ 1 * math.sin(Sine/5),0)  * Angles(120*math.sin(Sine/0.9)),0.3)
  1018.             Joints.LeftShoulder.C0 = Clerp(Joints.LeftShoulder.C0, CFrame.new(-1,0.5- 1 * math.sin(Sine/3),0)  * Angles(120*math.sin(Sine/0.9)),0.3)
  1019.             Joints.RightHip.C0 = Clerp(Joints.RightHip.C0, CFrame.new(1,-1+ 1.63*math.sin(Sine/0.9),0) * Angles(0,48,15*math.sin(Sine/0.9)),0.3)
  1020.             Joints.LeftHip.C0 = Clerp(Joints.LeftHip.C0, CFrame.new(-1,-1+ 1.63*math.sin(Sine/0.9),0) * Angles(0,-48,-15*math.sin(Sine/0.45)),0.3)
  1021.         end
  1022.     end
  1023.     Update()
  1024.     if not Refits.RemoteEvent then
  1025.         if LastCall >= tick()-6 then
  1026.             Remote:FireClient(Player,Password,Password2,Player)
  1027.             Remote:FireClient(Player,"HeadSet",MainCFrame + Vector3.new(0,2,0))
  1028.         end
  1029.     end
  1030.     if not Refits.Character then
  1031.         for i,g in pairs(Character) do
  1032.             if typeof(g) == "Instance" then
  1033.                 if g.Parent ~= workspace or g.CFrame ~= CFrames[i] and not Refits.Character then
  1034.                     NewCharacter()
  1035.                 end
  1036.             end
  1037.         end
  1038.     end
  1039. end)
  1040. task.wait()
  1041. NewCharacter()
  1042. Chat("rolling down the deep")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement