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