SHOW:
|
|
- or go back to the newest paste.
| 1 | m = game.Players.LocalPlayer | |
| 2 | char = m.Character | |
| 3 | char.Humanoid.Health = math.huge | |
| 4 | char.Humanoid.Health = math.huge | |
| 5 | char.Humanoid.Health = math.huge | |
| 6 | char.Humanoid.Health = math.huge | |
| 7 | char.Humanoid.Health = math.huge | |
| 8 | function Random(num) | |
| 9 | local section=num % 1 * 3; | |
| 10 | local secondary=0.5 * math.pi * (section % 1); | |
| 11 | if section < 1 then | |
| 12 | return 1,1 - math.cos(secondary),1 - math.sin(secondary); | |
| 13 | elseif section < 2 then | |
| 14 | return 1 - math.sin(secondary),1,1 - math.cos(secondary); | |
| 15 | else | |
| 16 | return 1 - math.cos(secondary),1 - math.sin(secondary),1; | |
| 17 | end | |
| 18 | end | |
| 19 | ||
| 20 | --//Lol try to figure this one out// | |
| 21 | function rainb(hue) | |
| 22 | local section = hue % 1 * 3 | |
| 23 | local secondary = 0.5 * math.pi * (section % 1) | |
| 24 | if section < 1 then | |
| 25 | return Color3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary)) | |
| 26 | elseif section < 2 then | |
| 27 | return Color3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary)) | |
| 28 | else | |
| 29 | return Color3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1) | |
| 30 | end | |
| 31 | end | |
| 32 | ||
| 33 | - | Chillmusic = Instance.new("Sound", char)
|
| 33 | + | Chillmusic = Instance.new("Sound",char)
|
| 34 | - | Chillmusic.Parent = game.Chat |
| 34 | + | |
| 35 | Chillmusic.SoundId = "rbxassetid://622820644" | |
| 36 | Chillmusic.Looped = true | |
| 37 | Chillmusic:Play() | |
| 38 | if char.Humanoid.Health = 0 then | |
| 39 | Chillmusic:Stop() | |
| 40 | ||
| 41 | local txt = Instance.new("BillboardGui", char)
| |
| 42 | txt.Adornee = char.Head | |
| 43 | txt.Name = "_status" | |
| 44 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
| 45 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
| 46 | local text = Instance.new("TextLabel", txt)
| |
| 47 | text.Size = UDim2.new(10, 0, 7, 0) | |
| 48 | text.FontSize = "Size24" | |
| 49 | text.TextScaled = true | |
| 50 | text.TextTransparency = 0 | |
| 51 | text.BackgroundTransparency = 1 | |
| 52 | text.TextTransparency = 0 | |
| 53 | text.TextStrokeTransparency = 0 | |
| 54 | text.Font = "Bodoni" | |
| 55 | text.TextStrokeColor3 = Color3.new(0, 0, 0) | |
| 56 | v = Instance.new("Part")
| |
| 57 | v.Name = "ColorBrick" | |
| 58 | v.Parent = m.Character | |
| 59 | v.FormFactor = "Symmetric" | |
| 60 | v.Anchored = true | |
| 61 | v.CanCollide = false | |
| 62 | v.BottomSurface = "Smooth" | |
| 63 | v.TopSurface = "Smooth" | |
| 64 | v.Size = Vector3.new(10, 5, 3) | |
| 65 | v.Transparency = 1 | |
| 66 | v.CFrame = char.Torso.CFrame | |
| 67 | v.BrickColor = BrickColor.new("Really black")
| |
| 68 | v.Transparency = 1 | |
| 69 | spawn(function() | |
| 70 | TweenService = game:GetService("TweenService")
| |
| 71 | Colours = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
| |
| 72 | Int = 0 | |
| 73 | while wait(0.5) do | |
| 74 | if Int == #Colours then Int = 0 end | |
| 75 | Int = Int+1 | |
| 76 | TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
| |
| 77 | end | |
| 78 | end) | |
| 79 | v.Shape = "Block" | |
| 80 | text.Text = "~»♢Solstice♢«~" | |
| 81 | Player = game:GetService("Players").LocalPlayer
| |
| 82 | Character = Player.Character | |
| 83 | PlayerGui = Player.PlayerGui | |
| 84 | Backpack = Player.Backpack | |
| 85 | Torso = Character.Torso | |
| 86 | Head = Character.Head | |
| 87 | Humanoid = Character.Humanoid | |
| 88 | m = Instance.new("Model", Character)
| |
| 89 | LeftArm = Character["Left Arm"] | |
| 90 | LeftLeg = Character["Left Leg"] | |
| 91 | RightArm = Character["Right Arm"] | |
| 92 | RightLeg = Character["Right Leg"] | |
| 93 | LS = Torso["Left Shoulder"] | |
| 94 | LH = Torso["Left Hip"] | |
| 95 | RS = Torso["Right Shoulder"] | |
| 96 | RH = Torso["Right Hip"] | |
| 97 | Face = Head.face | |
| 98 | Neck = Torso.Neck | |
| 99 | it = Instance.new | |
| 100 | attacktype = 1 | |
| 101 | vt = Vector3.new | |
| 102 | cf = CFrame.new | |
| 103 | bc = BrickColor.new | |
| 104 | br = BrickColor.random | |
| 105 | it = Instance.new | |
| 106 | euler = CFrame.fromEulerAnglesXYZ | |
| 107 | angles = CFrame.Angles | |
| 108 | cloaked = false | |
| 109 | necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 110 | necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 111 | LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 112 | LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 113 | RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 114 | RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 115 | RootPart = Character.HumanoidRootPart | |
| 116 | RootJoint = RootPart.RootJoint | |
| 117 | RootCF = euler(-1.57, 0, 3.14) | |
| 118 | attack = false | |
| 119 | attackdebounce = false | |
| 120 | equipped = false | |
| 121 | trispeed = 0.2 | |
| 122 | attackmode = "none" | |
| 123 | local idle = 0 | |
| 124 | local Anim = "Idle" | |
| 125 | Head.face.Texture = "rbxassetid://206844132" | |
| 126 | ||
| 127 | local Trail = Instance.new("Trail",char)
| |
| 128 | local attachment0 = Instance.new("Attachment",char["Right Arm"])
| |
| 129 | attachment0.Name = "TrailAttachment0" | |
| 130 | attachment0.CFrame = CFrame.new(-0.25,-1,0) | |
| 131 | local attachment1 = Instance.new("Attachment",char["Right Arm"])
| |
| 132 | attachment1.CFrame = CFrame.new(0.25,-1,0) | |
| 133 | attachment1.Name = "TrailAttachment1" | |
| 134 | Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
| |
| 135 | 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))})
| |
| 136 | Trail.Lifetime = 0.5 | |
| 137 | Trail.Attachment0 = attachment0 | |
| 138 | Trail.Attachment1 = attachment1 | |
| 139 | ||
| 140 | local Trail = Instance.new("Trail",char)
| |
| 141 | local attachment0 = Instance.new("Attachment",char["Left Arm"])
| |
| 142 | attachment0.Name = "TrailAttachment0" | |
| 143 | attachment0.CFrame = CFrame.new(-0.25,-1,0) | |
| 144 | local attachment1 = Instance.new("Attachment",char["Left Arm"])
| |
| 145 | attachment1.CFrame = CFrame.new(0.25,-1,0) | |
| 146 | attachment1.Name = "TrailAttachment1" | |
| 147 | Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
| |
| 148 | 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))})
| |
| 149 | Trail.Lifetime = 0.5 | |
| 150 | Trail.Attachment0 = attachment0 | |
| 151 | Trail.Attachment1 = attachment1 | |
| 152 | ||
| 153 | local Trail = Instance.new("Trail",char)
| |
| 154 | local attachment0 = Instance.new("Attachment",char["Right Leg"])
| |
| 155 | attachment0.Name = "TrailAttachment0" | |
| 156 | attachment0.CFrame = CFrame.new(-0.25,-1,0) | |
| 157 | local attachment1 = Instance.new("Attachment",char["Right Leg"])
| |
| 158 | attachment1.CFrame = CFrame.new(0.25,-1,0) | |
| 159 | attachment1.Name = "TrailAttachment1" | |
| 160 | Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
| |
| 161 | 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))})
| |
| 162 | Trail.Lifetime = 0.5 | |
| 163 | Trail.Attachment0 = attachment0 | |
| 164 | Trail.Attachment1 = attachment1 | |
| 165 | ||
| 166 | local Trail = Instance.new("Trail",char)
| |
| 167 | local attachment0 = Instance.new("Attachment",char["Left Leg"])
| |
| 168 | attachment0.Name = "TrailAttachment0" | |
| 169 | attachment0.CFrame = CFrame.new(-0.25,-1,0) | |
| 170 | local attachment1 = Instance.new("Attachment",char["Left Leg"])
| |
| 171 | attachment1.CFrame = CFrame.new(0.25,-1,0) | |
| 172 | attachment1.Name = "TrailAttachment1" | |
| 173 | Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
| |
| 174 | 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))})
| |
| 175 | Trail.Lifetime = 0.5 | |
| 176 | Trail.Attachment0 = attachment0 | |
| 177 | Trail.Attachment1 = attachment1 | |
| 178 | ||
| 179 | ||
| 180 | Humanoid.Animator.Parent = nil | |
| 181 | Character.Animate.Parent = nil | |
| 182 | function FindNearestTorso(Position, Distance, SinglePlayer) | |
| 183 | if SinglePlayer then | |
| 184 | return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude | |
| 185 | end | |
| 186 | local List = {}
| |
| 187 | for i, v in pairs(workspace:GetChildren()) do | |
| 188 | if v:IsA("Model") and v:findFirstChild("Torso") and v ~= Character and Distance >= (v.Torso.Position - Position).magnitude then
| |
| 189 | table.insert(List, v) | |
| 190 | end | |
| 191 | end | |
| 192 | return List | |
| 193 | end | |
| 194 | function lerp(a, b, t) | |
| 195 | return a + (b - a) * t | |
| 196 | end | |
| 197 | function slerp(a, b, t) | |
| 198 | dot = a:Dot(b) | |
| 199 | if dot > 0.99999 or dot < -0.99999 then | |
| 200 | return t <= 0.5 and a or b | |
| 201 | else | |
| 202 | r = math.acos(dot) | |
| 203 | return (a * math.sin((1 - t) * r) + b * math.sin(t * r)) / math.sin(r) | |
| 204 | end | |
| 205 | end | |
| 206 | function matrixInterpolate(a, b, t) | |
| 207 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
| 208 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
| 209 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx, by, bz), t) | |
| 210 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) | |
| 211 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) | |
| 212 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) | |
| 213 | local t = v1:Dot(v2) | |
| 214 | if not (t < 0) and t ~= 0 and not (t > 0) then | |
| 215 | return CFrame.new() | |
| 216 | end | |
| 217 | 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) | |
| 218 | end | |
| 219 | function genWeld(a, b) | |
| 220 | local w = Instance.new("Weld", a)
| |
| 221 | w.Part0 = a | |
| 222 | w.Part1 = b | |
| 223 | return w | |
| 224 | end | |
| 225 | function weld(a, b) | |
| 226 | local weld = Instance.new("Weld")
| |
| 227 | weld.Name = "W" | |
| 228 | weld.Part0 = a | |
| 229 | weld.Part1 = b | |
| 230 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
| 231 | weld.Parent = a | |
| 232 | return weld | |
| 233 | end | |
| 234 | function Lerp(c1, c2, al) | |
| 235 | local com1 = {
| |
| 236 | c1.X, | |
| 237 | c1.Y, | |
| 238 | c1.Z, | |
| 239 | c1:toEulerAnglesXYZ() | |
| 240 | } | |
| 241 | local com2 = {
| |
| 242 | c2.X, | |
| 243 | c2.Y, | |
| 244 | c2.Z, | |
| 245 | c2:toEulerAnglesXYZ() | |
| 246 | } | |
| 247 | for i, v in pairs(com1) do | |
| 248 | com1[i] = v + (com2[i] - v) * al | |
| 249 | end | |
| 250 | return CFrame.new(com1[1], com1[2], com1[3]) * CFrame.Angles(select(4, unpack(com1))) | |
| 251 | end | |
| 252 | function clerp(a, b, t) | |
| 253 | local qa = {
| |
| 254 | QuaternionFromCFrame(a) | |
| 255 | } | |
| 256 | local qb = {
| |
| 257 | QuaternionFromCFrame(b) | |
| 258 | } | |
| 259 | local ax, ay, az = a.x, a.y, a.z | |
| 260 | local bx, by, bz = b.x, b.y, b.z | |
| 261 | local _t = 1 - t | |
| 262 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
| 263 | end | |
| 264 | function QuaternionFromCFrame(cf) | |
| 265 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 266 | local trace = m00 + m11 + m22 | |
| 267 | if trace > 0 then | |
| 268 | local s = math.sqrt(1 + trace) | |
| 269 | local recip = 0.5 / s | |
| 270 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
| 271 | else | |
| 272 | local i = 0 | |
| 273 | if m00 < m11 then | |
| 274 | i = 1 | |
| 275 | end | |
| 276 | if m22 > (i == 0 and m00 or m11) then | |
| 277 | i = 2 | |
| 278 | end | |
| 279 | if i == 0 then | |
| 280 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
| 281 | local recip = 0.5 / s | |
| 282 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
| 283 | elseif i == 1 then | |
| 284 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
| 285 | local recip = 0.5 / s | |
| 286 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
| 287 | elseif i == 2 then | |
| 288 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
| 289 | local recip = 0.5 / s | |
| 290 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
| 291 | end | |
| 292 | end | |
| 293 | end | |
| 294 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 295 | local xs, ys, zs = x + x, y + y, z + z | |
| 296 | local wx, wy, wz = w * xs, w * ys, w * zs | |
| 297 | local xx = x * xs | |
| 298 | local xy = x * ys | |
| 299 | local xz = x * zs | |
| 300 | local yy = y * ys | |
| 301 | local yz = y * zs | |
| 302 | local zz = z * zs | |
| 303 | 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)) | |
| 304 | end | |
| 305 | function QuaternionSlerp(a, b, t) | |
| 306 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
| 307 | local startInterp, finishInterp | |
| 308 | if cosTheta >= 1.0E-4 then | |
| 309 | if 1 - cosTheta > 1.0E-4 then | |
| 310 | local theta = math.acos(cosTheta) | |
| 311 | local invSinTheta = 1 / math.sin(theta) | |
| 312 | startInterp = math.sin((1 - t) * theta) * invSinTheta | |
| 313 | finishInterp = math.sin(t * theta) * invSinTheta | |
| 314 | else | |
| 315 | startInterp = 1 - t | |
| 316 | finishInterp = t | |
| 317 | end | |
| 318 | elseif 1 + cosTheta > 1.0E-4 then | |
| 319 | local theta = math.acos(-cosTheta) | |
| 320 | local invSinTheta = 1 / math.sin(theta) | |
| 321 | startInterp = math.sin((t - 1) * theta) * invSinTheta | |
| 322 | finishInterp = math.sin(t * theta) * invSinTheta | |
| 323 | else | |
| 324 | startInterp = t - 1 | |
| 325 | finishInterp = t | |
| 326 | end | |
| 327 | 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 | |
| 328 | end | |
| 329 | function rayCast(Pos, Dir, Max, Ignore) | |
| 330 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
| |
| 331 | end | |
| 332 | function part(formfactor, parent, reflectance, transparency, brickcolor, name, size) | |
| 333 | local fp = it("Part")
| |
| 334 | fp.formFactor = formfactor | |
| 335 | fp.Parent = parent | |
| 336 | fp.Reflectance = reflectance | |
| 337 | fp.Transparency = transparency | |
| 338 | fp.CanCollide = false | |
| 339 | fp.Locked = true | |
| 340 | fp.BrickColor = brickcolor | |
| 341 | fp.Name = name | |
| 342 | fp.Size = size | |
| 343 | fp.Position = Torso.Position | |
| 344 | fp.BottomSurface = "Smooth" | |
| 345 | fp.TopSurface = "Smooth" | |
| 346 | fp:BreakJoints() | |
| 347 | return fp | |
| 348 | end | |
| 349 | function mesh(Mesh, part, meshtype, meshid, offset, scale) | |
| 350 | local mesh = it(Mesh) | |
| 351 | mesh.Parent = part | |
| 352 | if Mesh == "SpecialMesh" then | |
| 353 | mesh.MeshType = meshtype | |
| 354 | mesh.MeshId = meshid | |
| 355 | end | |
| 356 | mesh.Offset = offset | |
| 357 | mesh.Scale = scale | |
| 358 | return mesh | |
| 359 | end | |
| 360 | function weld(parent, part0, part1, c0) | |
| 361 | local weld = it("Weld")
| |
| 362 | weld.Parent = parent | |
| 363 | weld.Part0 = part0 | |
| 364 | weld.Part1 = part1 | |
| 365 | weld.C0 = c0 | |
| 366 | return weld | |
| 367 | end | |
| 368 | function rayCast(Pos, Dir, Max, Ignore) | |
| 369 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
| |
| 370 | end | |
| 371 | RSH, LSH = nil, nil | |
| 372 | RW, LW = Instance.new("Weld"), Instance.new("Weld")
| |
| 373 | RW.Name = "Right Shoulder" | |
| 374 | LW.Name = "Left Shoulder" | |
| 375 | LH = Torso["Left Hip"] | |
| 376 | RH = Torso["Right Hip"] | |
| 377 | TorsoColor = Torso.BrickColor | |
| 378 | function NoOutline(Part) | |
| 379 | Part.TopSurface, Part.BottomSurface, Part.LeftSurface, Part.RightSurface, Part.FrontSurface, Part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 380 | end | |
| 381 | player = Player | |
| 382 | ch = Character | |
| 383 | RSH = ch.Torso["Right Shoulder"] | |
| 384 | LSH = ch.Torso["Left Shoulder"] | |
| 385 | RSH.Parent = nil | |
| 386 | LSH.Parent = nil | |
| 387 | RW.Name = "Right Shoulder" | |
| 388 | RW.Part0 = ch.Torso | |
| 389 | RW.C0 = cf(1.5, 0.5, 0) | |
| 390 | RW.C1 = cf(0, 0.5, 0) | |
| 391 | RW.Part1 = ch["Right Arm"] | |
| 392 | RW.Parent = ch.Torso | |
| 393 | LW.Name = "Left Shoulder" | |
| 394 | LW.Part0 = ch.Torso | |
| 395 | LW.C0 = cf(-1.5, 0.5, 0) | |
| 396 | LW.C1 = cf(0, 0.5, 0) | |
| 397 | LW.Part1 = ch["Left Arm"] | |
| 398 | LW.Parent = ch.Torso | |
| 399 | function newWeld(wp0, wp1, wc0x, wc0y, wc0z) | |
| 400 | local wld = Instance.new("Weld", wp1)
| |
| 401 | wld.Part0 = wp0 | |
| 402 | wld.Part1 = wp1 | |
| 403 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
| 404 | end | |
| 405 | newWeld(RootPart, Torso, 0, -1, 0) | |
| 406 | Torso.Weld.C1 = CFrame.new(0, -1, 0) | |
| 407 | newWeld(Torso, LeftLeg, -0.5, -1, 0) | |
| 408 | LeftLeg.Weld.C1 = CFrame.new(0, 1, 0) | |
| 409 | newWeld(Torso, RightLeg, 0.5, -1, 0) | |
| 410 | RightLeg.Weld.C1 = CFrame.new(0, 1, 0) | |
| 411 | Player = game:GetService("Players").LocalPlayer
| |
| 412 | Character = Player.Character | |
| 413 | mouse = Player:GetMouse() | |
| 414 | m = Instance.new("Model", Character)
| |
| 415 | local weldBetween = function(a, b) | |
| 416 | local weldd = Instance.new("ManualWeld")
| |
| 417 | weldd.Part0 = a | |
| 418 | weldd.Part1 = b | |
| 419 | weldd.C0 = CFrame.new() | |
| 420 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
| 421 | weldd.Parent = a | |
| 422 | return weldd | |
| 423 | end | |
| 424 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 425 | ArtificialHB.Name = "Heartbeat" | |
| 426 | script:WaitForChild("Heartbeat")
| |
| 427 | frame = 0.016666666666666666 | |
| 428 | tf = 0 | |
| 429 | allowframeloss = false | |
| 430 | tossremainder = false | |
| 431 | lastframe = tick() | |
| 432 | script.Heartbeat:Fire() | |
| 433 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 434 | tf = tf + s | |
| 435 | if tf >= frame then | |
| 436 | if allowframeloss then | |
| 437 | script.Heartbeat:Fire() | |
| 438 | lastframe = tick() | |
| 439 | else | |
| 440 | for i = 1, math.floor(tf / frame) do | |
| 441 | script.Heartbeat:Fire() | |
| 442 | end | |
| 443 | lastframe = tick() | |
| 444 | end | |
| 445 | if tossremainder then | |
| 446 | tf = 0 | |
| 447 | else | |
| 448 | tf = tf - frame * math.floor(tf / frame) | |
| 449 | end | |
| 450 | end | |
| 451 | end) | |
| 452 | function swait(num) | |
| 453 | if num == 0 or num == nil then | |
| 454 | ArtificialHB.Event:wait() | |
| 455 | else | |
| 456 | for i = 0, num do | |
| 457 | ArtificialHB.Event:wait() | |
| 458 | end | |
| 459 | end | |
| 460 | end | |
| 461 | mouse.KeyDown:connect(function(key) | |
| 462 | if key == "c" then | |
| 463 | repeat | |
| 464 | swait() | |
| 465 | Chillmusic.Volume = Chillmusic.Volume - 0.05 | |
| 466 | until Chillmusic.Volume == 0 | |
| 467 | Chillmusic:Stop() | |
| 468 | swait() | |
| 469 | Chillmusic2:Play() | |
| 470 | Chillmusic.Volume = 1 | |
| 471 | end | |
| 472 | end) | |
| 473 | mouse.KeyDown:connect(function(key) | |
| 474 | if key == "f" then | |
| 475 | text.Text = "Guys why not just chill?" | |
| 476 | wait(1) | |
| 477 | text.Text = "I Mean It's not that cold to make you Cold Hearted." | |
| 478 | wait(3) | |
| 479 | text.Text = "*Badum tss*" | |
| 480 | wait(1) | |
| 481 | text.Text = "Heh, This is A Very Cold Script." | |
| 482 | wait(3) | |
| 483 | text.Text = "Your Skid Hands Won't Handle The Cold." | |
| 484 | wait(3) | |
| 485 | text.Text = "Niko... I Miss Her." | |
| 486 | wait(3) | |
| 487 | text.Text = "...You Know What? Ill Stay Chill." | |
| 488 | wait(3) | |
| 489 | text.Text = "~»♢Solstice♢«~" | |
| 490 | end | |
| 491 | end) | |
| 492 | mouse.KeyDown:connect(function(key) | |
| 493 | if key == "v" then | |
| 494 | repeat | |
| 495 | swait() | |
| 496 | Chillmusic2.Volume = Chillmusic2.Volume - 0.05 | |
| 497 | until Chillmusic2.Volume == 0 | |
| 498 | Chillmusic2:Stop() | |
| 499 | swait() | |
| 500 | Chillmusic:Play() | |
| 501 | Chillmusic2.Volume = 1 | |
| 502 | end | |
| 503 | end) | |
| 504 | mouse.KeyDown:connect(function(key) | |
| 505 | if key == "b" then | |
| 506 | text.Text = "Ill Be Back, Nibs." | |
| 507 | wait(1) | |
| 508 | text.Text = "Solstice Is Afk." | |
| 509 | end | |
| 510 | end) | |
| 511 | mouse.KeyDown:connect(function(key) | |
| 512 | if key == "n" then | |
| 513 | text.Text = "WHOM'STD SAY C O L G A T E" | |
| 514 | wait(1) | |
| 515 | text.Text = "~»♢Solstice♢«~" | |
| 516 | end | |
| 517 | end) | |
| 518 | m = Instance.new("ForceField", Character)
| |
| 519 | m.Visible = false | |
| 520 | Character.Humanoid.WalkSpeed = 4 | |
| 521 | mouse.KeyDown:connect(function(key) | |
| 522 | if string.byte(key) == 48 then | |
| 523 | Swing = 2 | |
| 524 | Character.Humanoid.WalkSpeed = 40 | |
| 525 | end | |
| 526 | end) | |
| 527 | mouse.KeyUp:connect(function(key) | |
| 528 | if string.byte(key) == 48 then | |
| 529 | Swing = 1 | |
| 530 | Character.Humanoid.WalkSpeed = 4 | |
| 531 | end | |
| 532 | end) | |
| 533 | local sine = 0 | |
| 534 | local change = 1 | |
| 535 | local val = 0 | |
| 536 | spawn(function() | |
| 537 | while true do | |
| 538 | swait() | |
| 539 | sine = sine + change | |
| 540 | local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 541 | local velderp = RootPart.Velocity.y | |
| 542 | hitfloor, posfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character) | |
| 543 | if equipped == true or equipped == false then | |
| 544 | if attack == false then | |
| 545 | idle = idle + 1 | |
| 546 | Character.Humanoid.MaxHealth = math.huge | |
| 547 | Character.Humanoid.Health = math.huge | |
| 548 | else | |
| 549 | idle = 0 | |
| 550 | end | |
| 551 | if not (idle >= 500) or attack == false then | |
| 552 | end | |
| 553 | if torvel < 1 and hitfloor ~= nil then | |
| 554 | Anim = "Chill" | |
| 555 | if attack == false then | |
| 556 | Humanoid.CameraOffset = Vector3.new(0, 10.25 - 5.45 * math.cos(sine / 65), 0) | |
| 557 | 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) | |
| 558 | 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) | |
| 559 | 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) | |
| 560 | 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) | |
| 561 | 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) | |
| 562 | 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) | |
| 563 | end | |
| 564 | elseif torvel > 2 and torvel < 22 and hitfloor ~= nil then | |
| 565 | Anim = "Walk" | |
| 566 | if attack == false then | |
| 567 | Humanoid.CameraOffset = Vector3.new(0, 6 - 2.55 * math.cos(sine / 48.5), 0) | |
| 568 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), 0.2) | |
| 569 | 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) | |
| 570 | 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) | |
| 571 | 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) | |
| 572 | 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) | |
| 573 | 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) | |
| 574 | 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) | |
| 575 | end | |
| 576 | elseif torvel >= 22 and hitfloor ~= nil then | |
| 577 | Anim = "Run" | |
| 578 | if attack == false then | |
| 579 | Humanoid.CameraOffset = Vector3.new(0, 6 - 1.55 * math.cos(sine / 68.5), 0) | |
| 580 | 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) | |
| 581 | 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) | |
| 582 | 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) | |
| 583 | 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) | |
| 584 | 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) | |
| 585 | 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) | |
| 586 | 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) | |
| 587 | end | |
| 588 | end | |
| 589 | end | |
| 590 | end | |
| 591 | end) | |
| 592 | ||
| 593 | ||
| 594 | ||
| 595 | -- Objects | |
| 596 | ||
| 597 | local Chill_Gui_Bro = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
| |
| 598 | local Header = Instance.new("Frame")
| |
| 599 | local BackGround = Instance.new("Frame")
| |
| 600 | local Chill_Gui_Label = Instance.new("TextLabel")
| |
| 601 | local Play_ID_Button = Instance.new("TextButton")
| |
| 602 | local ID_Box = Instance.new("TextBox")
| |
| 603 | local Set_Vol_Button = Instance.new("TextButton")
| |
| 604 | local Vol_Box = Instance.new("TextBox")
| |
| 605 | local Set_Tpos_Button = Instance.new("TextButton")
| |
| 606 | local Tpos_Box = Instance.new("TextBox")
| |
| 607 | local Set_Text_Button = Instance.new("TextButton")
| |
| 608 | local Tpos_Box_2 = Instance.new("TextBox")
| |
| 609 | local Toggle_Chat_Button = Instance.new("TextButton")
| |
| 610 | local Chat_Toggle_Label = Instance.new("TextLabel")
| |
| 611 | local Current_Song_Label = Instance.new("TextLabel")
| |
| 612 | ||
| 613 | -- Properties | |
| 614 | ||
| 615 | Chill_Gui_Bro.Name = "Chill_Gui_Bro" | |
| 616 | ||
| 617 | Header.Name = "Header" | |
| 618 | Header.Parent = Chill_Gui_Bro | |
| 619 | Header.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647) | |
| 620 | Header.BorderSizePixel = 0 | |
| 621 | Header.Draggable = true | |
| 622 | Header.Active = true | |
| 623 | Header.Selectable = true | |
| 624 | Header.Position = UDim2.new(0.469539374, 0, 0.147921771, 0) | |
| 625 | Header.Size = UDim2.new(0, 250, 0, 45) | |
| 626 | ||
| 627 | BackGround.Name = "BackGround" | |
| 628 | BackGround.Parent = Header | |
| 629 | BackGround.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078) | |
| 630 | BackGround.BorderSizePixel = 0 | |
| 631 | BackGround.Draggable = true | |
| 632 | BackGround.Position = UDim2.new(0, 0, 1, 0) | |
| 633 | BackGround.Size = UDim2.new(0, 250, 0, 299) | |
| 634 | ||
| 635 | Chill_Gui_Label.Name = "Chill_Gui_Label" | |
| 636 | Chill_Gui_Label.Parent = Header | |
| 637 | Chill_Gui_Label.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 638 | Chill_Gui_Label.BackgroundTransparency = 1 | |
| 639 | Chill_Gui_Label.BorderSizePixel = 0 | |
| 640 | Chill_Gui_Label.Draggable = true | |
| 641 | Chill_Gui_Label.Size = UDim2.new(0, 250, 0, 45) | |
| 642 | - | Chill_Gui_Label.Text = "~»Dank Gui«~" |
| 642 | + | |
| 643 | Chill_Gui_Label.Text = "~»ChillSolstice Gui«~" | |
| 644 | Chill_Gui_Label.TextColor3 = Color3.new(1, 1, 1) | |
| 645 | Chill_Gui_Label.TextScaled = true | |
| 646 | Chill_Gui_Label.TextSize = 14 | |
| 647 | Chill_Gui_Label.TextWrapped = true | |
| 648 | ||
| 649 | Play_ID_Button.Name = "Play_ID_Button" | |
| 650 | Play_ID_Button.Parent = Header | |
| 651 | Play_ID_Button.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647) | |
| 652 | Play_ID_Button.BorderColor3 = Color3.new(0, 0, 0) | |
| 653 | Play_ID_Button.BorderSizePixel = 0 | |
| 654 | Play_ID_Button.Position = UDim2.new(0.0520000011, 0, 1.22222221, 0) | |
| 655 | Play_ID_Button.Size = UDim2.new(0, 68, 0, 35) | |
| 656 | Play_ID_Button.Font = Enum.Font.Cartoon | |
| 657 | Play_ID_Button.Text = "Play ID" | |
| 658 | Play_ID_Button.TextColor3 = Color3.new(1, 1, 1) | |
| 659 | Play_ID_Button.TextSize = 20 | |
| 660 | Play_ID_Button.TextWrapped = true | |
| 661 | ||
| 662 | ID_Box.Name = "ID_Box" | |
| 663 | ID_Box.Parent = Header | |
| 664 | ID_Box.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647) | |
| 665 | ID_Box.BorderColor3 = Color3.new(0, 0, 0) | |
| 666 | ID_Box.BorderSizePixel = 0 | |
| 667 | ID_Box.Position = UDim2.new(0.356000006, 0, 1.22222221, 0) | |
| 668 | ID_Box.Size = UDim2.new(0, 140, 0, 35) | |
| 669 | ID_Box.Font = Enum.Font.Cartoon | |
| 670 | ID_Box.Text = "ID here" | |
| 671 | ID_Box.TextColor3 = Color3.new(1, 1, 1) | |
| 672 | ID_Box.TextSize = 35 | |
| 673 | ID_Box.TextWrapped = true | |
| 674 | ||
| 675 | Set_Vol_Button.Name = "Set_Vol_Button" | |
| 676 | Set_Vol_Button.Parent = Header | |
| 677 | Set_Vol_Button.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647) | |
| 678 | Set_Vol_Button.BorderColor3 = Color3.new(0, 0, 0) | |
| 679 | Set_Vol_Button.BorderSizePixel = 0 | |
| 680 | Set_Vol_Button.Position = UDim2.new(0.0520000011, 0, 2.20000005, 0) | |
| 681 | Set_Vol_Button.Size = UDim2.new(0, 68, 0, 35) | |
| 682 | Set_Vol_Button.Font = Enum.Font.Cartoon | |
| 683 | Set_Vol_Button.Text = "Set Vol" | |
| 684 | Set_Vol_Button.TextColor3 = Color3.new(1, 1, 1) | |
| 685 | Set_Vol_Button.TextSize = 20 | |
| 686 | Set_Vol_Button.TextWrapped = true | |
| 687 | ||
| 688 | Vol_Box.Name = "Vol_Box" | |
| 689 | Vol_Box.Parent = Header | |
| 690 | Vol_Box.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647) | |
| 691 | Vol_Box.BorderColor3 = Color3.new(0, 0, 0) | |
| 692 | Vol_Box.BorderSizePixel = 0 | |
| 693 | Vol_Box.Position = UDim2.new(0.356000006, 0, 2.20000005, 0) | |
| 694 | Vol_Box.Size = UDim2.new(0, 140, 0, 35) | |
| 695 | Vol_Box.Font = Enum.Font.Cartoon | |
| 696 | Vol_Box.Text = "Volume" | |
| 697 | Vol_Box.TextColor3 = Color3.new(1, 1, 1) | |
| 698 | Vol_Box.TextSize = 35 | |
| 699 | Vol_Box.TextWrapped = true | |
| 700 | ||
| 701 | Set_Tpos_Button.Name = "Set_Tpos_Button" | |
| 702 | Set_Tpos_Button.Parent = Header | |
| 703 | Set_Tpos_Button.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647) | |
| 704 | Set_Tpos_Button.BorderColor3 = Color3.new(0, 0, 0) | |
| 705 | Set_Tpos_Button.BorderSizePixel = 0 | |
| 706 | Set_Tpos_Button.Position = UDim2.new(0.0520000011, 0, 3.24444437, 0) | |
| 707 | Set_Tpos_Button.Size = UDim2.new(0, 68, 0, 35) | |
| 708 | Set_Tpos_Button.Font = Enum.Font.Cartoon | |
| 709 | Set_Tpos_Button.Text = "Set Tpos" | |
| 710 | Set_Tpos_Button.TextColor3 = Color3.new(1, 1, 1) | |
| 711 | Set_Tpos_Button.TextSize = 18 | |
| 712 | Set_Tpos_Button.TextWrapped = true | |
| 713 | ||
| 714 | Tpos_Box.Name = "Tpos_Box" | |
| 715 | Tpos_Box.Parent = Header | |
| 716 | Tpos_Box.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647) | |
| 717 | Tpos_Box.BorderColor3 = Color3.new(0, 0, 0) | |
| 718 | Tpos_Box.BorderSizePixel = 0 | |
| 719 | Tpos_Box.Position = UDim2.new(0.356000006, 0, 3.24444437, 0) | |
| 720 | Tpos_Box.Size = UDim2.new(0, 140, 0, 35) | |
| 721 | Tpos_Box.Font = Enum.Font.Cartoon | |
| 722 | Tpos_Box.Text = "Time Position" | |
| 723 | Tpos_Box.TextColor3 = Color3.new(1, 1, 1) | |
| 724 | Tpos_Box.TextSize = 20 | |
| 725 | Tpos_Box.TextWrapped = true | |
| 726 | ||
| 727 | Set_Text_Button.Name = "Set_Text_Button" | |
| 728 | Set_Text_Button.Parent = Header | |
| 729 | Set_Text_Button.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647) | |
| 730 | Set_Text_Button.BorderColor3 = Color3.new(0, 0, 0) | |
| 731 | Set_Text_Button.BorderSizePixel = 0 | |
| 732 | Set_Text_Button.Position = UDim2.new(0.0600000024, 0, 4.22222233, 0) | |
| 733 | Set_Text_Button.Size = UDim2.new(0, 68, 0, 35) | |
| 734 | Set_Text_Button.Font = Enum.Font.Cartoon | |
| 735 | Set_Text_Button.Text = "Set Text" | |
| 736 | Set_Text_Button.TextColor3 = Color3.new(1, 1, 1) | |
| 737 | Set_Text_Button.TextSize = 18 | |
| 738 | Set_Text_Button.TextWrapped = true | |
| 739 | ||
| 740 | Tpos_Box_2.Name = "Tpos_Box" | |
| 741 | Tpos_Box_2.Parent = Header | |
| 742 | Tpos_Box_2.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647) | |
| 743 | Tpos_Box_2.BorderColor3 = Color3.new(0, 0, 0) | |
| 744 | Tpos_Box_2.BorderSizePixel = 0 | |
| 745 | Tpos_Box_2.Position = UDim2.new(0.356000006, 0, 4.22222233, 0) | |
| 746 | Tpos_Box_2.Size = UDim2.new(0, 140, 0, 35) | |
| 747 | Tpos_Box_2.Font = Enum.Font.Cartoon | |
| 748 | Tpos_Box_2.Text = "Text" | |
| 749 | Tpos_Box_2.TextColor3 = Color3.new(1, 1, 1) | |
| 750 | Tpos_Box_2.TextSize = 20 | |
| 751 | Tpos_Box_2.TextWrapped = true | |
| 752 | ||
| 753 | Toggle_Chat_Button.Name = "Toggle_Chat_Button" | |
| 754 | Toggle_Chat_Button.Parent = Header | |
| 755 | Toggle_Chat_Button.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647) | |
| 756 | Toggle_Chat_Button.BorderColor3 = Color3.new(0, 0, 0) | |
| 757 | Toggle_Chat_Button.BorderSizePixel = 0 | |
| 758 | Toggle_Chat_Button.Position = UDim2.new(0.0579999983, 0, 5.26666689, 0) | |
| 759 | Toggle_Chat_Button.Size = UDim2.new(0, 97, 0, 35) | |
| 760 | Toggle_Chat_Button.Font = Enum.Font.Cartoon | |
| 761 | Toggle_Chat_Button.Text = "Toggle Chat" | |
| 762 | Toggle_Chat_Button.TextColor3 = Color3.new(1, 1, 1) | |
| 763 | Toggle_Chat_Button.TextSize = 20 | |
| 764 | Toggle_Chat_Button.TextWrapped = true | |
| 765 | ||
| 766 | Chat_Toggle_Label.Name = "Chat_Toggle_Label" | |
| 767 | Chat_Toggle_Label.Parent = Header | |
| 768 | Chat_Toggle_Label.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 769 | Chat_Toggle_Label.BackgroundTransparency = 0.89999997615814 | |
| 770 | Chat_Toggle_Label.BorderColor3 = Color3.new(1, 1, 1) | |
| 771 | Chat_Toggle_Label.Position = UDim2.new(0.540000021, 0, 5.26666689, 0) | |
| 772 | Chat_Toggle_Label.Size = UDim2.new(0, 94, 0, 35) | |
| 773 | Chat_Toggle_Label.Font = Enum.Font.Cartoon | |
| 774 | Chat_Toggle_Label.Text = "~»False«~" | |
| 775 | Chat_Toggle_Label.TextColor3 = Color3.new(1, 1, 1) | |
| 776 | Chat_Toggle_Label.TextScaled = true | |
| 777 | Chat_Toggle_Label.TextSize = 14 | |
| 778 | Chat_Toggle_Label.TextWrapped = true | |
| 779 | ||
| 780 | Current_Song_Label.Name = "Current_Song_Label" | |
| 781 | Current_Song_Label.Parent = Header | |
| 782 | Current_Song_Label.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 783 | Current_Song_Label.BackgroundTransparency = 0.89999997615814 | |
| 784 | Current_Song_Label.BorderColor3 = Color3.new(1, 1, 1) | |
| 785 | Current_Song_Label.Position = UDim2.new(0.0520000011, 0, 6.64444447, 0) | |
| 786 | Current_Song_Label.Size = UDim2.new(0, 225, 0, 35) | |
| 787 | Current_Song_Label.Font = Enum.Font.Cartoon | |
| 788 | Current_Song_Label.Text = "~»Current Song: None«~" | |
| 789 | Current_Song_Label.TextColor3 = Color3.new(1, 1, 1) | |
| 790 | Current_Song_Label.TextScaled = true | |
| 791 | Current_Song_Label.TextSize = 14 | |
| 792 | Current_Song_Label.TextWrapped = true | |
| 793 | ||
| 794 | Play_ID_Button.MouseButton1Down:Connect(function() | |
| 795 | if tonumber(ID_Box.Text) then | |
| 796 | Chillmusic:Stop() | |
| 797 | Chillmusic.SoundId='rbxassetid://'..tonumber(ID_Box.Text) | |
| 798 | Chillmusic:Play() | |
| 799 | - | text.Text = "~»♢Solstice♢«~ Now Playing: "..currentsong |
| 799 | + | |
| 800 | text.Text = "~»Chill Af«~ Now Playing: "..currentsong | |
| 801 | Current_Song_Label.Text = "~»Current Song: "..currentsong.."«~" | |
| 802 | wait(4) | |
| 803 | text.Text = "~»♢Solstice♢«~" | |
| 804 | end | |
| 805 | end) | |
| 806 | local ischatting = false | |
| 807 | ||
| 808 | Set_Vol_Button.MouseButton1Down:Connect(function() | |
| 809 | ||
| 810 | Chillmusic.Volume = tonumber(Vol_Box.Text) | |
| 811 | end) | |
| 812 | ||
| 813 | Set_Tpos_Button.MouseButton1Down:Connect(function() | |
| 814 | ||
| 815 | Chillmusic.TimePosition = tonumber(Tpos_Box.Text) | |
| 816 | end) | |
| 817 | ||
| 818 | Set_Text_Button.MouseButton1Down:Connect(function() | |
| 819 | ||
| 820 | text.Text = "~»"..Tpos_Box_2.Text.."«~" | |
| 821 | end) | |
| 822 | ||
| 823 | Toggle_Chat_Button.MouseButton1Down:Connect(function() | |
| 824 | if ischatting == false then | |
| 825 | ischatting = true | |
| 826 | Chat_Toggle_Label.Text = "~»True«~" | |
| 827 | spawn(function() | |
| 828 | game.Players.LocalPlayer.Chatted:connect(function(msg) | |
| 829 | for i = 0, msg:len(), 1 do | |
| 830 | text.Text = "~»"..msg:sub(0, i).."«~" | |
| 831 | end | |
| 832 | wait(3) | |
| 833 | text.Text = "~»♢Solstice♢«~" | |
| 834 | end) | |
| 835 | end) | |
| 836 | else | |
| 837 | ischatting = false | |
| 838 | Chat_Toggle_Label.Text = "~»False«~" | |
| 839 | end | |
| 840 | end) |