Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ovcstuff = Instance.new("Folder")
- ovcstuff.Parent = game.Lighting
- ovcstuff.Name = "OVCstuff"
- mas = owner.Character
- Model0 = Instance.new("Model")
- Part1 = Instance.new("Part")
- Weld2 = Instance.new("Weld")
- Weld3 = Instance.new("Weld")
- Part4 = Instance.new("Part")
- SurfaceGui5 = Instance.new("SurfaceGui")
- Frame6 = Instance.new("Frame")
- Frame7 = Instance.new("Frame")
- Frame8 = Instance.new("Frame")
- Frame9 = Instance.new("Frame")
- UIListLayout10 = Instance.new("UIListLayout")
- TextBox11 = Instance.new("TextBox")
- TextBox12 = Instance.new("TextBox")
- TextBox13 = Instance.new("TextBox")
- TextBox14 = Instance.new("TextBox")
- TextBox15 = Instance.new("TextBox")
- TextBox16 = Instance.new("TextBox")
- TextBox17 = Instance.new("TextBox")
- Part18 = Instance.new("Part")
- SurfaceGui19 = Instance.new("SurfaceGui")
- Frame20 = Instance.new("Frame")
- Frame21 = Instance.new("Frame")
- Frame22 = Instance.new("Frame")
- Frame23 = Instance.new("Frame")
- UIListLayout24 = Instance.new("UIListLayout")
- TextBox25 = Instance.new("TextBox")
- Model0.Name = "console"
- Model0.Parent = mas
- Part1.Name = "weld"
- Part1.Parent = Model0
- Part1.CFrame = CFrame.new(-68.0230484, 13.3527136, -96.8230286, -2.98023224e-08, 1.78813934e-07, 0.999999404, -2.98023224e-08, 0.999999642, 1.78813934e-07, -0.999999046, 2.98023224e-08, 0)
- Part1.Orientation = Vector3.new(0, 90, 0)
- Part1.Position = Vector3.new(-68.023048400879, 13.3527135849, -96.823028564453)
- Part1.Rotation = Vector3.new(-90, 89.940002441406, -99.459999084473)
- Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part1.Size = Vector3.new(0.73943400382996, 0.74750572443008, 0.33829751610756)
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.BrickColor = BrickColor.new("Really black")
- Part1.Material = Enum.Material.Glass
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part1.brickColor = BrickColor.new("Really black")
- Weld2.Name = "OVC"
- Weld2.Parent = Part1
- Weld2.C0 = CFrame.new(5.52646637, 2.4894371, -5.65901184, -0.939691961, -0.144543856, 0.309975296, -3.05789811e-08, 0.906307518, 0.422618032, -0.342019975, 0.397131234, -0.851650298)
- Weld2.Part0 = Part1
- Weld2.Part1 = Part4
- Weld2.part1 = Part4
- Weld3.Name = "OVC"
- Weld3.Parent = Part1
- Weld3.C0 = CFrame.new(-6.07067871, 2.48943424, -5.65901184, -0.939691782, 0.144543797, -0.309975207, 6.49674803e-08, 0.906307518, 0.422618002, 0.342019945, 0.397131205, -0.851650178)
- Weld3.Part0 = Part1
- Weld3.Part1 = Part18
- Weld3.part1 = Part18
- Part4.Name = "OVC"
- Part4.Parent = Model0
- Part4.CFrame = CFrame.new(-73.6820526, 15.8421488, -102.349487, -0.342019737, 0.397131175, -0.851649702, -6.37319033e-08, 0.90630728, 0.422617733, 0.939691067, 0.144543752, -0.309974998)
- Part4.Orientation = Vector3.new(-25, -110, 0)
- Part4.Position = Vector3.new(-73.682052612305, 15.842148780823, -102.34948730469)
- Part4.Rotation = Vector3.new(-126.26000213623, -58.389999389648, -130.74000549316)
- Part4.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part4.Transparency = 0.60000002384186
- Part4.Size = Vector3.new(9.9164505004883, 5.0470147132874, 0.048761993646622)
- Part4.BottomSurface = Enum.SurfaceType.Smooth
- Part4.BrickColor = BrickColor.new("Really black")
- Part4.Material = Enum.Material.Glass
- Part4.TopSurface = Enum.SurfaceType.Smooth
- Part4.brickColor = BrickColor.new("Really black")
- SurfaceGui5.Parent = Part4
- SurfaceGui5.LightInfluence = 1
- SurfaceGui5.ClipsDescendants = true
- SurfaceGui5.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Frame6.Name = "main1"
- Frame6.Parent = SurfaceGui5
- Frame6.Size = UDim2.new(1, 0, 1, 0)
- Frame6.BackgroundColor = BrickColor.new("Institutional white")
- Frame6.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame6.BackgroundTransparency = 1
- Frame6.BorderSizePixel = 0
- Frame7.Name = "side1"
- Frame7.Parent = Frame6
- Frame7.Size = UDim2.new(0.0399999991, 0, 1, 0)
- Frame7.BackgroundColor = BrickColor.new("Dark grey metallic")
- Frame7.BackgroundColor3 = Color3.new(0.32549, 0.32549, 0.32549)
- Frame7.BorderSizePixel = 0
- Frame8.Parent = Frame7
- Frame8.Position = UDim2.new(0, 20, 0, 0)
- Frame8.Size = UDim2.new(0.400000006, 0, 1, 0)
- Frame8.BackgroundColor = BrickColor.new("Dirt brown")
- Frame8.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
- Frame8.BorderSizePixel = 0
- Frame9.Name = "stuff"
- Frame9.Parent = Frame6
- Frame9.Position = UDim2.new(0, 30, 0, 0)
- Frame9.Size = UDim2.new(1, 0, 1, 0)
- Frame9.BackgroundColor = BrickColor.new("Institutional white")
- Frame9.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame9.BackgroundTransparency = 1
- Frame9.BorderSizePixel = 0
- UIListLayout10.Parent = Frame9
- UIListLayout10.SortOrder = Enum.SortOrder.LayoutOrder
- UIListLayout10.Padding = UDim.new(0, 5)
- TextBox11.Parent = Frame9
- TextBox11.Position = UDim2.new(0, 40, 0, 0)
- TextBox11.Size = UDim2.new(1, 0, 0.0700000003, 0)
- TextBox11.BackgroundColor = BrickColor.new("Institutional white")
- TextBox11.BackgroundColor3 = Color3.new(1, 1, 1)
- TextBox11.BackgroundTransparency = 1
- TextBox11.BorderSizePixel = 0
- TextBox11.Font = Enum.Font.SourceSansSemibold
- TextBox11.FontSize = Enum.FontSize.Size14
- TextBox11.Text = "FPS Of Server, Client."
- TextBox11.TextColor = BrickColor.new("White")
- TextBox11.TextColor3 = Color3.new(0.941177, 0.941177, 0.941177)
- TextBox11.TextScaled = true
- TextBox11.TextSize = 14
- TextBox11.TextWrap = true
- TextBox11.TextWrapped = true
- TextBox11.RichText = true
- TextBox11.TextXAlignment = Enum.TextXAlignment.Left
- TextBox12.Parent = Frame9
- TextBox12.Position = UDim2.new(0, 40, 0, 0)
- TextBox12.Size = UDim2.new(1, 0, 0.0799999982, 0)
- TextBox12.BackgroundColor = BrickColor.new("Sand violet metallic")
- TextBox12.BackgroundColor3 = Color3.new(0.584314, 0.584314, 0.584314)
- TextBox12.BackgroundTransparency = 1
- TextBox12.BorderSizePixel = 0
- TextBox12.Font = Enum.Font.SourceSansSemibold
- TextBox12.FontSize = Enum.FontSize.Size14
- TextBox12.Text = 'getPlayers<font color="rgb(149, 149, 149)">(</font><font color="rgb(149, 255, 174)">"Int"</font><font color="rgb(149, 149, 149)">)</font>'
- TextBox12.TextColor = BrickColor.new("Medium blue")
- TextBox12.TextColor3 = Color3.new(0.298039, 0.568627, 1)
- TextBox12.TextScaled = true
- TextBox12.TextSize = 14
- TextBox12.TextWrap = true
- TextBox12.TextWrapped = true
- TextBox12.RichText = true
- TextBox12.TextXAlignment = Enum.TextXAlignment.Left
- TextBox13.Parent = Frame9
- TextBox13.Position = UDim2.new(0, 40, 0, 0)
- TextBox13.Size = UDim2.new(1, 0, 0.0799999982, 0)
- TextBox13.BackgroundColor = BrickColor.new("Institutional white")
- TextBox13.BackgroundColor3 = Color3.new(1, 1, 1)
- TextBox13.BackgroundTransparency = 1
- TextBox13.BorderSizePixel = 0
- TextBox13.Font = Enum.Font.SourceSansSemibold
- TextBox13.FontSize = Enum.FontSize.Size14
- TextBox13.Text = '> [GetPlayers]: <font color="rgb(149, 255, 174)">PlrsInt</font>'
- TextBox13.TextColor = BrickColor.new("Oyster")
- TextBox13.TextColor3 = Color3.new(0.72549, 0.72549, 0.72549)
- TextBox13.TextScaled = true
- TextBox13.TextSize = 14
- TextBox13.TextWrap = true
- TextBox13.TextWrapped = true
- TextBox13.RichText = true
- TextBox13.TextXAlignment = Enum.TextXAlignment.Left
- TextBox14.Parent = Frame9
- TextBox14.Position = UDim2.new(0, 40, 0, 0)
- TextBox14.Size = UDim2.new(1, 0, 0.0799999982, 0)
- TextBox14.BackgroundColor = BrickColor.new("Sand violet metallic")
- TextBox14.BackgroundColor3 = Color3.new(0.584314, 0.584314, 0.584314)
- TextBox14.BackgroundTransparency = 1
- TextBox14.BorderSizePixel = 0
- TextBox14.Font = Enum.Font.SourceSansSemibold
- TextBox14.FontSize = Enum.FontSize.Size14
- TextBox14.Text = 'getFPS<font color="rgb(149, 149, 149)">(</font><font color="rgb(149, 255, 174)">"Server"</font><font color="rgb(149, 149, 149)">)</font>'
- TextBox14.TextColor = BrickColor.new("Medium blue")
- TextBox14.TextColor3 = Color3.new(0.298039, 0.568627, 1)
- TextBox14.TextScaled = true
- TextBox14.TextSize = 14
- TextBox14.TextWrap = true
- TextBox14.TextWrapped = true
- TextBox14.RichText = true
- TextBox14.TextXAlignment = Enum.TextXAlignment.Left
- TextBox15.Parent = Frame9
- TextBox15.Position = UDim2.new(0, 40, 0, 0)
- TextBox15.Size = UDim2.new(1, 0, 0.0799999982, 0)
- TextBox15.BackgroundColor = BrickColor.new("Institutional white")
- TextBox15.BackgroundColor3 = Color3.new(1, 1, 1)
- TextBox15.BackgroundTransparency = 1
- TextBox15.BorderSizePixel = 0
- TextBox15.Font = Enum.Font.SourceSansSemibold
- TextBox15.FontSize = Enum.FontSize.Size14
- TextBox15.Text = '> [GetFPS]: <font color="rgb(149, 255, 174)">SFPS</font>'
- TextBox15.TextColor = BrickColor.new("Oyster")
- TextBox15.TextColor3 = Color3.new(0.72549, 0.72549, 0.72549)
- TextBox15.TextScaled = true
- TextBox15.TextSize = 14
- TextBox15.TextWrap = true
- TextBox15.TextWrapped = true
- TextBox15.RichText = true
- TextBox15.TextXAlignment = Enum.TextXAlignment.Left
- TextBox16.Parent = Frame9
- TextBox16.Position = UDim2.new(0, 40, 0, 0)
- TextBox16.Size = UDim2.new(1, 0, 0.0799999982, 0)
- TextBox16.BackgroundColor = BrickColor.new("Sand violet metallic")
- TextBox16.BackgroundColor3 = Color3.new(0.584314, 0.584314, 0.584314)
- TextBox16.BackgroundTransparency = 1
- TextBox16.BorderSizePixel = 0
- TextBox16.Font = Enum.Font.SourceSansSemibold
- TextBox16.FontSize = Enum.FontSize.Size14
- TextBox16.Text = 'getFPS<font color="rgb(149, 149, 149)">(</font><font color="rgb(149, 255, 174)">"Client"</font><font color="rgb(149, 149, 149)">)</font>'
- TextBox16.TextColor = BrickColor.new("Medium blue")
- TextBox16.TextColor3 = Color3.new(0.298039, 0.568627, 1)
- TextBox16.TextScaled = true
- TextBox16.TextSize = 14
- TextBox16.TextWrap = true
- TextBox16.TextWrapped = true
- TextBox16.RichText = true
- TextBox16.TextXAlignment = Enum.TextXAlignment.Left
- TextBox17.Parent = Frame9
- TextBox17.Position = UDim2.new(0, 40, 0, 0)
- TextBox17.Size = UDim2.new(1, 0, 0.0799999982, 0)
- TextBox17.BackgroundColor = BrickColor.new("Institutional white")
- TextBox17.BackgroundColor3 = Color3.new(1, 1, 1)
- TextBox17.BackgroundTransparency = 1
- TextBox17.BorderSizePixel = 0
- TextBox17.Font = Enum.Font.SourceSansSemibold
- TextBox17.FontSize = Enum.FontSize.Size14
- TextBox17.Text = '> [GetFPS]: <font color="rgb(149, 255, 174)">CFPS</font>'
- TextBox17.TextColor = BrickColor.new("Oyster")
- TextBox17.TextColor3 = Color3.new(0.72549, 0.72549, 0.72549)
- TextBox17.TextScaled = true
- TextBox17.TextSize = 14
- TextBox17.TextWrap = true
- TextBox17.TextWrapped = true
- TextBox17.RichText = true
- TextBox17.TextXAlignment = Enum.TextXAlignment.Left
- Part18.Name = "OVC2"
- Part18.Parent = Model0
- Part18.CFrame = CFrame.new(-73.6820526, 15.8421459, -90.7523575, 0.342020124, 0.397131264, -0.851650715, 0, 0.906307757, 0.42261827, 0.939692616, -0.144543946, 0.309975505)
- Part18.Orientation = Vector3.new(-25, -70, 0)
- Part18.Position = Vector3.new(-73.682052612305, 15.8421459198, -90.75235748291)
- Part18.Rotation = Vector3.new(-53.740001678467, -58.389999389648, -49.259998321533)
- Part18.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part18.Transparency = 0.60000002384186
- Part18.Size = Vector3.new(9.9164505004883, 5.0470147132874, 0.048761993646622)
- Part18.BottomSurface = Enum.SurfaceType.Smooth
- Part18.BrickColor = BrickColor.new("Really black")
- Part18.Material = Enum.Material.Glass
- Part18.TopSurface = Enum.SurfaceType.Smooth
- Part18.brickColor = BrickColor.new("Really black")
- SurfaceGui19.Name = "SurfaceGui2"
- SurfaceGui19.Parent = Part18
- SurfaceGui19.LightInfluence = 1
- SurfaceGui19.ClipsDescendants = true
- SurfaceGui19.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Frame20.Name = "main"
- Frame20.Parent = SurfaceGui19
- Frame20.Size = UDim2.new(1, 0, 1, 0)
- Frame20.BackgroundColor = BrickColor.new("Institutional white")
- Frame20.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame20.BackgroundTransparency = 1
- Frame20.BorderSizePixel = 0
- Frame21.Name = "side"
- Frame21.Parent = Frame20
- Frame21.Size = UDim2.new(0.0399999991, 0, 1, 0)
- Frame21.BackgroundColor = BrickColor.new("Dark grey metallic")
- Frame21.BackgroundColor3 = Color3.new(0.32549, 0.32549, 0.32549)
- Frame21.BorderSizePixel = 0
- Frame22.Parent = Frame21
- Frame22.Position = UDim2.new(0, 20, 0, 0)
- Frame22.Size = UDim2.new(0.400000006, 0, 1, 0)
- Frame22.BackgroundColor = BrickColor.new("Dirt brown")
- Frame22.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
- Frame22.BorderSizePixel = 0
- Frame23.Name = "noti"
- Frame23.Parent = Frame20
- Frame23.Position = UDim2.new(0, 34, 0, 0)
- Frame23.Size = UDim2.new(1, 0, 0.970000029, 0)
- Frame23.BackgroundColor = BrickColor.new("Institutional white")
- Frame23.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame23.BackgroundTransparency = 1
- Frame23.BorderSizePixel = 0
- UIListLayout24.Parent = Frame23
- UIListLayout24.SortOrder = Enum.SortOrder.LayoutOrder
- UIListLayout24.VerticalAlignment = Enum.VerticalAlignment.Bottom
- UIListLayout24.Padding = UDim.new(0, 5)
- TextBox25.Name = "playeradded"
- TextBox25.Parent = ovcstuff
- TextBox25.Position = UDim2.new(0, 40, 0, 0)
- TextBox25.Size = UDim2.new(1, 0, 0.0700000003, 0)
- TextBox25.BackgroundColor = BrickColor.new("Institutional white")
- TextBox25.BackgroundColor3 = Color3.new(1, 1, 1)
- TextBox25.BackgroundTransparency = 1
- TextBox25.BorderSizePixel = 0
- TextBox25.Font = Enum.Font.SourceSansSemibold
- TextBox25.FontSize = Enum.FontSize.Size14
- TextBox25.Text = "> Player added:"
- TextBox25.TextColor = BrickColor.new("White")
- TextBox25.TextColor3 = Color3.new(0.941177, 0.941177, 0.941177)
- TextBox25.TextScaled = true
- TextBox25.TextSize = 14
- TextBox25.TextWrap = true
- TextBox25.TextWrapped = true
- TextBox25.TextXAlignment = Enum.TextXAlignment.Left
- for i,v in pairs(Model0:GetChildren()) do
- v.Massless = true
- v.Locked = true
- v.CanCollide = false
- end
- Part1.CFrame = owner.Character.HumanoidRootPart.CFrame
- local weld = Instance.new("Weld")
- weld.Parent = Part1
- weld.Part0 = weld.Parent
- weld.Part1 = owner.Character.HumanoidRootPart
- weld.C0 = owner.Character.HumanoidRootPart.CFrame:ToObjectSpace(Part1.CFrame)
- local fpsval = Instance.new("IntValue", owner.Character)
- fpsval.Name = "CurrentFPS"
- game:GetService("RunService").Heartbeat:Connect(function()
- fpsval.Value = 2/wait()
- TextBox15.Text = '> [GetFPS]: <font color="rgb(149, 255, 174)">'..fpsval.Value..'</font>'
- end)
- local fpsval2 = Instance.new("IntValue", owner.Character)
- fpsval2.Name = "CurrentClientFPS"
- game:GetService("RunService").Heartbeat:Connect(function()
- fpsval2.Value = workspace:GetRealPhysicsFPS()
- TextBox17.Text = '> [GetFPS]: <font color="rgb(149, 255, 174)">'..fpsval2.Value..'</font>'
- end)
- local players = game:GetService('Players')
- local amount = #players:GetPlayers()
- TextBox13.Text = '> [GetPlayers]: <font color="rgb(149, 255, 174)">'..amount..'</font>'
- game.Players.PlayerAdded:Connect(function()
- local players = game:GetService('Players')
- local amount = #players:GetPlayers()
- TextBox13.Text = '> [GetPlayers]: <font color="rgb(149, 255, 174)">'..amount..'</font>'
- end)
- workspace.DescendantAdded:Connect(function(descendant)
- if descendant:IsA("Sound") then
- local newlabel = TextBox25:Clone()
- newlabel.Parent = Frame23
- if descendant.SoundId == nil then
- newlabel.Text = "> Song added: ( ID: 0, NAME: "..descendant.Name.." )"
- else
- newlabel.Text = "> Song added: ( ID: "..descendant.SoundId..", NAME: "..descendant.Name.." )"
- end
- end
- if descendant:IsA("Script") then
- pcall(function()
- if not descendant.Parent:IsA("Model") and descendant.Parent:IsA("Tool") then
- local newlabel = TextBox25:Clone()
- newlabel.Parent = Frame23
- newlabel.Text = "> Script added: ( NAME: "..descendant.Name.." )"
- end
- end)
- end
- end)
- game.Players.PlayerAdded:Connect(function(plr)
- local newlabel = TextBox25:Clone()
- newlabel.Parent = Frame23
- newlabel.Text = "> Player added: "..plr.Name..". Say hi!"
- end)
- while true do
- weld.C0 = weld.C0 * CFrame.new(0,math.cos(tick())/38,0)
- Weld2.C0 = Weld2.C0 * CFrame.Angles(math.cos(tick())/370,math.cos(tick())/370,0)
- Weld3.C0 = Weld3.C0 * CFrame.Angles(math.cos(tick())/-370,math.cos(tick())/-370,0)
- wait()
- end
- wait()
- local plr = game.Players.LocalPlayer
- local char = plr.Character
- local m = plr:GetMouse()
- local Run = game:GetService("RunService")
- local Debris = game:GetService("Debris")
- local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
- local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
- local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
- local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
- local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
- local R3 = {N=Region3.new}
- local De = S.Debris
- local WS = workspace
- local Lght = S.Lighting
- local RepS = S.ReplicatedStorage
- local IN = Instance.new
- local Plrs = S.Players
- local Power = 0
- local Music = Instance.new("Sound", char.Head)
- Music.Looped = true
- local Emit = IN("ParticleEmitter").Emit;
- local Frame_Speed = 60;
- local WalkSpeed = 16
- --// Initializing \\--
- local Plr = game.Players.LocalPlayer
- local Char = Plr.Character
- local m = Plr:GetMouse()
- local Hum = Char:FindFirstChildOfClass'Humanoid'
- local RArm = Char["Right Arm"]
- local LArm = Char["Left Arm"]
- local RLeg = Char["Right Leg"]
- local LLeg = Char["Left Leg"]
- local Root = Char:FindFirstChild'HumanoidRootPart'
- local Torso = Char.Torso
- local Head = Char:WaitForChild("Head")
- local NeutralAnims = true
- local Attack = false
- local Debounces = {Debounces={}}
- local Hit = {}
- local Sine = 0
- Change = 1
- Char.Animate:Destroy()
- --// CHARACTER \\--
- local HeadPhone1 = Instance.new("Part", char)
- HeadPhone1.Size = Vector3.new(0.75, 0.812, 0.375)
- HeadPhone1.CFrame = char.Head.CFrame * CFrame.new(0, 0.344, 0)
- HeadPhone1.Anchored = true
- HeadPhone1.CanCollide = false
- HeadPhone1.BrickColor = BrickColor.new("Lime green")
- HeadPhone1.Material = "SmoothPlastic"
- local Weld = Instance.new("WeldConstraint", char)
- Weld.Part0 = HeadPhone1
- Weld.Part1 = char.Head
- HeadPhone1.Anchored = false
- local HeadPhone2 = Instance.new("WedgePart", char)
- HeadPhone2.Size = Vector3.new(0.375, 0.249, 0.25)
- HeadPhone2.BrickColor = BrickColor.new("Lime green")
- HeadPhone2.CFrame = char.Head.CFrame * CFrame.new(-0.500, 0.625, 0) * CFrame.Angles(0, math.rad(90), 0)
- HeadPhone2.Anchored = true
- HeadPhone2.CanCollide = false
- HeadPhone2.Material = "SmoothPlastic"
- local Weld = Instance.new("WeldConstraint", char)
- Weld.Part0 = HeadPhone2
- Weld.Part1 = char.Head
- HeadPhone2.Anchored = false
- local HeadPhone3 = Instance.new("WedgePart", char)
- HeadPhone3.BrickColor = BrickColor.new("Lime green")
- HeadPhone3.Size = Vector3.new(0.375, 0.249, 0.25)
- HeadPhone3.CFrame = char.Head.CFrame * CFrame.new(0.500, 0.625, 0) * CFrame.Angles(0, math.rad(-90), 0)
- HeadPhone3.Anchored = true
- HeadPhone3.CanCollide = false
- HeadPhone3.Material = "SmoothPlastic"
- local Weld = Instance.new("WeldConstraint", char)
- Weld.Part0 = HeadPhone3
- Weld.Part1 = char.Head
- HeadPhone3.Anchored = false
- local HeadPhone4 = Instance.new("Part", char)
- HeadPhone4.BrickColor = BrickColor.new("Lime green")
- HeadPhone4.Size = Vector3.new(1.25, 0.562, 0.375)
- HeadPhone4.CFrame = char.Head.CFrame * CFrame.new(0, 0.219, 0) * CFrame.Angles(0, 0, 0)
- HeadPhone4.Anchored = true
- HeadPhone4.CanCollide = false
- HeadPhone4.Material = "SmoothPlastic"
- local Weld = Instance.new("WeldConstraint", char)
- Weld.Part0 = HeadPhone4
- Weld.Part1 = char.Head
- HeadPhone4.Anchored = false
- local HeadPhone5 = Instance.new("Part", char)
- HeadPhone5.BrickColor = BrickColor.new("Lime green")
- HeadPhone5.Size = Vector3.new(1.406, 0.75, 0.625)
- HeadPhone5.Shape = "Cylinder"
- HeadPhone5.CFrame = char.Head.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- HeadPhone5.Anchored = true
- HeadPhone5.CanCollide = false
- HeadPhone5.Material = "SmoothPlastic"
- local Weld = Instance.new("WeldConstraint", char)
- Weld.Part0 = HeadPhone5
- Weld.Part1 = char.Head
- HeadPhone5.Anchored = false
- local HeadPhone6 = Instance.new("Part", char)
- HeadPhone6.BrickColor = BrickColor.new("Institutional white")
- HeadPhone6.Size = Vector3.new(1.562, 0.5, 0.417)
- HeadPhone6.Shape = "Cylinder"
- HeadPhone6.CFrame = char.Head.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- HeadPhone6.Anchored = true
- HeadPhone6.CanCollide = false
- HeadPhone6.Material = "SmoothPlastic"
- local Weld = Instance.new("WeldConstraint", char)
- Weld.Part0 = HeadPhone6
- Weld.Part1 = char.Head
- HeadPhone6.Anchored = false
- local RSpeaker1 = Instance.new("Part", char)
- RSpeaker1.BrickColor = BrickColor.new("Smoky grey")
- RSpeaker1.Size = Vector3.new(0.875, 0.875, 0.727)
- RSpeaker1.CFrame = char["Right Arm"].CFrame * CFrame.new(0, 1.438, 0) * CFrame.Angles(0, 0, 0)
- RSpeaker1.Anchored = true
- RSpeaker1.CanCollide = false
- RSpeaker1.Material = "SmoothPlastic"
- local Weld = Instance.new("WeldConstraint", char)
- Weld.Part0 = RSpeaker1
- Weld.Part1 = char["Right Arm"]
- RSpeaker1.Anchored = false
- local RSpeaker2 = Instance.new("Part", char)
- RSpeaker2.BrickColor = BrickColor.new("Smoky grey")
- RSpeaker2.Size = Vector3.new(0.75, 0.875, 0.623)
- RSpeaker2.CFrame = char["Right Arm"].CFrame * CFrame.new(0, 2.188, 0) * CFrame.Angles(0, 0, 0)
- RSpeaker2.Anchored = true
- RSpeaker2.CanCollide = false
- RSpeaker2.Material = "SmoothPlastic"
- local Weld = Instance.new("WeldConstraint", char)
- Weld.Part0 = RSpeaker2
- Weld.Part1 = char["Right Arm"]
- RSpeaker2.Anchored = false
- local RSpeaker3 = Instance.new("Part", char)
- RSpeaker3.BrickColor = BrickColor.new("Lime green")
- RSpeaker3.Shape = "Cylinder"
- RSpeaker3.Size = Vector3.new(0.062, 0.716, 0.716)
- RSpeaker3.CFrame = char["Right Arm"].CFrame * CFrame.new(0, 1.438, -0.410) * CFrame.Angles(0, math.rad(90), 0)
- RSpeaker3.Anchored = true
- RSpeaker3.CanCollide = false
- RSpeaker3.Material = "SmoothPlastic"
- local Weld = Instance.new("WeldConstraint", char)
- Weld.Part0 = RSpeaker3
- Weld.Part1 = char["Right Arm"]
- RSpeaker3.Anchored = false
- local RSpeaker4 = Instance.new("Part", char)
- RSpeaker4.BrickColor = BrickColor.new("Institutional white")
- RSpeaker4.Shape = "Cylinder"
- RSpeaker4.Size = Vector3.new(0.08, 0.716, 0.341)
- RSpeaker4.CFrame = char["Right Arm"].CFrame * CFrame.new(0, 1.438, -0.418) * CFrame.Angles(0, math.rad(90), 0)
- RSpeaker4.Anchored = true
- RSpeaker4.CanCollide = false
- RSpeaker4.Material = "SmoothPlastic"
- local Weld = Instance.new("WeldConstraint", char)
- Weld.Part0 = RSpeaker4
- Weld.Part1 = char["Right Arm"]
- RSpeaker4.Anchored = false
- local RSpeaker5 = Instance.new("Part", char)
- RSpeaker5.BrickColor = BrickColor.new("Lime green")
- RSpeaker5.Shape = "Cylinder"
- RSpeaker5.Size = Vector3.new(0.062, 0.614, 0.489)
- RSpeaker5.CFrame = char["Right Arm"].CFrame * CFrame.new(0, 2.25, -0.363) * CFrame.Angles(0, math.rad(90), 0)
- RSpeaker5.Anchored = true
- RSpeaker5.CanCollide = false
- RSpeaker5.Material = "SmoothPlastic"
- local Weld = Instance.new("WeldConstraint", char)
- Weld.Part0 = RSpeaker5
- Weld.Part1 = char["Right Arm"]
- RSpeaker5.Anchored = false
- local RSpeaker6 = Instance.new("Part", char)
- RSpeaker6.BrickColor = BrickColor.new("Institutional white")
- RSpeaker6.Shape = "Cylinder"
- RSpeaker6.Size = Vector3.new(0.068, 0.614, 0.239)
- RSpeaker6.CFrame = char["Right Arm"].CFrame * CFrame.new(0, 2.25, -0.366) * CFrame.Angles(0, math.rad(90), 0)
- RSpeaker6.Anchored = true
- RSpeaker6.CanCollide = false
- RSpeaker6.Material = "SmoothPlastic"
- local Weld = Instance.new("WeldConstraint", char)
- Weld.Part0 = RSpeaker6
- Weld.Part1 = char["Right Arm"]
- RSpeaker6.Anchored = false
- local LSpeaker1 = Instance.new("Part", char)
- LSpeaker1.BrickColor = BrickColor.new("Smoky grey")
- LSpeaker1.Size = Vector3.new(0.875, 0.875, 0.727)
- LSpeaker1.CFrame = char["Left Arm"].CFrame * CFrame.new(0, 1.438, 0) * CFrame.Angles(0, 0, 0)
- LSpeaker1.Anchored = true
- LSpeaker1.CanCollide = false
- LSpeaker1.Material = "SmoothPlastic"
- local Weld = Instance.new("WeldConstraint", char)
- Weld.Part0 = LSpeaker1
- Weld.Part1 = char["Left Arm"]
- LSpeaker1.Anchored = false
- local LSpeaker2 = Instance.new("Part", char)
- LSpeaker2.BrickColor = BrickColor.new("Smoky grey")
- LSpeaker2.Size = Vector3.new(0.75, 0.875, 0.623)
- LSpeaker2.CFrame = char["Left Arm"].CFrame * CFrame.new(0, 2.188, 0) * CFrame.Angles(0, 0, 0)
- LSpeaker2.Anchored = true
- LSpeaker2.CanCollide = false
- LSpeaker2.Material = "SmoothPlastic"
- local Weld = Instance.new("WeldConstraint", char)
- Weld.Part0 = LSpeaker2
- Weld.Part1 = char["Left Arm"]
- LSpeaker2.Anchored = false
- local LSpeaker3 = Instance.new("Part", char)
- LSpeaker3.BrickColor = BrickColor.new("Lime green")
- LSpeaker3.Shape = "Cylinder"
- LSpeaker3.Size = Vector3.new(0.062, 0.716, 0.716)
- LSpeaker3.CFrame = char["Left Arm"].CFrame * CFrame.new(0, 1.438, -0.410) * CFrame.Angles(0, math.rad(90), 0)
- LSpeaker3.Anchored = true
- LSpeaker3.CanCollide = false
- LSpeaker3.Material = "SmoothPlastic"
- local Weld = Instance.new("WeldConstraint", char)
- Weld.Part0 = LSpeaker3
- Weld.Part1 = char["Left Arm"]
- LSpeaker3.Anchored = false
- local LSpeaker4 = Instance.new("Part", char)
- LSpeaker4.BrickColor = BrickColor.new("Institutional white")
- LSpeaker4.Shape = "Cylinder"
- LSpeaker4.Size = Vector3.new(0.08, 0.716, 0.341)
- LSpeaker4.CFrame = char["Left Arm"].CFrame * CFrame.new(0, 1.438, -0.418) * CFrame.Angles(0, math.rad(90), 0)
- LSpeaker4.Anchored = true
- LSpeaker4.CanCollide = false
- LSpeaker4.Material = "SmoothPlastic"
- local Weld = Instance.new("WeldConstraint", char)
- Weld.Part0 = LSpeaker4
- Weld.Part1 = char["Left Arm"]
- LSpeaker4.Anchored = false
- local LSpeaker5 = Instance.new("Part", char)
- LSpeaker5.BrickColor = BrickColor.new("Lime green")
- LSpeaker5.Shape = "Cylinder"
- LSpeaker5.Size = Vector3.new(0.062, 0.614, 0.489)
- LSpeaker5.CFrame = char["Left Arm"].CFrame * CFrame.new(0, 2.25, -0.363) * CFrame.Angles(0, math.rad(90), 0)
- LSpeaker5.Anchored = true
- LSpeaker5.CanCollide = false
- LSpeaker5.Material = "SmoothPlastic"
- local Weld = Instance.new("WeldConstraint", char)
- Weld.Part0 = LSpeaker5
- Weld.Part1 = char["Left Arm"]
- LSpeaker5.Anchored = false
- local LSpeaker6 = Instance.new("Part", char)
- LSpeaker6.BrickColor = BrickColor.new("Institutional white")
- LSpeaker6.Shape = "Cylinder"
- LSpeaker6.Size = Vector3.new(0.068, 0.614, 0.239)
- LSpeaker6.CFrame = char["Left Arm"].CFrame * CFrame.new(0, 2.25, -0.366) * CFrame.Angles(0, math.rad(90), 0)
- LSpeaker6.Anchored = true
- LSpeaker6.CanCollide = false
- LSpeaker6.Material = "SmoothPlastic"
- local Weld = Instance.new("WeldConstraint", char)
- Weld.Part0 = LSpeaker6
- Weld.Part1 = char["Left Arm"]
- LSpeaker6.Anchored = false
- plr.Chatted:Connect(function(msg)
- if string.sub(msg,1,3) == "id;" then
- Music.SoundId = "rbxassetid://"..string.sub(msg,4)
- Music:Play()
- end
- end)
- plr.Chatted:Connect(function(msg)
- if string.sub(msg,1,7) == "volume;" then
- Music.Volume = string.sub(msg,8)
- end
- end)
- m.KeyDown:Connect(function(k)
- k:lower()
- if k == "f" then
- local SoundEX = Instance.new("Part", workspace)
- SoundEX.Shape = "Ball"
- SoundEX.Anchored = false
- SoundEX.BrickColor = BrickColor.new("Lime green")
- SoundEX.CFrame = RSpeaker1.CFrame
- SoundEX.Transparency = 0
- local SoundEX2 = Instance.new("Part", workspace)
- SoundEX2.Shape = "Ball"
- SoundEX2.Anchored = false
- SoundEX2.CanCollide = false
- SoundEX.CanCollide = false
- SoundEX2.BrickColor = BrickColor.new("Lime green")
- SoundEX2.CFrame = LSpeaker1.CFrame
- SoundEX2.Material = Enum.Material.ForceField
- SoundEX.Material = Enum.Material.ForceField
- SoundEX2.Transparency = 0
- Debris:AddItem(SoundEX, 0.5)
- Debris:AddItem(SoundEX2, 0.5)
- SoundEX.Size = Vector3.new(1, 1, 1)
- SoundEX2.Size = Vector3.new(1, 1, 1)
- wait()
- SoundEX.Velocity = Vector3.new(0, 0, 0)
- SoundEX2.Velocity = Vector3.new(0, 0, 0)
- SoundEX2.Transparency = 0.1
- SoundEX.Transparency = 0.1
- SoundEX.Size = SoundEX.Size * 1.35
- SoundEX2.Size = SoundEX2.Size * 1.35
- wait()
- SoundEX.Velocity = Vector3.new(0, 0, 0)
- SoundEX2.Velocity = Vector3.new(0, 0, 0)
- SoundEX.Size = SoundEX.Size * 1.35
- SoundEX2.Size = SoundEX2.Size * 1.35
- SoundEX2.Transparency = 0.2
- SoundEX.Transparency = 0.2
- wait()
- SoundEX.Velocity = Vector3.new(0, 0, 0)
- SoundEX2.Velocity = Vector3.new(0, 0, 0)
- SoundEX.Size = SoundEX.Size * 1.35
- SoundEX2.Size = SoundEX2.Size * 1.35
- SoundEX2.Transparency = 0.3
- SoundEX.Transparency = 0.3
- wait()
- SoundEX.Velocity = Vector3.new(0, 0, 0)
- SoundEX2.Velocity = Vector3.new(0, 0, 0)
- SoundEX.Size = SoundEX.Size * 1.35
- SoundEX2.Size = SoundEX2.Size * 1.35
- SoundEX2.Transparency = 0.4
- SoundEX.Transparency = 0.4
- wait()
- SoundEX.Velocity = Vector3.new(0, 0, 0)
- SoundEX2.Velocity = Vector3.new(0, 0, 0)
- SoundEX.Size = SoundEX.Size * 1.35
- SoundEX2.Size = SoundEX2.Size * 1.35
- SoundEX2.Transparency = 0.5
- SoundEX.Transparency = 0.5
- wait()
- SoundEX.Velocity = Vector3.new(0, 0, 0)
- SoundEX2.Velocity = Vector3.new(0, 0, 0)
- SoundEX.Size = SoundEX.Size * 1.35
- SoundEX2.Size = SoundEX2.Size * 1.35
- SoundEX2.Transparency = 0.6
- SoundEX.Transparency = 0.6
- wait()
- SoundEX.Velocity = Vector3.new(0, 0, 0)
- SoundEX2.Velocity = Vector3.new(0, 0, 0)
- SoundEX.Size = SoundEX.Size * 1.35
- SoundEX2.Size = SoundEX2.Size * 1.35
- SoundEX2.Transparency = 0.7
- SoundEX.Transparency = 0.7
- wait()
- SoundEX.Velocity = Vector3.new(0, 0, 0)
- SoundEX2.Velocity = Vector3.new(0, 0, 0)
- SoundEX.Size = SoundEX.Size * 1.35
- SoundEX2.Size = SoundEX2.Size * 1.35
- SoundEX2.Transparency = 0.8
- SoundEX.Transparency = 0.8
- wait()
- SoundEX.Velocity = Vector3.new(0, 0, 0)
- SoundEX2.Velocity = Vector3.new(0, 0, 0)
- SoundEX.Size = SoundEX.Size * 1.35
- SoundEX2.Size = SoundEX2.Size * 1.35
- SoundEX2.Transparency = 0.9
- SoundEX.Transparency = 0.9
- wait()
- SoundEX.Velocity = Vector3.new(0, 0, 0)
- SoundEX2.Velocity = Vector3.new(0, 0, 0)
- SoundEX.Size = SoundEX.Size * 1.35
- SoundEX2.Size = SoundEX2.Size * 1.35
- SoundEX2.Transparency = 1
- SoundEX.Transparency = 1
- dam = false
- SoundEX.Touched:Connect(function(s)
- if s.Parent:FindFirstChildOfClass("Humanoid") and s.Parent.Name ~= char.Name then
- if dam == false then
- local hit = Instance.new("Sound", s)
- hit.SoundId = "rbxassetid://406913243"
- hit:Play()
- s.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(10)
- dam = true
- end
- end
- end)
- SoundEX2.Touched:Connect(function(s)
- if s.Parent:FindFirstChildOfClass("Humanoid") and s.Parent.Name ~= char.Name then
- if dam == false then
- local hit = Instance.new("Sound", s)
- hit.SoundId = "rbxassetid://406913243"
- hit:Play()
- s.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(10)
- dam = true
- end
- end
- end)
- end
- end)
- --// Instance Creation Functions \\--
- function Part(parent,color,material,size,cframe,anchored,cancollide)
- local part = IN("Part")
- part.Parent = parent or Char
- part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
- part.Material = material or Enum.Material.SmoothPlastic
- part.TopSurface,part.BottomSurface=10,10
- part.Size = size or V3.N(1,1,1)
- part.CFrame = cframe or CF.N(0,0,0)
- part.CanCollide = cancollide or false
- part.Anchored = anchored or false
- return part
- end
- function Weld(part0,part1,c0,c1)
- local weld = IN("Weld")
- weld.Parent = part0
- weld.Part0 = part0
- weld.Part1 = part1
- weld.C0 = c0 or CF.N()
- weld.C1 = c1 or CF.N()
- return weld
- end
- function Mesh(parent,meshtype,meshid,textid,scale,offset)
- local part = IN("SpecialMesh")
- part.MeshId = meshid or ""
- part.TextureId = textid or ""
- part.Scale = scale or V3.N(1,1,1)
- part.Offset = offset or V3.N(0,0,0)
- part.MeshType = meshtype or Enum.MeshType.Sphere
- part.Parent = parent
- return part
- end
- NewInstance = function(instance,parent,properties)
- local inst = Instance.new(instance)
- inst.Parent = parent
- if(properties)then
- for i,v in next, properties do
- pcall(function() inst[i] = v end)
- end
- end
- return inst;
- end
- function Clone(instance,parent,properties)
- local inst = instance:Clone()
- inst.Parent = parent
- if(properties)then
- for i,v in next, properties do
- pcall(function() inst[i] = v end)
- end
- end
- return inst;
- end
- --// Customization \\--
- local DamageColor = BrickColor.new'White'
- --// Stop animations \\--
- for _,v in next, Hum:GetPlayingAnimationTracks() do
- v:Stop();
- end
- pcall(game.Destroy,Char:FindFirstChild'Animate')
- pcall(game.Destroy,Hum:FindFirstChild'Animator')
- --// Joints \\--
- local LS = NewInstance('Motor',Char,{Part0=Torso,Part1=LArm,C0 = CF.N(-1.5,0.5,0),C1 = CF.N(0,.5,0)})
- local RS = NewInstance('Motor',Char,{Part0=Torso,Part1=RArm,C0 = CF.N(1.5,0.5,0),C1 = CF.N(0,.5,0)})
- local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5,0)})
- local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5,-1,0),C1 = CF.N(0,1,0)})
- local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5,-1,0),C1 = CF.N(0,1,0)})
- local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
- local LSC0 = LS.C0
- local RSC0 = RS.C0
- local NKC0 = NK.C0
- local LHC0 = LH.C0
- local RHC0 = RH.C0
- local RJC0 = RJ.C0
- --// Artificial HB \\--
- local ArtificialHB = IN("BindableEvent", script)
- ArtificialHB.Name = "Heartbeat"
- script:WaitForChild("Heartbeat")
- local tf = 0
- local allowframeloss = false
- local tossremainder = false
- local lastframe = tick()
- local frame = 1/Frame_Speed
- ArtificialHB: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
- ArtificialHB: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
- mesuk = "Put id of the music here"
- while true do
- swait()
- Sine = Sine + Change
- local hitfloor,posfloor = workspace:FindPartOnRay(Ray.new(Root.CFrame.p,((CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector).unit * (4)), Char)
- local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1)
- local State = (Hum.PlatformStand and 'Paralyzed' or Hum.Sit and 'Sit' or not hitfloor and Root.Velocity.y < -1 and "Fall" or not hitfloor and Root.Velocity.y > 1 and "Jump" or hitfloor and Walking and (Hum.WalkSpeed > 24 and "Run" or "Walk") or hitfloor and "Idle")
- if(not Effects or not Effects.Parent)then
- Effects = IN("Model",Char)
- Effects.Name = "Effects"
- end
- if(State == 'Walk')then
- local wsVal = 20 / (Hum.WalkSpeed/16)
- local Alpha = math.min(.3 * (Hum.WalkSpeed/8),1)
- Change = 3
- RH.C1 = RH.C1:lerp(CF.N(0,1,0)*CF.N(0,0-.5*M.C(Sine/wsVal)/2,0+.6*M.C(Sine/wsVal)/2)*CF.A(M.R(15-2*M.C(Sine/wsVal))+-M.S(Sine/wsVal)/2.5,0,0),Alpha)
- LH.C1 = LH.C1:lerp(CF.N(0,1,0)*CF.N(0,0+.5*M.C(Sine/wsVal)/2,0-.6*M.C(Sine/wsVal)/2)*CF.A(M.R(15+2*M.C(Sine/wsVal))+M.S(Sine/wsVal)/2.5,0,0),Alpha)
- else
- RH.C1 = RH.C1:lerp(CF.N(0,1,0),.2)
- LH.C1 = LH.C1:lerp(CF.N(0,1,0),.2)
- end
- Hum.WalkSpeed = WalkSpeed
- if(NeutralAnims)then
- if(State == 'Idle')then
- local Alpha = .1
- Change = .75
- RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0*M.C(Sine/12),.2*M.C(Sine/6),0)*CF.A(M.R(0*M.C(Sine/12)),0,0),Alpha)
- NK.C0 = NK.C0:lerp(NKC0*CF.A(M.R(0*M.C(Sine/12)),0,0),Alpha)
- LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,0)*CF.A(M.R(0.01),0,M.R(-10*M.C(Sine/12))),Alpha)
- RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,0)*CF.A(M.R(0.01),0,M.R(10*M.C(Sine/12))),Alpha)
- LH.C0 = LH.C0:lerp(LHC0*CF.N(0*M.C(Sine/12),0*M.C(Sine/6),0)*CF.A(M.R(0*M.C(Sine/12)),M.R(7),0),Alpha)
- RH.C0 = RH.C0:lerp(RHC0*CF.N(0*M.C(Sine/12),0*M.C(Sine/6),0)*CF.A(M.R(0*M.C(Sine/12)),M.R(-7),0),Alpha)
- -- idle
- elseif(State == 'Run')then
- local wsVal = 20 / (Hum.WalkSpeed/16)
- local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
- RJ.C0 = RJ.C0:lerp(CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(-15+2.5*M.C(Sine/(wsVal/2))),M.R(8*M.C(Sine/wsVal)),0),Alpha)
- NK.C0 = NK.C0:lerp(NKC0,Alpha)
- LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,0-.3*M.S(Sine/wsVal))*CF.A(M.R(0+45*M.S(Sine/wsVal)),0,M.R(-5)),Alpha)
- RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,0+.3*M.S(Sine/wsVal))*CF.A(M.R(0-45*M.S(Sine/wsVal)),0,M.R(5)),Alpha)
- LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
- RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
- elseif(State == 'Walk')then
- local wsVal = 20 / (Hum.WalkSpeed/16)
- local Alpha = math.min(.3 * (Hum.WalkSpeed/16),1)
- RJ.C0 = RJ.C0:lerp(CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(-5-2.5*M.C(Sine/(wsVal/2))),M.R(0*M.C(Sine/wsVal)),0),Alpha)
- NK.C0 = NK.C0:lerp(NKC0,Alpha)
- LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,-.22*M.C(Sine/wsVal))*CF.A(M.R(37*M.C(Sine/wsVal)),0,M.R(-5)),Alpha)
- RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,.22*M.C(Sine/wsVal))*CF.A(M.R(-37*M.C(Sine/wsVal)),0,M.R(5)),Alpha)
- LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
- RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
- elseif(State == 'Jump')then
- local Alpha = .1
- local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90))
- LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(5)),Alpha)
- RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(-5)),Alpha)
- RJ.C0 = RJ.C0:lerp(RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
- NK.C0 = NK.C0:lerp(NKC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
- LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
- RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
- elseif(State == 'Fall')then
- local Alpha = .1
- local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90))
- LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-5)+idk),Alpha)
- RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(5)-idk),Alpha)
- RJ.C0 = RJ.C0:lerp(RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
- NK.C0 = NK.C0:lerp(NKC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
- LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
- RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
- elseif(State == 'Paralyzed')then
- -- paralyzed
- elseif(State == 'Sit')then
- -- sit
- end
- end
- end
Add Comment
Please, Sign In to add comment