Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- [[ Name: Commander CR by ??? ]] --
- -- [[ Converted: By Melon ]] --
- -- [[ Reanimate: By Emper ]] --
- -- [[ Description: nothing to put ]] --
- -- [[ Hats ]] --
- -- [[ Free ]] --
- -- [[ www.roblox.com/catalog/4819740796/Robox ]] --
- -- [[ www.roblox.com/catalog/3409612660/International-Fedora-USA ]] --
- -- [[ www.roblox.com/catalog/3398308134/International-Fedora-Canada ]] --
- -- [[ www.roblox.com/catalog/3033908130/International-Fedora-France ]] --
- -- [[ www.roblox.com/catalog/3033910400/International-Fedora-Germany ]] --
- -- [[ Paid (1) ]] --
- -- [[ www.roblox.com/catalog/14255528083/Torso-Extension ]] --
- -- [[ www.roblox.com/catalog/14255556501/Extra-Right-White-Arm ]] --
- -- [[ www.roblox.com/catalog/14255554762/Extra-Left-White-Arm ]] --
- -- [[ www.roblox.com/catalog/14768693948/White-Extended-Right-Arm ]] --
- -- [[ www.roblox.com/catalog/14768701869/White-Extended-Left-Arm ]] --
- -- [[ Paid (2) ]] --
- -- [[ www.roblox.com/catalog/14255528083/Torso-Extension ]] --
- -- [[ www.roblox.com/catalog/11159410305/Rectangle-Head-For-Headless ]] --
- -- [[ www.roblox.com/catalog/11263254795/Dummy-Head-For-Headless ]] --
- -- [[ www.roblox.com/catalog/12344545199/Extra-Left-hand-moving-Blocky-white ]] --
- -- [[ www.roblox.com/catalog/12344591101/Extra-Right-hand-moving-Blocky-white ]] --
- -- [[ Guns ]] --
- -- [[ www.roblox.com/catalog/13760686814/Classic-MARKA-17M-Valkan-Left ]] --
- -- [[ www.roblox.com/catalog/4623059912/Starslayer-Railgun ]] --
- -- [[ www.roblox.com/catalog/14683431575/Law-Enforcement-Beanbag ]] --
- -- [[ www.roblox.com/catalog/5136154487/DG-40-Archangel-Sniper-Rifle-Black ]] --
- -- [[ www.roblox.com/catalog/12830271515/White-Cyber-Heavy-Revolver-Left ]] --
- -- [[ * FREE * www.roblox.com/catalog/10775031176/The-Pogo ]] --
- -- [[ * FREE * www.roblox.com/catalog/5552252553/Kinetic-Staff ]] --
- -- [[ The list above is the supported hats. ]] --
- game:GetService("StarterGui"):SetCore("SendNotification", {
- Title = "Melon's (FE) Converts/Scripts";
- Text = "Thanks for using!";
- Icon = "rbxthumb://type=Asset&id=11561641603&w=150&h=150"})
- Duration = 3;
- if not game:IsLoaded() then
- game.Loaded:Wait()
- end
- local function FindInstance(Parent, ClassName, Name)
- for _, Instance in pairs(Parent:GetChildren()) do
- if Instance:IsA(ClassName) and Instance.Name == Name then
- return Instance
- end
- end
- end
- local function WaitForClass(Parent, ClassName)
- local Instance = Parent:FindFirstChildOfClass(ClassName)
- while not Instance and Parent do
- Parent.ChildAdded:Wait()
- Instance = Parent:FindFirstChildOfClass(ClassName)
- end
- return Instance
- end
- local function WaitForClassOfName(Parent, ...)
- local Instance = FindInstance(Parent, ...)
- while not Instance and Parent do
- Parent.ChildAdded:Wait()
- Instance = FindInstance(Parent, ...)
- end
- return Instance
- end
- local Fling = { }
- local Aligns = { }
- local Blacklist = { }
- local Accessories = { }
- local Attachments = { }
- local Instancenew = Instance.new
- local taskwait = task.wait
- local taskspawn = task.spawn
- local taskdefer = task.defer
- local mathabs = math.abs
- local mathcos = math.cos
- local mathrandom = math.random
- local stringmatch = string.match
- local osclock = os.clock
- local tableinsert = table.insert
- local tableclear = table.clear
- local tablefind = table.find
- local CFramenew = CFrame.new
- local CFrameAngles = CFrame.Angles
- local CFrameidentity = CFrame.identity
- local Vector3new = Vector3.new
- local Vector3zero = Vector3.zero
- local Sleep = CFrameidentity
- local Velocity = Vector3new(0, 16384, 0)
- local Angular = 0
- local Linear = 0
- local Workspace = game:FindFirstChildOfClass("Workspace")
- local CurrentCamera = Workspace.CurrentCamera
- local Players = game:FindFirstChildOfClass("Players")
- local LocalPlayer = Players.LocalPlayer
- local Mouse = LocalPlayer:GetMouse()
- local PostSimulation = game:FindFirstChildOfClass("RunService").PostSimulation
- local Character = LocalPlayer.Character
- local CharacterClone = Instancenew("Model")
- local StarterGui = game:FindFirstChildOfClass("StarterGui")
- local BindableEvent = Instancenew("BindableEvent")
- local UserInputService = game:FindFirstChildOfClass("UserInputService")
- local UserInputType = Enum.UserInputType
- local MouseButton1 = UserInputType.MouseButton1
- local Touch = UserInputType.Touch
- local InputBegan = UserInputService.InputBegan:Connect(function(Input, GameProcessed)
- local Type = Input.UserInputType
- if not GameProcessed and ( Type == MouseButton1 or Type == Touch ) then
- local Target = Mouse.Target
- if Target and not Target.Anchored and not Target:IsDescendantOf(CharacterClone) and not Target:IsDescendantOf(Character) and not tablefind(Fling, Target) then
- local Parent = Target.Parent
- if Parent:IsA("Model") and Parent ~= Character and Parent:FindFirstChildOfClass("Humanoid") then
- local HumanoidRootPart = FindInstance(Parent, "BasePart", "HumanoidRootPart") or FindInstance(Parent, "BasePart", "Torso") or FindInstance(Parent, "BasePart", "Head")
- if HumanoidRootPart and not tablefind(Fling, HumanoidRootPart) then
- tableinsert(Fling, HumanoidRootPart)
- return
- end
- end
- tableinsert(Fling, Target)
- end
- end
- end)
- local function Part(Name, Size)
- local Part = Instancenew("Part")
- Part.Name = Name
- Part.Size = Size
- Part.Transparency = 1
- Part.Parent = CharacterClone
- return Part
- end
- local function Motor6D(Name, Part0, Part1, C0, C1)
- local Motor6D = Instancenew("Motor6D")
- Motor6D.Name = Name
- Motor6D.Part0 = Part0
- Motor6D.Part1 = Part1
- Motor6D.C0 = C0
- Motor6D.C1 = C1
- Motor6D.Parent = Part0
- return Motor6D
- end
- local function Attachment(Name, CFrame, Parent)
- local Attachment = Instancenew("Attachment")
- Attachment.Name = Name
- Attachment.CFrame = CFrame
- Attachment.Parent = Parent
- tableinsert(Attachments, Attachment)
- return Attachment
- end
- local LimbSize = Vector3new(1, 2, 1)
- local TorsoSize = Vector3new(2, 2, 1)
- local Head = Part("Head", Vector3new(2, 1, 1))
- local Torso = Part("Torso", TorsoSize)
- local LeftArm = Part("Left Arm", LimbSize)
- local RightArm = Part("Right Arm", LimbSize)
- local LeftLeg = Part("Left Leg", LimbSize)
- local RightLeg = Part("Right Leg", LimbSize)
- local HumanoidRootPart = Part("HumanoidRootPart", TorsoSize)
- local FakeRA = Instance.new("Part")
- FakeRA.Size = Vector3.new(1,2,1)
- FakeRA.Transparency = 1
- FakeRA.BrickColor = BrickColor.new("Institutional White")
- FakeRA.Parent = RightArm
- local FRAW = Instance.new("Weld")
- FRAW.Part0 = RightArm
- FRAW.Part1 = FakeRA
- FRAW.C0 = CFrame.new(0, 0, 0)
- FRAW.Parent = RightArm
- local FakeLA = Instance.new("Part")
- FakeLA.Size = Vector3.new(1,2,1)
- FakeLA.Transparency = 1
- FakeLA.BrickColor = BrickColor.new("Institutional White")
- FakeLA.Parent = LeftArm
- local FLAW = Instance.new("Weld")
- FLAW.Part0 = LeftArm
- FLAW.Part1 = FakeLA
- FLAW.C0 = CFrame.new(0, 0, 0)
- FLAW.Parent = LeftArm
- local Part = nil
- if Character then
- Part = FindInstance(Character, "BasePart", "HumanoidRootPart") or FindInstance(Character, "BasePart", "Head") or FindInstance(Character, "BasePart", "Torso") or FindInstance(Character, "BasePart", "UpperTorso")
- end
- if Part then
- HumanoidRootPart.CFrame = Part.CFrame
- else
- local SpawnLocations = { }
- for _, SpawnLocation in pairs(Workspace:GetDescendants()) do
- if SpawnLocation:IsA("SpawnLocation") then
- tableinsert(SpawnLocations, SpawnLocation)
- end
- end
- local Amount = # SpawnLocations
- if Amount > 0 then
- local SpawnLocation = SpawnLocations[mathrandom(1, Amount)]
- HumanoidRootPart.CFrame = SpawnLocation.CFrame * CFramenew(0, SpawnLocation.Size.Y / 2 + 3, 0)
- else
- HumanoidRootPart.CFrame = CFrameidentity
- end
- end
- local face = Instancenew("Decal")
- face.Name = "face"
- face.Parent = Head
- local AccessoryTable = {
- -- Paid --
- { Mesh = "14241018198", Texture = "14251599953", Instance = Torso },
- { Mesh = "14255522247", Texture = "14255543546", Instance = RightArm, CFrame = CFrameAngles(0, 1.57, 1.57) },
- { Mesh = "14255522247", Texture = "14255543546", Instance = LeftArm, CFrame = CFrameAngles(0, - 1.57, 1.57) },
- { Mesh = "14768684979", Texture = "14768683674", Instance = RightLeg, CFrame = CFrameAngles(0, - 1.57, 1.57) },
- { Mesh = "14768684979", Texture = "14768683674", Instance = LeftLeg, CFrame = CFrameAngles(0, 1.57, 1.57) },
- -- Paid (2) --
- { Mesh = "14241018198", Texture = "14251599953", Instance = Torso },
- { Mesh = "12344206657", Texture = "12344206675", Instance = RightArm, CFrame = CFrameAngles(-115, 0, 0) },
- { Mesh = "12344207333", Texture = "12344207341", Instance = LeftArm, CFrame = CFrameAngles(-115, 0, 0) },
- { Mesh = "11159370334", Texture = "11159284657", Instance = RightLeg, CFrame = CFrameAngles(0, - 1.57, 1.57) },
- { Mesh = "11263221350", Texture = "11263219250", Instance = LeftLeg, CFrame = CFrameAngles(0, 1.57, 1.57) },
- -- Free --
- { Mesh = "4819720316", Texture = "4819722776", Instance = Torso, CFrame = CFrameAngles(0, 0, 105) },
- { Mesh = "3030546036", Texture = "3033903209", Instance = RightArm, CFrame = CFrameAngles(-90, 0, -89.5) },
- { Mesh = "3030546036", Texture = "3360978739", Instance = LeftArm, CFrame = CFrameAngles(-90, 0, 89.5) },
- { Mesh = "3030546036", Texture = "3409604993", Instance = RightLeg, CFrame = CFrameAngles(-90, 0, -89.5) },
- { Mesh = "3030546036", Texture = "3033898741", Instance = LeftLeg, CFrame = CFrameAngles(-90, 0, 89.5) },
- -- DG 40 --
- { Mesh = "5135810417", Texture = "5135790044", Instance = FakeRA, CFrame = CFrameAngles(-0.10, -1.55, 1.45) * CFramenew(-2.55,0.35,0.15)},
- -- Cyber Heavy Revolver --
- { Mesh = "12830091831", Texture = "9990288940", Instance = FakeRA, CFrame = CFrameAngles(0.55, 0, 0) * CFramenew(0,-1.15,0.15)},
- -- Beanbag Shotgun --
- { Mesh = "14682184097", Texture = "14682167931", Instance = FakeRA, CFrame = CFrameAngles(0.05, 0, 3.15) * CFramenew(0,1.35,-0.25)},
- -- Starslayer Railgun --
- { Mesh = "4615369575", Texture = "4615393635", Instance = FakeRA, CFrame = CFrameAngles(-0.80, 1.55, 0) * CFramenew(1.45,-1,0)},
- -- MARKA-17M --
- { Mesh = "13753961447", Texture = "13760652946", Instance = FakeRA, CFrame = CFramenew(0,-1.45,-0.65) * CFrameAngles(0, -1.50, 0.75) },
- -- Pogo Stick --
- { Mesh = "10775011914", Texture = "10774853167", Instance = FakeRA, CFrame = CFramenew(0,-2.55,-0.65) * CFrameAngles(0, -1.55, 0.65) },
- -- Crystal Staff --
- { Mesh = "5548423017", Texture = "5548423938", Instance = FakeRA, CFrame = CFramenew(0,-1.65,-0) * CFrameAngles(0, -1.55, 0.60) },
- }
- for _, Table in pairs(AccessoryTable) do
- if type(Table.Mesh) ~= "string" then
- Table.Mesh = ""
- end
- if type(Table.Texture) ~= "string" then
- Table.Texture = ""
- end
- end
- Motor6D("Right Shoulder", Torso, RightArm, CFramenew(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0), CFramenew(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0))
- Motor6D("Left Shoulder", Torso, LeftArm, CFramenew(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0), CFramenew(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0))
- Motor6D("Right Hip", Torso, RightLeg, CFramenew(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0), CFramenew(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0))
- Motor6D("Left Hip", Torso, LeftLeg, CFramenew(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0), CFramenew(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0))
- Motor6D("Neck", Torso, Head, CFramenew(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), CFramenew(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0))
- Motor6D("RootJoint", HumanoidRootPart, Torso, CFramenew(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), CFramenew(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0))
- Attachment("HairAttachment", CFramenew(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Head)
- Attachment("HatAttachment", CFramenew(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Head)
- Attachment("FaceFrontAttachment", CFramenew(0, 0, -0.600000024, 1, 0, 0, 0, 1, 0, 0, 0, 1), Head)
- Attachment("FaceCenterAttachment", CFramenew(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Head)
- Attachment("NeckAttachment", CFramenew(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso)
- Attachment("BodyFrontAttachment", CFramenew(0, 0, -0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso)
- Attachment("BodyBackAttachment", CFramenew(0, 0, 0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso)
- Attachment("LeftCollarAttachment", CFramenew(-1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso)
- Attachment("RightCollarAttachment", CFramenew(1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso)
- Attachment("WaistFrontAttachment", CFramenew(0, -1, -0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso)
- Attachment("WaistCenterAttachment", CFramenew(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso)
- Attachment("WaistBackAttachment", CFramenew(0, -1, 0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso)
- Attachment("LeftShoulderAttachment", CFramenew(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), LeftArm)
- Attachment("LeftGripAttachment", CFramenew(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), LeftArm)
- Attachment("RightShoulderAttachment", CFramenew(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), RightArm)
- Attachment("RightGripAttachment", CFramenew(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), RightArm)
- Attachment("LeftFootAttachment", CFramenew(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), LeftLeg)
- Attachment("RightFootAttachment", CFramenew(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), RightLeg)
- Attachment("RootAttachment", CFramenew(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), HumanoidRootPart)
- local Humanoid = Instancenew("Humanoid", CharacterClone)
- Instancenew("Animator", Humanoid)
- Instancenew("LocalScript", CharacterClone).Name = "Animate"
- CharacterClone.PrimaryPart = Head
- CharacterClone.Parent = Workspace
- local function DescendantAdded(Instance)
- if Instance:IsA("Accessory") then
- taskspawn(function()
- local Handle = WaitForClassOfName(Instance, "BasePart", "Handle")
- local Attachment = WaitForClass(Handle, "Attachment")
- local Clone = Instance:Clone()
- local CloneHandle = FindInstance(Clone, "BasePart", "Handle")
- CloneHandle.Transparency = 1
- CloneHandle:BreakJoints()
- local AccessoryWeld = Instancenew("Weld")
- AccessoryWeld.Name = "AccessoryWeld"
- AccessoryWeld.Part0 = CloneHandle
- AccessoryWeld.C0 = Attachment.CFrame
- local Name = Attachment.Name
- for _, TableAttachment in pairs(Attachments) do
- if TableAttachment.Name == Name then
- AccessoryWeld.Part1 = TableAttachment.Parent
- AccessoryWeld.C1 = TableAttachment.CFrame
- end
- end
- AccessoryWeld.Parent = CloneHandle
- Clone.Parent = CharacterClone
- tableinsert(Accessories, Clone)
- local IsAMeshPart = CloneHandle:IsA("MeshPart")
- local Mesh = IsAMeshPart and CloneHandle or WaitForClass(CloneHandle, "SpecialMesh")
- local Id = IsAMeshPart and "TextureID" or "TextureId"
- for _, Table in pairs(AccessoryTable) do
- local Instance = Table.Instance
- if Instance then
- if stringmatch(Mesh.MeshId, Table.Mesh) and stringmatch(Mesh[Id], Table.Texture) and not tablefind(Blacklist, Instance) then
- tableinsert(Blacklist, Instance)
- tableinsert(Aligns, { Handle, Instance, Table.CFrame or CFrameidentity })
- return
- end
- end
- end
- tableinsert(Aligns, { Handle, CloneHandle, CFrameidentity })
- end)
- elseif Instance:IsA("JointInstance") then
- taskspawn(function()
- taskwait()
- Instance:Destroy()
- end)
- end
- end
- local function CharacterAdded(Character)
- if Character ~= CharacterClone then
- PostSimulation:Wait()
- local Backpack = LocalPlayer:FindFirstChildOfClass("Backpack")
- if Backpack then
- Backpack:ClearAllChildren()
- end
- tableclear(Aligns)
- tableclear(Blacklist)
- for _, Accessory in pairs(Accessories) do
- Accessory:Destroy()
- end
- local CurrentCameraCFrame = CurrentCamera.CFrame
- LocalPlayer.Character = CharacterClone
- CurrentCamera.CameraSubject = CharacterClone.Head
- taskspawn(function()
- CurrentCamera:GetPropertyChangedSignal("CFrame"):Wait()
- CurrentCamera.CFrame = CurrentCameraCFrame
- end)
- local CharacterHumanoidRootPart = WaitForClassOfName(Character, "BasePart", "HumanoidRootPart")
- for Index, Value in pairs(Fling) do
- local BasePart = nil
- if typeof(Value) == "Instance" then
- if Value:IsA("BasePart") then
- BasePart = Value
- elseif Value:IsA("Humanoid") then
- local Model = Value.Parent
- if Model ~= Character and Model:IsA("Model") then
- BasePart = FindInstance(Model, "BasePart", "HumanoidRootPart") or FindInstance(Model, "BasePart", "Head") or Model:FindFirstChildOfClass("BasePart")
- end
- elseif Value:IsA("Model") and Value ~= Character then
- BasePart = FindInstance(Value, "BasePart", "HumanoidRootPart") or FindInstance(Value, "BasePart", "Head") or Value:FindFirstChildOfClass("BasePart")
- end
- end
- if BasePart then
- local clock = osclock()
- while CharacterHumanoidRootPart and BasePart and osclock() - clock <= 1 and BasePart.AssemblyLinearVelocity.Magnitude <= 60 do
- CharacterHumanoidRootPart.AssemblyAngularVelocity = Velocity
- CharacterHumanoidRootPart.AssemblyLinearVelocity = Velocity
- CharacterHumanoidRootPart.CFrame = BasePart.CFrame + Vector3new(0, - 1, 0)
- PostSimulation:Wait()
- end
- end
- end
- tableclear(Fling)
- if CharacterHumanoidRootPart then
- CharacterHumanoidRootPart.AssemblyAngularVelocity = Vector3zero
- CharacterHumanoidRootPart.AssemblyLinearVelocity = Vector3zero
- CharacterHumanoidRootPart.CFrame = CFramenew(HumanoidRootPart.Position + Vector3new(mathrandom(- 32, 32), 0, mathrandom(- 32, 32)))
- PostSimulation:Wait()
- end
- Character:BreakJoints()
- for _, Instance in pairs(Character:GetDescendants()) do
- DescendantAdded(Instance)
- end
- Character.DescendantAdded:Connect(DescendantAdded)
- end
- end
- local function Align(Part0, Part1, CFrame)
- if Part0.ReceiveAge == 0 and not Part0.Anchored and # Part0:GetJoints() == 0 then
- Part0.AssemblyAngularVelocity = Vector3new(0, Angular, 0)
- local Part1CFrame = Part1.CFrame
- local LinearVelocity = Part1.AssemblyLinearVelocity * Linear
- local Magnitude = LinearVelocity.Magnitude < Linear
- if Magnitude then
- local LookVector = Part1CFrame.LookVector * Linear
- Part0.AssemblyLinearVelocity = Vector3new(LookVector.X, Linear, LookVector.Z)
- else
- Part0.AssemblyLinearVelocity = Vector3new(LinearVelocity.X, Linear, LinearVelocity.Z)
- end
- Part0.CFrame = Part1CFrame * ( Magnitude and Sleep or CFrameidentity ) * CFrame
- end
- end
- if Character then
- CharacterAdded(Character)
- end
- local Added = LocalPlayer.CharacterAdded:Connect(CharacterAdded)
- local Connection = game:FindFirstChildOfClass("RunService").PostSimulation:Connect(function()
- local osclock = osclock()
- local Axis = 0.004 * mathcos(osclock * 17.5)
- Sleep = CFramenew(0, Axis, 0)
- Angular = mathcos(osclock)
- Linear = 26
- for _, Table in pairs(Aligns) do
- Align(Table[1], Table[2], Table[3])
- end
- if sethiddenproperty then
- sethiddenproperty(LocalPlayer, "SimulationRadius", 10000000)
- end
- StarterGui:SetCore("ResetButtonCallback", BindableEvent) -- This is if it gets overriden, just like in MyWorld testing place.
- end)
- local function Event()
- CharacterClone:Destroy()
- end
- BindableEvent.Event:Connect(Event)
- CharacterClone:GetPropertyChangedSignal("Parent"):Connect(function()
- if not CharacterClone.Parent then
- Added:Disconnect()
- Connection:Disconnect()
- CharacterClone:Destroy()
- if BindableEvent then
- BindableEvent:Destroy()
- end
- StarterGui:SetCore("ResetButtonCallback", true)
- end
- end)
- BindableEvent:GetPropertyChangedSignal("Parent"):Connect(Event)
- game:GetService("StarterGui"):SetCore("SendNotification", {
- Title = "Melon's (FE) Converts/Scripts";
- Text = "Loaded successfully!";
- Icon = "rbxthumb://type=Asset&id=11561641603&w=150&h=150"})
- Duration = 3;
- script = game:GetObjects("rbxassetid://13198284674")[1]
- Chillmusic = Instance.new("Sound", workspace)
- Chillmusic.Parent = game.Chat
- Chillmusic.Volume = 8
- Chillmusic.SoundId = "rbxassetid://1221694420"
- Chillmusic.Looped = true
- Chillmusic:Play()
- local txt = Instance.new("BillboardGui", char)
- txt.Adornee = char.Head
- txt.Name = "_status"
- txt.Size = UDim2.new(2, 0, 1.2, 0)
- txt.StudsOffset = Vector3.new(-9, 8, 0)
- local text = Instance.new("TextLabel", txt)
- text.Size = UDim2.new(10, 0, 7, 0)
- text.FontSize = "Size24"
- text.TextScaled = true
- text.TextTransparency = 0
- text.BackgroundTransparency = 1
- text.TextTransparency = 0
- text.TextStrokeTransparency = 0
- text.Font = "Arcade"
- text.TextStrokeColor3 = Color3.new(0, 0, 0)
- v = Instance.new("Part")
- v.Name = "ColorBrick"
- v.Parent = workspace["CloneCharacter"]
- v.FormFactor = "Symmetric"
- v.Anchored = true
- v.CanCollide = false
- v.BottomSurface = "Smooth"
- v.TopSurface = "Smooth"
- v.Size = Vector3.new(10, 5, 3)
- v.Transparency = 1
- v.CFrame = char.Torso.CFrame
- v.BrickColor = BrickColor.new("Really black")
- v.Transparency = 1
- spawn(function()
- TweenService = game:GetService("TweenService")
- Colours = {Color3.fromRGB(0,100,200),Color3.fromRGB(4, 175, 236)}
- Int = 0
- while wait(2) do
- if Int == #Colours then Int = 0 end
- Int = Int+1
- TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
- end
- end)
- v.Shape = "Block"
- text.Text = "~»Chill Af«~"
- Player = game:GetService("Players").LocalPlayer
- Character = workspace["CloneCharacter"]
- PlayerGui = Player.PlayerGui
- Backpack = Player.Backpack
- Torso = Character.Torso
- Head = Character.Head
- Humanoid = Character.Humanoid
- m = Instance.new("Model", Character)
- LeftArm = Character["Left Arm"]
- LeftLeg = Character["Left Leg"]
- RightArm = Character["Right Arm"]
- RightLeg = Character["Right Leg"]
- LS = Torso["Left Shoulder"]
- LH = Torso["Left Hip"]
- RS = Torso["Right Shoulder"]
- RH = Torso["Right Hip"]
- Face = Head.face
- Neck = Torso.Neck
- it = Instance.new
- attacktype = 1
- vt = Vector3.new
- cf = CFrame.new
- bc = BrickColor.new
- br = BrickColor.random
- it = Instance.new
- euler = CFrame.fromEulerAnglesXYZ
- angles = CFrame.Angles
- cloaked = false
- necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- RootPart = Character.HumanoidRootPart
- RootJoint = RootPart.RootJoint
- RootCF = euler(-1.57, 0, 3.14)
- attack = false
- attackdebounce = false
- equipped = false
- trispeed = 0.2
- attackmode = "none"
- local idle = 0
- local Anim = "Idle"
- Head.face.Texture = "rbxassetid://206844132"
- local Trail = Instance.new("Trail",char)
- local attachment0 = Instance.new("Attachment",char["Right Arm"])
- attachment0.Name = "TrailAttachment0"
- attachment0.CFrame = CFrame.new(-0.25,-1,0)
- local attachment1 = Instance.new("Attachment",char["Right Arm"])
- attachment1.CFrame = CFrame.new(0.25,-1,0)
- attachment1.Name = "TrailAttachment1"
- Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
- Trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,0,0)),ColorSequenceKeypoint.new(0.2,Color3.new(1,1,0)),ColorSequenceKeypoint.new(0.4,Color3.new(0,1,0)),ColorSequenceKeypoint.new(0.6,Color3.new(0,1,1)),ColorSequenceKeypoint.new(0.8,Color3.new(0,0,1)),ColorSequenceKeypoint.new(1,Color3.new(0,0,1))})
- Trail.Lifetime = 0.5
- Trail.Attachment0 = attachment0
- Trail.Attachment1 = attachment1
- local Trail = Instance.new("Trail",char)
- local attachment0 = Instance.new("Attachment",char["Left Arm"])
- attachment0.Name = "TrailAttachment0"
- attachment0.CFrame = CFrame.new(-0.25,-1,0)
- local attachment1 = Instance.new("Attachment",char["Left Arm"])
- attachment1.CFrame = CFrame.new(0.25,-1,0)
- attachment1.Name = "TrailAttachment1"
- Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
- Trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,0,0)),ColorSequenceKeypoint.new(0.2,Color3.new(1,1,0)),ColorSequenceKeypoint.new(0.4,Color3.new(0,1,0)),ColorSequenceKeypoint.new(0.6,Color3.new(0,1,1)),ColorSequenceKeypoint.new(0.8,Color3.new(0,0,1)),ColorSequenceKeypoint.new(1,Color3.new(0,0,1))})
- Trail.Lifetime = 0.5
- Trail.Attachment0 = attachment0
- Trail.Attachment1 = attachment1
- local Trail = Instance.new("Trail",char)
- local attachment0 = Instance.new("Attachment",char["Right Leg"])
- attachment0.Name = "TrailAttachment0"
- attachment0.CFrame = CFrame.new(-0.25,-1,0)
- local attachment1 = Instance.new("Attachment",char["Right Leg"])
- attachment1.CFrame = CFrame.new(0.25,-1,0)
- attachment1.Name = "TrailAttachment1"
- Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
- Trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,0,0)),ColorSequenceKeypoint.new(0.2,Color3.new(1,1,0)),ColorSequenceKeypoint.new(0.4,Color3.new(0,1,0)),ColorSequenceKeypoint.new(0.6,Color3.new(0,1,1)),ColorSequenceKeypoint.new(0.8,Color3.new(0,0,1)),ColorSequenceKeypoint.new(1,Color3.new(0,0,1))})
- Trail.Lifetime = 0.5
- Trail.Attachment0 = attachment0
- Trail.Attachment1 = attachment1
- local Trail = Instance.new("Trail",char)
- local attachment0 = Instance.new("Attachment",char["Left Leg"])
- attachment0.Name = "TrailAttachment0"
- attachment0.CFrame = CFrame.new(-0.25,-1,0)
- local attachment1 = Instance.new("Attachment",char["Left Leg"])
- attachment1.CFrame = CFrame.new(0.25,-1,0)
- attachment1.Name = "TrailAttachment1"
- Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
- Trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,0,0)),ColorSequenceKeypoint.new(0.2,Color3.new(1,1,0)),ColorSequenceKeypoint.new(0.4,Color3.new(0,1,0)),ColorSequenceKeypoint.new(0.6,Color3.new(0,1,1)),ColorSequenceKeypoint.new(0.8,Color3.new(0,0,1)),ColorSequenceKeypoint.new(1,Color3.new(0,0,1))})
- Trail.Lifetime = 0.5
- Trail.Attachment0 = attachment0
- Trail.Attachment1 = attachment1
- Humanoid.Animator.Parent = nil
- Character.Animate.Parent = nil
- function FindNearestTorso(Position, Distance, SinglePlayer)
- if SinglePlayer then
- return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
- end
- local List = {}
- for i, v in pairs(workspace:GetChildren()) do
- if v:IsA("Model") and v:findFirstChild("Torso") and v ~= Character and Distance >= (v.Torso.Position - Position).magnitude then
- table.insert(List, v)
- end
- end
- return List
- end
- function lerp(a, b, t)
- return a + (b - a) * t
- end
- function slerp(a, b, t)
- dot = a:Dot(b)
- if dot > 0.99999 or dot < -0.99999 then
- return t <= 0.5 and a or b
- else
- r = math.acos(dot)
- return (a * math.sin((1 - t) * r) + b * math.sin(t * r)) / math.sin(r)
- end
- end
- function matrixInterpolate(a, b, t)
- local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
- local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
- local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx, by, bz), t)
- local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t)
- local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t)
- local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t)
- local t = v1:Dot(v2)
- if not (t < 0) and t ~= 0 and not (t > 0) then
- return CFrame.new()
- end
- return CFrame.new(v0.x, v0.y, v0.z, v1.x, v1.y, v1.z, v2.x, v2.y, v2.z, v3.x, v3.y, v3.z)
- end
- function genWeld(a, b)
- local w = Instance.new("Weld", a)
- w.Part0 = a
- w.Part1 = b
- return w
- end
- function weld(a, b)
- local weld = Instance.new("Weld")
- weld.Name = "W"
- weld.Part0 = a
- weld.Part1 = b
- weld.C0 = a.CFrame:inverse() * b.CFrame
- weld.Parent = a
- return weld
- end
- function Lerp(c1, c2, al)
- local com1 = {
- c1.X,
- c1.Y,
- c1.Z,
- c1:toEulerAnglesXYZ()
- }
- local com2 = {
- c2.X,
- c2.Y,
- c2.Z,
- c2:toEulerAnglesXYZ()
- }
- for i, v in pairs(com1) do
- com1[i] = v + (com2[i] - v) * al
- end
- return CFrame.new(com1[1], com1[2], com1[3]) * CFrame.Angles(select(4, unpack(com1)))
- end
- function clerp(a, b, t)
- local qa = {
- QuaternionFromCFrame(a)
- }
- local qb = {
- QuaternionFromCFrame(b)
- }
- local ax, ay, az = a.x, a.y, a.z
- local bx, by, bz = b.x, b.y, b.z
- local _t = 1 - t
- return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
- end
- function QuaternionFromCFrame(cf)
- local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
- local trace = m00 + m11 + m22
- if trace > 0 then
- local s = math.sqrt(1 + trace)
- local recip = 0.5 / s
- return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
- else
- local i = 0
- if m00 < m11 then
- i = 1
- end
- if m22 > (i == 0 and m00 or m11) then
- i = 2
- end
- if i == 0 then
- local s = math.sqrt(m00 - m11 - m22 + 1)
- local recip = 0.5 / s
- return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
- elseif i == 1 then
- local s = math.sqrt(m11 - m22 - m00 + 1)
- local recip = 0.5 / s
- return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
- elseif i == 2 then
- local s = math.sqrt(m22 - m00 - m11 + 1)
- local recip = 0.5 / s
- return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
- end
- end
- end
- function QuaternionToCFrame(px, py, pz, x, y, z, w)
- local xs, ys, zs = x + x, y + y, z + z
- local wx, wy, wz = w * xs, w * ys, w * zs
- local xx = x * xs
- local xy = x * ys
- local xz = x * zs
- local yy = y * ys
- local yz = y * zs
- local zz = z * zs
- 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))
- end
- function QuaternionSlerp(a, b, t)
- local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
- local startInterp, finishInterp
- if cosTheta >= 1.0E-4 then
- if 1 - cosTheta > 1.0E-4 then
- local theta = math.acos(cosTheta)
- local invSinTheta = 1 / math.sin(theta)
- startInterp = math.sin((1 - t) * theta) * invSinTheta
- finishInterp = math.sin(t * theta) * invSinTheta
- else
- startInterp = 1 - t
- finishInterp = t
- end
- elseif 1 + cosTheta > 1.0E-4 then
- local theta = math.acos(-cosTheta)
- local invSinTheta = 1 / math.sin(theta)
- startInterp = math.sin((t - 1) * theta) * invSinTheta
- finishInterp = math.sin(t * theta) * invSinTheta
- else
- startInterp = t - 1
- finishInterp = t
- end
- 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
- end
- function rayCast(Pos, Dir, Max, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
- end
- function part(formfactor, parent, reflectance, transparency, brickcolor, name, size)
- local fp = it("Part")
- fp.formFactor = formfactor
- fp.Parent = parent
- fp.Reflectance = reflectance
- fp.Transparency = transparency
- fp.CanCollide = false
- fp.Locked = true
- fp.BrickColor = brickcolor
- fp.Name = name
- fp.Size = size
- fp.Position = Torso.Position
- fp.BottomSurface = "Smooth"
- fp.TopSurface = "Smooth"
- fp:BreakJoints()
- return fp
- end
- function mesh(Mesh, part, meshtype, meshid, offset, scale)
- local mesh = it(Mesh)
- mesh.Parent = part
- if Mesh == "SpecialMesh" then
- mesh.MeshType = meshtype
- mesh.MeshId = meshid
- end
- mesh.Offset = offset
- mesh.Scale = scale
- return mesh
- end
- function weld(parent, part0, part1, c0)
- local weld = it("Weld")
- weld.Parent = parent
- weld.Part0 = part0
- weld.Part1 = part1
- weld.C0 = c0
- return weld
- end
- function rayCast(Pos, Dir, Max, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
- end
- RSH, LSH = nil, nil
- RW, LW = Instance.new("Weld"), Instance.new("Weld")
- RW.Name = "Right Shoulder"
- LW.Name = "Left Shoulder"
- LH = Torso["Left Hip"]
- RH = Torso["Right Hip"]
- TorsoColor = Torso.BrickColor
- function NoOutline(Part)
- Part.TopSurface, Part.BottomSurface, Part.LeftSurface, Part.RightSurface, Part.FrontSurface, Part.BackSurface = 10, 10, 10, 10, 10, 10
- end
- player = Player
- ch = Character
- RSH = ch.Torso["Right Shoulder"]
- LSH = ch.Torso["Left Shoulder"]
- RSH.Parent = nil
- LSH.Parent = nil
- RW.Name = "Right Shoulder"
- RW.Part0 = ch.Torso
- RW.C0 = cf(1.5, 0.5, 0)
- RW.C1 = cf(0, 0.5, 0)
- RW.Part1 = ch["Right Arm"]
- RW.Parent = ch.Torso
- LW.Name = "Left Shoulder"
- LW.Part0 = ch.Torso
- LW.C0 = cf(-1.5, 0.5, 0)
- LW.C1 = cf(0, 0.5, 0)
- LW.Part1 = ch["Left Arm"]
- LW.Parent = ch.Torso
- function newWeld(wp0, wp1, wc0x, wc0y, wc0z)
- local wld = Instance.new("Weld", wp1)
- wld.Part0 = wp0
- wld.Part1 = wp1
- wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
- end
- newWeld(RootPart, Torso, 0, -1, 0)
- Torso.Weld.C1 = CFrame.new(0, -1, 0)
- newWeld(Torso, LeftLeg, -0.5, -1, 0)
- LeftLeg.Weld.C1 = CFrame.new(0, 1, 0)
- newWeld(Torso, RightLeg, 0.5, -1, 0)
- RightLeg.Weld.C1 = CFrame.new(0, 1, 0)
- Player = game:GetService("Players").LocalPlayer
- Character = workspace["CloneCharacter"]
- mouse = Player:GetMouse()
- m = Instance.new("Model", Character)
- local weldBetween = function(a, b)
- local weldd = Instance.new("ManualWeld")
- weldd.Part0 = a
- weldd.Part1 = b
- weldd.C0 = CFrame.new()
- weldd.C1 = b.CFrame:inverse() * a.CFrame
- weldd.Parent = a
- return weldd
- end
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "Heartbeat"
- script:WaitForChild("Heartbeat")
- frame = 0.016666666666666666
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.Heartbeat:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.Heartbeat:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- function swait(num)
- if num == 0 or num == nil then
- ArtificialHB.Event:wait()
- else
- for i = 0, num do
- ArtificialHB.Event:wait()
- end
- end
- end
- mouse.KeyDown:connect(function(key)
- if key == "c" then
- repeat
- swait()
- Chillmusic.Volume = Chillmusic.Volume - 0.05
- until Chillmusic.Volume == 0
- Chillmusic:Stop()
- swait()
- Chillmusic2:Play()
- Chillmusic.Volume = 1
- end
- end)
- mouse.KeyDown:connect(function(key)
- if key == "f" then
- text.Text = "Guys why not just chill?"
- wait(1)
- text.Text = "It's just the way life should be."
- wait(1)
- text.Text = "Chill is life."
- wait(1)
- text.Text = "Chill is love."
- wait(1)
- text.Text = "Chill is for the best."
- wait(1)
- text.Text = "Maybe if you were chill you wouldn't be a skid..."
- wait(3)
- text.Text = "But some people cant handle the chill can they."
- wait(3)
- text.Text = "Chill Af"
- end
- end)
- mouse.KeyDown:connect(function(key)
- if key == "v" then
- repeat
- swait()
- Chillmusic2.Volume = Chillmusic2.Volume - 0.05
- until Chillmusic2.Volume == 0
- Chillmusic2:Stop()
- swait()
- Chillmusic:Play()
- Chillmusic2.Volume = 1
- end
- end)
- mouse.KeyDown:connect(function(key)
- if key == "b" then
- text.Text = "Be back scrubs."
- wait(1)
- text.Text = "Afk nibba..."
- end
- end)
- mouse.KeyDown:connect(function(key)
- if key == "n" then
- text.Text = "K back you nubs's!"
- wait(1)
- text.Text = "Chill Af"
- end
- end)
- m = Instance.new("ForceField", Character)
- m.Visible = false
- Character.Humanoid.WalkSpeed = 4
- mouse.KeyDown:connect(function(key)
- if string.byte(key) == 48 then
- Swing = 2
- Character.Humanoid.WalkSpeed = 40
- end
- end)
- mouse.KeyUp:connect(function(key)
- if string.byte(key) == 48 then
- Swing = 1
- Character.Humanoid.WalkSpeed = 4
- end
- end)
- local sine = 0
- local change = 1
- local val = 0
- spawn(function()
- while true do
- swait()
- sine = sine + change
- local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- local velderp = RootPart.Velocity.y
- hitfloor, posfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
- if equipped == true or equipped == false then
- if attack == false then
- idle = idle + 1
- Character.Humanoid.MaxHealth = math.huge
- Character.Humanoid.Health = math.huge
- else
- idle = 0
- end
- if not (idle >= 500) or attack == false then
- end
- if torvel < 1 and hitfloor ~= nil then
- Anim = "Chill"
- if attack == false then
- Humanoid.CameraOffset = Vector3.new(0, 10.25 - 5.45 * math.cos(sine / 65), 0)
- Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 10.25 - 5.45 * math.cos(sine / 65), 0) * CFrame.Angles(math.rad(90 + 15 * math.sin(sine / 60)), math.rad(0), math.rad(0)), 0.8)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20 + 20 * math.cos(sine / 60)), math.rad(0 + 4 * math.sin(sine / 60)), math.rad(0)), 0.2)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-90 + 25 * math.cos(sine / 60)), math.rad(0 + 20 * math.sin(sine / 60)), math.rad(0 + 55 * math.sin(sine / 60))), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-90 + 25 * math.cos(sine / 60)), math.rad(-20 - 20 * math.sin(sine / 60)), math.rad(0 - 55 * math.sin(sine / 60))), 0.3)
- LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -0.86 + 0.03 * math.cos(sine / 65), -0.4) * CFrame.Angles(math.rad(15 - 45 * math.cos(sine / 70)), math.rad(3), math.rad(-4)), 0.8)
- RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1 + 0.05 * math.cos(sine / 65), -0.4) * CFrame.Angles(math.rad(15 - 35 * math.cos(sine / 65)), math.rad(-3), math.rad(4)), 0.8)
- end
- elseif torvel > 2 and torvel < 22 and hitfloor ~= nil then
- Anim = "Walk"
- if attack == false then
- Humanoid.CameraOffset = Vector3.new(0, 6 - 2.55 * math.cos(sine / 48.5), 0)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), 0.2)
- Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 6 - 2.55 * math.cos(sine / 48.5), 0) * CFrame.Angles(math.rad(-90 + 5 * math.cos(sine / 45)), math.rad(180 * math.cos(sine / 48.5)), math.rad(0)), 0.8)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-4 + 2 * math.sin(sine / 48)), math.rad(0), math.rad(0)), 0.2)
- RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + 0.1 * math.cos(sine / 45), 0) * angles(math.rad(90), math.rad(0), math.rad(90 - 20.5 * math.cos(sine / 45))), 0.3)
- LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + 0.1 * math.cos(sine / 45), 0) * angles(math.rad(90), math.rad(0), math.rad(-90 + 20.5 * math.cos(sine / 45))), 0.3)
- LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1 - 0.05 * math.cos(sine / 45), 0) * CFrame.Angles(math.rad(0), math.rad(3), math.rad(-4)), 0.8)
- RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1 + 0.05 * math.cos(sine / 45), 0) * CFrame.Angles(math.rad(0), math.rad(-3), math.rad(4)), 0.8)
- end
- elseif torvel >= 22 and hitfloor ~= nil then
- Anim = "Run"
- if attack == false then
- Humanoid.CameraOffset = Vector3.new(0, 6 - 1.55 * math.cos(sine / 68.5), 0)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 6 - 1.55 * math.cos(sine / 68.5), -0.2) * angles(math.rad(50), math.rad(0), math.rad(0)), 0.2)
- Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 6 - 1.55 * math.cos(sine / 68.5), 0) * CFrame.Angles(math.rad(-40 + 20 * math.sin(sine / 68.5)), 0, 0), 0.8)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-12 + 17 * math.cos(sine / 68.5)), math.rad(0), math.rad(0)), 0.2)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-90), math.rad(0), math.rad(40 - 20 * math.cos(sine / 68.5))), 0.2)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-90), math.rad(0), math.rad(-40 + 20 * math.cos(sine / 68.5))), 0.2)
- LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -0.87, -0.25) * CFrame.Angles(math.rad(-45 - 10 * math.cos(sine / 68.5)), math.rad(0), math.rad(0)), 0.8)
- RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1, -0.1) * CFrame.Angles(math.rad(-35 - 10 * math.cos(sine / 68.5)), math.rad(0), math.rad(0)), 0.8)
- end
- end
- end
- end
- end)
- -- Objects
- local Chill_Gui_Bro = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
- local Header = Instance.new("Frame")
- local BackGround = Instance.new("Frame")
- local Chill_Gui_Label = Instance.new("TextLabel")
- local Play_ID_Button = Instance.new("TextButton")
- local ID_Box = Instance.new("TextBox")
- local Set_Vol_Button = Instance.new("TextButton")
- local Vol_Box = Instance.new("TextBox")
- local Set_Tpos_Button = Instance.new("TextButton")
- local Tpos_Box = Instance.new("TextBox")
- local Set_Text_Button = Instance.new("TextButton")
- local Tpos_Box_2 = Instance.new("TextBox")
- local Toggle_Chat_Button = Instance.new("TextButton")
- local Chat_Toggle_Label = Instance.new("TextLabel")
- local Current_Song_Label = Instance.new("TextLabel")
- -- Properties
- Chill_Gui_Bro.Name = "Chill_Gui_Bro"
- Header.Name = "Header"
- Header.Parent = Chill_Gui_Bro
- Header.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- Header.BorderSizePixel = 0
- Header.Draggable = true
- Header.Active = true
- Header.Selectable = true
- Header.Position = UDim2.new(0.469539374, 0, 0.147921771, 0)
- Header.Size = UDim2.new(0, 250, 0, 45)
- BackGround.Name = "BackGround"
- BackGround.Parent = Header
- BackGround.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
- BackGround.BorderSizePixel = 0
- BackGround.Draggable = true
- BackGround.Position = UDim2.new(0, 0, 1, 0)
- BackGround.Size = UDim2.new(0, 250, 0, 299)
- Chill_Gui_Label.Name = "Chill_Gui_Label"
- Chill_Gui_Label.Parent = Header
- Chill_Gui_Label.BackgroundColor3 = Color3.new(1, 1, 1)
- Chill_Gui_Label.BackgroundTransparency = 1
- Chill_Gui_Label.BorderSizePixel = 0
- Chill_Gui_Label.Draggable = true
- Chill_Gui_Label.Size = UDim2.new(0, 250, 0, 45)
- Chill_Gui_Label.Font = Enum.Font.Arcade
- Chill_Gui_Label.Text = "~»Chill Gui«~"
- Chill_Gui_Label.TextColor3 = Color3.new(1, 1, 1)
- Chill_Gui_Label.TextScaled = true
- Chill_Gui_Label.TextSize = 14
- Chill_Gui_Label.TextWrapped = true
- Play_ID_Button.Name = "Play_ID_Button"
- Play_ID_Button.Parent = Header
- Play_ID_Button.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- Play_ID_Button.BorderColor3 = Color3.new(0, 0, 0)
- Play_ID_Button.BorderSizePixel = 0
- Play_ID_Button.Position = UDim2.new(0.0520000011, 0, 1.22222221, 0)
- Play_ID_Button.Size = UDim2.new(0, 68, 0, 35)
- Play_ID_Button.Font = Enum.Font.Arcade
- Play_ID_Button.Text = "Play ID"
- Play_ID_Button.TextColor3 = Color3.new(1, 1, 1)
- Play_ID_Button.TextSize = 20
- Play_ID_Button.TextWrapped = true
- ID_Box.Name = "ID_Box"
- ID_Box.Parent = Header
- ID_Box.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- ID_Box.BorderColor3 = Color3.new(0, 0, 0)
- ID_Box.BorderSizePixel = 0
- ID_Box.Position = UDim2.new(0.356000006, 0, 1.22222221, 0)
- ID_Box.Size = UDim2.new(0, 140, 0, 35)
- ID_Box.Font = Enum.Font.Arcade
- ID_Box.Text = "ID here"
- ID_Box.TextColor3 = Color3.new(1, 1, 1)
- ID_Box.TextSize = 35
- ID_Box.TextWrapped = true
- Set_Vol_Button.Name = "Set_Vol_Button"
- Set_Vol_Button.Parent = Header
- Set_Vol_Button.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- Set_Vol_Button.BorderColor3 = Color3.new(0, 0, 0)
- Set_Vol_Button.BorderSizePixel = 0
- Set_Vol_Button.Position = UDim2.new(0.0520000011, 0, 2.20000005, 0)
- Set_Vol_Button.Size = UDim2.new(0, 68, 0, 35)
- Set_Vol_Button.Font = Enum.Font.Arcade
- Set_Vol_Button.Text = "Set Vol"
- Set_Vol_Button.TextColor3 = Color3.new(1, 1, 1)
- Set_Vol_Button.TextSize = 20
- Set_Vol_Button.TextWrapped = true
- Vol_Box.Name = "Vol_Box"
- Vol_Box.Parent = Header
- Vol_Box.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- Vol_Box.BorderColor3 = Color3.new(0, 0, 0)
- Vol_Box.BorderSizePixel = 0
- Vol_Box.Position = UDim2.new(0.356000006, 0, 2.20000005, 0)
- Vol_Box.Size = UDim2.new(0, 140, 0, 35)
- Vol_Box.Font = Enum.Font.Arcade
- Vol_Box.Text = "Volume"
- Vol_Box.TextColor3 = Color3.new(1, 1, 1)
- Vol_Box.TextSize = 35
- Vol_Box.TextWrapped = true
- Set_Tpos_Button.Name = "Set_Tpos_Button"
- Set_Tpos_Button.Parent = Header
- Set_Tpos_Button.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- Set_Tpos_Button.BorderColor3 = Color3.new(0, 0, 0)
- Set_Tpos_Button.BorderSizePixel = 0
- Set_Tpos_Button.Position = UDim2.new(0.0520000011, 0, 3.24444437, 0)
- Set_Tpos_Button.Size = UDim2.new(0, 68, 0, 35)
- Set_Tpos_Button.Font = Enum.Font.Arcade
- Set_Tpos_Button.Text = "Set Tpos"
- Set_Tpos_Button.TextColor3 = Color3.new(1, 1, 1)
- Set_Tpos_Button.TextSize = 18
- Set_Tpos_Button.TextWrapped = true
- Tpos_Box.Name = "Tpos_Box"
- Tpos_Box.Parent = Header
- Tpos_Box.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- Tpos_Box.BorderColor3 = Color3.new(0, 0, 0)
- Tpos_Box.BorderSizePixel = 0
- Tpos_Box.Position = UDim2.new(0.356000006, 0, 3.24444437, 0)
- Tpos_Box.Size = UDim2.new(0, 140, 0, 35)
- Tpos_Box.Font = Enum.Font.Arcade
- Tpos_Box.Text = "Time Position"
- Tpos_Box.TextColor3 = Color3.new(1, 1, 1)
- Tpos_Box.TextSize = 20
- Tpos_Box.TextWrapped = true
- Set_Text_Button.Name = "Set_Text_Button"
- Set_Text_Button.Parent = Header
- Set_Text_Button.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- Set_Text_Button.BorderColor3 = Color3.new(0, 0, 0)
- Set_Text_Button.BorderSizePixel = 0
- Set_Text_Button.Position = UDim2.new(0.0600000024, 0, 4.22222233, 0)
- Set_Text_Button.Size = UDim2.new(0, 68, 0, 35)
- Set_Text_Button.Font = Enum.Font.Arcade
- Set_Text_Button.Text = "Set Text"
- Set_Text_Button.TextColor3 = Color3.new(1, 1, 1)
- Set_Text_Button.TextSize = 18
- Set_Text_Button.TextWrapped = true
- Tpos_Box_2.Name = "Tpos_Box"
- Tpos_Box_2.Parent = Header
- Tpos_Box_2.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- Tpos_Box_2.BorderColor3 = Color3.new(0, 0, 0)
- Tpos_Box_2.BorderSizePixel = 0
- Tpos_Box_2.Position = UDim2.new(0.356000006, 0, 4.22222233, 0)
- Tpos_Box_2.Size = UDim2.new(0, 140, 0, 35)
- Tpos_Box_2.Font = Enum.Font.Arcade
- Tpos_Box_2.Text = "Text"
- Tpos_Box_2.TextColor3 = Color3.new(1, 1, 1)
- Tpos_Box_2.TextSize = 20
- Tpos_Box_2.TextWrapped = true
- Toggle_Chat_Button.Name = "Toggle_Chat_Button"
- Toggle_Chat_Button.Parent = Header
- Toggle_Chat_Button.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- Toggle_Chat_Button.BorderColor3 = Color3.new(0, 0, 0)
- Toggle_Chat_Button.BorderSizePixel = 0
- Toggle_Chat_Button.Position = UDim2.new(0.0579999983, 0, 5.26666689, 0)
- Toggle_Chat_Button.Size = UDim2.new(0, 97, 0, 35)
- Toggle_Chat_Button.Font = Enum.Font.Arcade
- Toggle_Chat_Button.Text = "Toggle Chat"
- Toggle_Chat_Button.TextColor3 = Color3.new(1, 1, 1)
- Toggle_Chat_Button.TextSize = 20
- Toggle_Chat_Button.TextWrapped = true
- Chat_Toggle_Label.Name = "Chat_Toggle_Label"
- Chat_Toggle_Label.Parent = Header
- Chat_Toggle_Label.BackgroundColor3 = Color3.new(1, 1, 1)
- Chat_Toggle_Label.BackgroundTransparency = 0.89999997615814
- Chat_Toggle_Label.BorderColor3 = Color3.new(1, 1, 1)
- Chat_Toggle_Label.Position = UDim2.new(0.540000021, 0, 5.26666689, 0)
- Chat_Toggle_Label.Size = UDim2.new(0, 94, 0, 35)
- Chat_Toggle_Label.Font = Enum.Font.Arcade
- Chat_Toggle_Label.Text = "~»False«~"
- Chat_Toggle_Label.TextColor3 = Color3.new(1, 1, 1)
- Chat_Toggle_Label.TextScaled = true
- Chat_Toggle_Label.TextSize = 14
- Chat_Toggle_Label.TextWrapped = true
- Current_Song_Label.Name = "Current_Song_Label"
- Current_Song_Label.Parent = Header
- Current_Song_Label.BackgroundColor3 = Color3.new(1, 1, 1)
- Current_Song_Label.BackgroundTransparency = 0.89999997615814
- Current_Song_Label.BorderColor3 = Color3.new(1, 1, 1)
- Current_Song_Label.Position = UDim2.new(0.0520000011, 0, 6.64444447, 0)
- Current_Song_Label.Size = UDim2.new(0, 225, 0, 35)
- Current_Song_Label.Font = Enum.Font.Arcade
- Current_Song_Label.Text = "~»Current Song: None«~"
- Current_Song_Label.TextColor3 = Color3.new(1, 1, 1)
- Current_Song_Label.TextScaled = true
- Current_Song_Label.TextSize = 14
- Current_Song_Label.TextWrapped = true
- Play_ID_Button.MouseButton1Down:Connect(function()
- if tonumber(ID_Box.Text) then
- Chillmusic:Stop()
- Chillmusic.SoundId='rbxassetid://'..tonumber(ID_Box.Text)
- Chillmusic:Play()
- currentsong = game:GetService("MarketplaceService"):GetProductInfo(tonumber(ID_Box.Text)).Name
- text.Text = "~»Chill Af«~ Now Playing: "..currentsong
- Current_Song_Label.Text = "~»Current Song: "..currentsong.."«~"
- wait(4)
- text.Text = "~»Fell Apart AF«~"
- end
- end)
- local ischatting = false
- Set_Vol_Button.MouseButton1Down:Connect(function()
- Chillmusic.Volume = tonumber(Vol_Box.Text)
- end)
- Set_Tpos_Button.MouseButton1Down:Connect(function()
- Chillmusic.TimePosition = tonumber(Tpos_Box.Text)
- end)
- Set_Text_Button.MouseButton1Down:Connect(function()
- text.Text = "~»"..Tpos_Box_2.Text.."«~"
- end)
- Toggle_Chat_Button.MouseButton1Down:Connect(function()
- if ischatting == false then
- ischatting = true
- Chat_Toggle_Label.Text = "~»True«~"
- spawn(function()
- game.Players.LocalPlayer.Chatted:connect(function(msg)
- for i = 0, msg:len(), 1 do
- text.Text = "~»"..msg:sub(0, i).."«~"
- end
- wait(3)
- text.Text = "~»Fell Apart AF«~"
- end)
- end)
- else
- ischatting = false
- Chat_Toggle_Label.Text = "~»False«~"
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement