SHOW:
|
|
- or go back to the newest paste.
| 1 | -- This script has been converted to FE by MasterPiece9876 | |
| 2 | ||
| 3 | ||
| 4 | if game:GetService("RunService"):IsClient() then error("Scri[t is supposed to h/ instead, use hl/ YOU GIANT NOOB!!!!!") end
| |
| 5 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
| 6 | do | |
| 7 | print("FE Compatibility code by MasterPiece9876 | Translated to FE by pizzacruster my friend")
| |
| 8 | script.Parent = Player.Character | |
| 9 | ||
| 10 | --RemoteEvent for communicating | |
| 11 | local Event = Instance.new("RemoteEvent")
| |
| 12 | Event.Name = "UserInput_Event" | |
| 13 | ||
| 14 | --Fake event to make stuff like Mouse.KeyDown work | |
| 15 | local function fakeEvent() | |
| 16 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
| |
| 17 | t.connect = t.Connect | |
| 18 | return t | |
| 19 | end | |
| 20 | ||
| 21 | --Creating fake input objects with fake variables | |
| 22 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
| |
| 23 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 24 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 25 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 26 | end} | |
| 27 | --Merged 2 functions into one by checking amount of arguments | |
| 28 | CAS.UnbindAction = CAS.BindAction | |
| 29 | ||
| 30 | --This function will trigger the events that have been :Connect()'ed | |
| 31 | local function te(self,ev,...) | |
| 32 | local t = m[ev] | |
| 33 | if t and t._fakeEvent and t.Function then | |
| 34 | t.Function(...) | |
| 35 | end | |
| 36 | end | |
| 37 | m.TrigEvent = te | |
| 38 | UIS.TrigEvent = te | |
| 39 | ||
| 40 | Event.OnServerEvent:Connect(function(plr,io) | |
| 41 | if plr~=Player then return end | |
| 42 | if io.isMouse then | |
| 43 | m.Target = io.Target | |
| 44 | m.Hit = io.Hit | |
| 45 | else | |
| 46 | local b = io.UserInputState == Enum.UserInputState.Begin | |
| 47 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
| 49 | end | |
| 50 | for _,t in pairs(CAS.Actions) do | |
| 51 | for _,k in pairs(t.Keys) do | |
| 52 | if k==io.KeyCode then | |
| 53 | t.Function(t.Name,io.UserInputState,io) | |
| 54 | end | |
| 55 | end | |
| 56 | end | |
| 57 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 58 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 59 | end | |
| 60 | end) | |
| 61 | Event.Parent = NLS([==[ | |
| 62 | - | local Player = game:GetService("Players").MasterPiece9876
|
| 62 | + | local Player = game:GetService("Players").retram
|
| 63 | local Event = script:WaitForChild("UserInput_Event")
| |
| 64 | ||
| 65 | local UIS = game:GetService("UserInputService")
| |
| 66 | local input = function(io,a) | |
| 67 | if a then return end | |
| 68 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 69 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
| |
| 70 | end | |
| 71 | UIS.InputBegan:Connect(input) | |
| 72 | UIS.InputEnded:Connect(input) | |
| 73 | ||
| 74 | local Mouse = Player:GetMouse() | |
| 75 | local h,t | |
| 76 | --Give the server mouse data 30 times every second, but only if the values changed | |
| 77 | --If player is not moving their mouse, client won't fire events | |
| 78 | while wait(1/30) do | |
| 79 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 80 | h,t=Mouse.Hit,Mouse.Target | |
| 81 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 82 | end | |
| 83 | end]==],Player.Character) | |
| 84 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
| 85 | end | |
| 86 | ||
| 87 | print([[ | |
| 88 | wow | |
| 89 | mine | |
| 90 | ]]) | |
| 91 | ||
| 92 | player = game:GetService("Players").retram
| |
| 93 | char = player.Character | |
| 94 | hed = char:WaitForChild("Head")
| |
| 95 | root = char:WaitForChild("HumanoidRootPart")
| |
| 96 | vismode = "rainbow" | |
| 97 | firstrun = true | |
| 98 | asdid = "" | |
| 99 | asdtext = "" | |
| 100 | asdtimeposition = 0 | |
| 101 | asdvolume = 0 | |
| 102 | asdpitch = 0 | |
| 103 | asdmax = 0 | |
| 104 | mode = "local" | |
| 105 | asdhi=0 | |
| 106 | asdmi=0 | |
| 107 | asdlo=0 | |
| 108 | asddist=0 | |
| 109 | asdopen=false | |
| 110 | asdcolor = false | |
| 111 | synctarget = nil | |
| 112 | foundsound = false | |
| 113 | ||
| 114 | mathrandom={x=0;y=0;z=0;}
| |
| 115 | ||
| 116 | local rdmx = math.random(0,1) | |
| 117 | local rdmy = math.random(0,1) | |
| 118 | local rdmz = math.random(0,1) | |
| 119 | if rdmx == 0 then mathrandom.x = math.random(40,60) else mathrandom.x = -math.random(40,60) end | |
| 120 | if rdmy == 0 then mathrandom.y = math.random(40,60) else mathrandom.y = -math.random(40,60) end | |
| 121 | if rdmz == 0 then mathrandom.z = math.random(40,60) else mathrandom.z = -math.random(40,60) end | |
| 122 | ||
| 123 | local origcolor = BrickColor.new("Really red")
| |
| 124 | bc = BrickColor.new | |
| 125 | br = BrickColor.random | |
| 126 | it = Instance.new | |
| 127 | cf = CFrame.new | |
| 128 | euler = CFrame.fromEulerAnglesXYZ | |
| 129 | angles = CFrame.Angles | |
| 130 | matr = math.random | |
| 131 | it = Instance.new | |
| 132 | vt = Vector3.new | |
| 133 | cf = CFrame.new | |
| 134 | bc = BrickColor.new | |
| 135 | ||
| 136 | ||
| 137 | local leftkey = false | |
| 138 | local rightkey = false | |
| 139 | local typerot = 1 | |
| 140 | local rotspeed = 1 | |
| 141 | local negrotspeed = -1 | |
| 142 | function swait(num) | |
| 143 | if num==0 or num==nil then | |
| 144 | game:service'RunService'.Stepped:wait(0) | |
| 145 | else | |
| 146 | for i=0,num do | |
| 147 | game:service'RunService'.Stepped:wait(0) | |
| 148 | end | |
| 149 | end | |
| 150 | end | |
| 151 | ||
| 152 | local Create = LoadLibrary("RbxUtility").Create
| |
| 153 | ||
| 154 | CFuncs = {
| |
| 155 | ["Part"] = {
| |
| 156 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 157 | local Part = Create("Part"){
| |
| 158 | Parent = Parent, | |
| 159 | Reflectance = Reflectance, | |
| 160 | Transparency = Transparency, | |
| 161 | CanCollide = false, | |
| 162 | Locked = true, | |
| 163 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 164 | Name = Name, | |
| 165 | Size = Size, | |
| 166 | Material = Material, | |
| 167 | } | |
| 168 | RemoveOutlines(Part) | |
| 169 | return Part | |
| 170 | end; | |
| 171 | }; | |
| 172 | ||
| 173 | ["Mesh"] = {
| |
| 174 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 175 | local Msh = Create(Mesh){
| |
| 176 | Parent = Part, | |
| 177 | Offset = OffSet, | |
| 178 | Scale = Scale, | |
| 179 | } | |
| 180 | if Mesh == "SpecialMesh" then | |
| 181 | Msh.MeshType = MeshType | |
| 182 | Msh.MeshId = MeshId | |
| 183 | end | |
| 184 | return Msh | |
| 185 | end; | |
| 186 | }; | |
| 187 | ||
| 188 | ["Mesh"] = {
| |
| 189 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 190 | local Msh = Create(Mesh){
| |
| 191 | Parent = Part, | |
| 192 | Offset = OffSet, | |
| 193 | Scale = Scale, | |
| 194 | } | |
| 195 | if Mesh == "SpecialMesh" then | |
| 196 | Msh.MeshType = MeshType | |
| 197 | Msh.MeshId = MeshId | |
| 198 | end | |
| 199 | return Msh | |
| 200 | end; | |
| 201 | }; | |
| 202 | ||
| 203 | ["Weld"] = {
| |
| 204 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 205 | local Weld = Create("Weld"){
| |
| 206 | Parent = Parent, | |
| 207 | Part0 = Part0, | |
| 208 | Part1 = Part1, | |
| 209 | C0 = C0, | |
| 210 | C1 = C1, | |
| 211 | } | |
| 212 | return Weld | |
| 213 | end; | |
| 214 | }; | |
| 215 | ||
| 216 | ["Sound"] = {
| |
| 217 | Create = function(id, par, vol, pit) | |
| 218 | coroutine.resume(coroutine.create(function() | |
| 219 | local S = Create("Sound"){
| |
| 220 | Volume = vol, | |
| 221 | Pitch = pit or 1, | |
| 222 | SoundId = id, | |
| 223 | Parent = par or workspace, | |
| 224 | } | |
| 225 | wait() | |
| 226 | S:play() | |
| 227 | game:GetService("Debris"):AddItem(S, 10)
| |
| 228 | end)) | |
| 229 | end; | |
| 230 | }; | |
| 231 | ||
| 232 | ["ParticleEmitter"] = {
| |
| 233 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 234 | local fp = Create("ParticleEmitter"){
| |
| 235 | Parent = Parent, | |
| 236 | Color = ColorSequence.new(Color1, Color2), | |
| 237 | LightEmission = LightEmission, | |
| 238 | Size = Size, | |
| 239 | Texture = Texture, | |
| 240 | Transparency = Transparency, | |
| 241 | ZOffset = ZOffset, | |
| 242 | Acceleration = Accel, | |
| 243 | Drag = Drag, | |
| 244 | LockedToPart = LockedToPart, | |
| 245 | VelocityInheritance = VelocityInheritance, | |
| 246 | EmissionDirection = EmissionDirection, | |
| 247 | Enabled = Enabled, | |
| 248 | Lifetime = LifeTime, | |
| 249 | Rate = Rate, | |
| 250 | Rotation = Rotation, | |
| 251 | RotSpeed = RotSpeed, | |
| 252 | Speed = Speed, | |
| 253 | VelocitySpread = VelocitySpread, | |
| 254 | } | |
| 255 | return fp | |
| 256 | end; | |
| 257 | }; | |
| 258 | ||
| 259 | CreateTemplate = {
| |
| 260 | ||
| 261 | }; | |
| 262 | } | |
| 263 | ||
| 264 | ||
| 265 | ||
| 266 | New = function(Object, Parent, Name, Data) | |
| 267 | local Object = Instance.new(Object) | |
| 268 | for Index, Value in pairs(Data or {}) do
| |
| 269 | Object[Index] = Value | |
| 270 | end | |
| 271 | Object.Parent = Parent | |
| 272 | Object.Name = Name | |
| 273 | return Object | |
| 274 | end | |
| 275 | ||
| 276 | function CreateSound(asd) | |
| 277 | if synctarget == nil then | |
| 278 | if mode == "local" then | |
| 279 | soundparent=char:WaitForChild("Torso")
| |
| 280 | else | |
| 281 | soundparent=char | |
| 282 | end | |
| 283 | sound = Instance.new("Sound",soundparent)
| |
| 284 | sound.Name = "KyuSound" | |
| 285 | sound.Looped = true | |
| 286 | effect = Instance.new("EqualizerSoundEffect",sound)
| |
| 287 | coroutine.resume(coroutine.create(function() | |
| 288 | distort = Instance.new("DistortionSoundEffect",sound)
| |
| 289 | end)) | |
| 290 | if asd ~= nil then | |
| 291 | sound.SoundId = asdid | |
| 292 | sound.TimePosition = asdtimeposition | |
| 293 | end | |
| 294 | sound:Play() | |
| 295 | end | |
| 296 | end | |
| 297 | ||
| 298 | function fetchName(id) | |
| 299 | cast = false | |
| 300 | coroutine.resume(coroutine.create(function() product = game:GetService("MarketplaceService"):GetProductInfo(id, Enum.InfoType.Asset) cast = true end))
| |
| 301 | if cast == true then | |
| 302 | repeat rs:wait() | |
| 303 | coroutine.resume(coroutine.create(function() product = game:GetService("MarketplaceService"):GetProductInfo(id, Enum.InfoType.Asset) end))
| |
| 304 | asdfname = product.Name | |
| 305 | until asdfname ~= nil | |
| 306 | else | |
| 307 | asdfname = "" | |
| 308 | end | |
| 309 | return asdfname | |
| 310 | end | |
| 311 | ||
| 312 | function scan(instance) | |
| 313 | if instance.ClassName == "Sound" then | |
| 314 | if instance.TimeLength > 20 and instance.IsPlaying and foundsound == false then | |
| 315 | asdid = instance.SoundId | |
| 316 | sound = instance | |
| 317 | foundsound = true | |
| 318 | print("Sync to sound :)")
| |
| 319 | end | |
| 320 | end | |
| 321 | for _,children in pairs(instance:GetChildren()) do scan(children) end | |
| 322 | end | |
| 323 | ||
| 324 | function drawgui() | |
| 325 | ||
| 326 | Prefix = "/" | |
| 327 | function findPlayer(name) | |
| 328 | for _, players in pairs(game:getService("Players"):GetPlayers()) do
| |
| 329 | if players.Name:lower():find(name:lower()) then | |
| 330 | return players | |
| 331 | end | |
| 332 | end | |
| 333 | end | |
| 334 | ||
| 335 | if firstrun == true then | |
| 336 | player.Chatted:connect(function(msg) | |
| 337 | if msg:lower():sub(1,#Prefix+#'sync ')==Prefix..'sync ' then | |
| 338 | local v = msg:sub(#Prefix+#'sync '+1) | |
| 339 | foundsound = false | |
| 340 | synctarget = findPlayer(v) | |
| 341 | end | |
| 342 | end) | |
| 343 | end | |
| 344 | ||
| 345 | naeeym2 = Instance.new("BillboardGui",root)
| |
| 346 | naeeym2.Size = UDim2.new(10, 0, 4, 0) | |
| 347 | naeeym2.StudsOffset = Vector3.new(0, 7, 0) | |
| 348 | naeeym2.Adornee = root | |
| 349 | naeeym2.Name = "TalkingBillBoard" | |
| 350 | tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 351 | tecks2.BackgroundTransparency = 1 | |
| 352 | tecks2.BorderSizePixel = 0 | |
| 353 | if firstrun == true then | |
| 354 | tecks2.Text = "" | |
| 355 | else | |
| 356 | tecks2.Text = fetchName(tonumber(asdid:sub(#'rbxassetid://'+1))) | |
| 357 | end | |
| 358 | tecks2.Font = "Fantasy" | |
| 359 | tecks2.TextSize = 25 | |
| 360 | tecks2.Size = UDim2.new(1,0,1,0) | |
| 361 | tecks2.TextStrokeTransparency = 0 | |
| 362 | tecks2.TextTransparency = 0 | |
| 363 | ||
| 364 | parent = player.PlayerGui | |
| 365 | ScreenGui0 = Instance.new("ScreenGui")
| |
| 366 | TextButton1 = Instance.new("TextButton")
| |
| 367 | Frame2 = Instance.new("Frame")
| |
| 368 | TextBox3 = Instance.new("TextBox")
| |
| 369 | TextButton4 = Instance.new("TextButton")
| |
| 370 | Frame5 = Instance.new("Frame")
| |
| 371 | Frame6 = Instance.new("Frame")
| |
| 372 | Frame7 = Instance.new("Frame")
| |
| 373 | TextLabel8 = Instance.new("TextLabel")
| |
| 374 | TextButton9 = Instance.new("TextButton")
| |
| 375 | Frame10 = Instance.new("Frame")
| |
| 376 | Frame11 = Instance.new("Frame")
| |
| 377 | TextLabel12 = Instance.new("TextLabel")
| |
| 378 | TextButton13 = Instance.new("TextButton")
| |
| 379 | TextButton14 = Instance.new("TextButton")
| |
| 380 | Frame15 = Instance.new("Frame")
| |
| 381 | Frame16 = Instance.new("Frame")
| |
| 382 | Frame17 = Instance.new("Frame")
| |
| 383 | TextButton18 = Instance.new("TextButton")
| |
| 384 | TextLabel19 = Instance.new("TextLabel")
| |
| 385 | Frame20 = Instance.new("Frame")
| |
| 386 | Frame21 = Instance.new("Frame")
| |
| 387 | TextButton22 = Instance.new("TextButton")
| |
| 388 | TextLabel23 = Instance.new("TextLabel")
| |
| 389 | Frame24 = Instance.new("Frame")
| |
| 390 | Frame25 = Instance.new("Frame")
| |
| 391 | TextButton26 = Instance.new("TextButton")
| |
| 392 | TextLabel27 = Instance.new("TextLabel")
| |
| 393 | Frame28 = Instance.new("Frame")
| |
| 394 | Frame29 = Instance.new("Frame")
| |
| 395 | TextButton30 = Instance.new("TextButton")
| |
| 396 | TextLabel31 = Instance.new("TextLabel")
| |
| 397 | Frame32 = Instance.new("Frame")
| |
| 398 | TextButton33 = Instance.new("TextButton")
| |
| 399 | TextButton34 = Instance.new("TextButton")
| |
| 400 | ScreenGui0.Name = "MusicPlayerKyu" | |
| 401 | ScreenGui0.Parent = parent | |
| 402 | TextButton1.AnchorPoint = Vector2.new(0, 0.5) | |
| 403 | TextButton1.Name = "Open/Close" | |
| 404 | TextButton1.Parent = ScreenGui0 | |
| 405 | TextButton1.Size = UDim2.new(0, 20, 0, 300) | |
| 406 | TextButton1.Text = ">>" | |
| 407 | TextButton1.Position = UDim2.new(0, 0, 0.5, 0) | |
| 408 | TextButton1.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 409 | TextButton1.SizeConstraint = Enum.SizeConstraint.RelativeXX | |
| 410 | TextButton1.Font = Enum.Font.Code | |
| 411 | Frame2.AnchorPoint = Vector2.new(0, 0.5) | |
| 412 | Frame2.Name = "Core" | |
| 413 | Frame2.Parent = ScreenGui0 | |
| 414 | Frame2.Size = UDim2.new(0, 500, 0, 300) | |
| 415 | Frame2.Position = UDim2.new(0, 20, 0.5, 0) | |
| 416 | Frame2.BackgroundColor3 = Color3.new(0.615686, 0.615686, 0.615686) | |
| 417 | Frame2.SizeConstraint = Enum.SizeConstraint.RelativeXX | |
| 418 | TextBox3.Name = "ID" | |
| 419 | TextBox3.Parent = Frame2 | |
| 420 | TextBox3.Size = UDim2.new(0, 100, 0, 100) | |
| 421 | if firstrun == true then | |
| 422 | TextBox3.Text = "ID" | |
| 423 | else | |
| 424 | TextBox3.Text = asdtext | |
| 425 | end | |
| 426 | TextBox3.Position = UDim2.new(0, 50, 0, 20) | |
| 427 | TextBox3.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 428 | TextBox3.SizeConstraint = Enum.SizeConstraint.RelativeXX | |
| 429 | TextBox3.Font = Enum.Font.SciFi | |
| 430 | TextBox3.FontSize = Enum.FontSize.Size14 | |
| 431 | TextButton4.Name = "Play" | |
| 432 | TextButton4.Parent = TextBox3 | |
| 433 | TextButton4.Size = UDim2.new(1, 0, 0, 20) | |
| 434 | TextButton4.Text = "PLAY" | |
| 435 | TextButton4.Position = UDim2.new(0.5, 0, 1, 0) | |
| 436 | TextButton4.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 437 | TextButton4.Font = Enum.Font.SciFi | |
| 438 | TextButton4.FontSize = Enum.FontSize.Size14 | |
| 439 | TextButton4.AnchorPoint = Vector2.new(0.5, 0) | |
| 440 | Frame5.Name = "SettingsPanel" | |
| 441 | Frame5.Parent = Frame2 | |
| 442 | Frame5.Size = UDim2.new(0, 300, 0, 150) | |
| 443 | Frame5.Position = UDim2.new(1, -20, 0, 20) | |
| 444 | Frame5.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098) | |
| 445 | Frame5.AnchorPoint = Vector2.new(1, 0) | |
| 446 | Frame6.Name = "Volume" | |
| 447 | Frame6.Parent = Frame5 | |
| 448 | Frame6.Transparency = 0 | |
| 449 | Frame6.Size = UDim2.new(0, 100, 0, 100) | |
| 450 | Frame6.Position = UDim2.new(0, 100, 0.5, 0) | |
| 451 | Frame6.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 452 | Frame6.BackgroundTransparency = 1 | |
| 453 | Frame6.AnchorPoint = Vector2.new(0.5, 0.5) | |
| 454 | Frame7.Name = "Line" | |
| 455 | Frame7.Parent = Frame6 | |
| 456 | Frame7.Size = UDim2.new(0, 1, 1, 0) | |
| 457 | Frame7.Position = UDim2.new(0.5, 0, 0, 0) | |
| 458 | Frame7.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196) | |
| 459 | Frame7.BorderSizePixel = 0 | |
| 460 | Frame7.AnchorPoint = Vector2.new(0.5, 0) | |
| 461 | TextLabel8.Name = "Text" | |
| 462 | TextLabel8.Parent = Frame6 | |
| 463 | TextLabel8.Transparency = 0 | |
| 464 | TextLabel8.Text = "Volume" | |
| 465 | TextLabel8.Position = UDim2.new(0.5, 0, 1, 10) | |
| 466 | TextLabel8.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 467 | TextLabel8.BackgroundTransparency = 1 | |
| 468 | TextLabel8.Font = Enum.Font.SourceSans | |
| 469 | TextLabel8.FontSize = Enum.FontSize.Size10 | |
| 470 | TextLabel8.AnchorPoint = Vector2.new(0.5, 0) | |
| 471 | TextButton9.Name = "DragVol" | |
| 472 | TextButton9.Parent = Frame6 | |
| 473 | TextButton9.Size = UDim2.new(0, 20, 0, 10) | |
| 474 | TextButton9.Text = "" | |
| 475 | if firstrun == true then | |
| 476 | TextButton9.Position = UDim2.new(0.5, 0, 0.5, 0) | |
| 477 | else | |
| 478 | TextButton9.Position = asdvolume | |
| 479 | end | |
| 480 | TextButton9.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235) | |
| 481 | TextButton9.Font = Enum.Font.SourceSans | |
| 482 | TextButton9.AnchorPoint = Vector2.new(0.5, 0.5) | |
| 483 | Frame10.Name = "Pitch" | |
| 484 | Frame10.Parent = Frame5 | |
| 485 | Frame10.Transparency = 0 | |
| 486 | Frame10.Size = UDim2.new(0, 100, 0, 100) | |
| 487 | Frame10.Position = UDim2.new(0, 50, 0.5, 0) | |
| 488 | Frame10.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 489 | Frame10.BackgroundTransparency = 1 | |
| 490 | Frame10.AnchorPoint = Vector2.new(0.5, 0.5) | |
| 491 | Frame11.Name = "Line" | |
| 492 | Frame11.Parent = Frame10 | |
| 493 | Frame11.Size = UDim2.new(0, 1, 1, 0) | |
| 494 | Frame11.Position = UDim2.new(0.5, 0, 0, 0) | |
| 495 | Frame11.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196) | |
| 496 | Frame11.BorderSizePixel = 0 | |
| 497 | Frame11.AnchorPoint = Vector2.new(0.5, 0) | |
| 498 | TextLabel12.Name = "Text" | |
| 499 | TextLabel12.Parent = Frame10 | |
| 500 | TextLabel12.Transparency = 0 | |
| 501 | TextLabel12.Text = "Pitch" | |
| 502 | TextLabel12.Position = UDim2.new(0.5, 0, 1, 10) | |
| 503 | TextLabel12.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 504 | TextLabel12.BackgroundTransparency = 1 | |
| 505 | TextLabel12.Font = Enum.Font.SourceSans | |
| 506 | TextLabel12.FontSize = Enum.FontSize.Size10 | |
| 507 | TextLabel12.AnchorPoint = Vector2.new(0.5, 0) | |
| 508 | TextButton13.Name = "DragPitch" | |
| 509 | TextButton13.Parent = Frame10 | |
| 510 | TextButton13.Size = UDim2.new(0, 20, 0, 10) | |
| 511 | TextButton13.Text = "" | |
| 512 | if firstrun == true then | |
| 513 | TextButton13.Position = UDim2.new(0.5, 0, 0.5, 0) | |
| 514 | else | |
| 515 | TextButton13.Position = asdpitch | |
| 516 | end | |
| 517 | TextButton13.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235) | |
| 518 | TextButton13.Font = Enum.Font.SourceSans | |
| 519 | TextButton13.AnchorPoint = Vector2.new(0.5, 0.5) | |
| 520 | TextButton14.Name = "Reset" | |
| 521 | TextButton14.Parent = Frame10 | |
| 522 | TextButton14.Size = UDim2.new(0, 20, 0, 20) | |
| 523 | TextButton14.Text = "" | |
| 524 | TextButton14.Position = UDim2.new(0.5, -15, 0.5, 0) | |
| 525 | TextButton14.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235) | |
| 526 | TextButton14.Font = Enum.Font.SourceSans | |
| 527 | TextButton14.FontSize = Enum.FontSize.Size14 | |
| 528 | TextButton14.AnchorPoint = Vector2.new(1, 0.5) | |
| 529 | Frame15.Name = "Others" | |
| 530 | Frame15.Parent = Frame5 | |
| 531 | Frame15.Transparency = 0 | |
| 532 | Frame15.Size = UDim2.new(0, 100, 0, 100) | |
| 533 | Frame15.Position = UDim2.new(0, 210, 0.5, 0) | |
| 534 | Frame15.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 535 | Frame15.BackgroundTransparency = 1 | |
| 536 | Frame15.AnchorPoint = Vector2.new(0.5, 0.5) | |
| 537 | Frame16.Name = "Low" | |
| 538 | Frame16.Parent = Frame15 | |
| 539 | Frame16.Transparency = 0 | |
| 540 | Frame16.Size = UDim2.new(0, 0, 1, 0) | |
| 541 | Frame16.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 542 | Frame16.BackgroundTransparency = 1 | |
| 543 | Frame17.Name = "Line" | |
| 544 | Frame17.Parent = Frame16 | |
| 545 | Frame17.Size = UDim2.new(0, 1, 1, 0) | |
| 546 | Frame17.Position = UDim2.new(0.5, 0, 0, 0) | |
| 547 | Frame17.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196) | |
| 548 | Frame17.BorderSizePixel = 0 | |
| 549 | Frame17.AnchorPoint = Vector2.new(0.5, 0) | |
| 550 | TextButton18.Name = "DragLow" | |
| 551 | TextButton18.Parent = Frame16 | |
| 552 | TextButton18.Size = UDim2.new(0, 20, 0, 10) | |
| 553 | TextButton18.Text = "" | |
| 554 | if firstrun == true then | |
| 555 | TextButton18.Position = UDim2.new(0.5, 0, 0.5, -25) | |
| 556 | else | |
| 557 | TextButton18.Position = asdlo | |
| 558 | end | |
| 559 | TextButton18.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235) | |
| 560 | TextButton18.Font = Enum.Font.SourceSans | |
| 561 | TextButton18.AnchorPoint = Vector2.new(0.5, 0.5) | |
| 562 | TextLabel19.Name = "Text" | |
| 563 | TextLabel19.Parent = Frame16 | |
| 564 | TextLabel19.Transparency = 0 | |
| 565 | TextLabel19.Text = "Low" | |
| 566 | TextLabel19.Position = UDim2.new(0.5, 0, 1, 10) | |
| 567 | TextLabel19.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 568 | TextLabel19.BackgroundTransparency = 1 | |
| 569 | TextLabel19.Font = Enum.Font.SourceSans | |
| 570 | TextLabel19.FontSize = Enum.FontSize.Size10 | |
| 571 | TextLabel19.AnchorPoint = Vector2.new(0.5, 0) | |
| 572 | Frame20.Name = "Medium" | |
| 573 | Frame20.Parent = Frame15 | |
| 574 | Frame20.Transparency = 0 | |
| 575 | Frame20.Size = UDim2.new(0, 0, 1, 0) | |
| 576 | Frame20.Position = UDim2.new(0, 40, 0, 0) | |
| 577 | Frame20.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 578 | Frame20.BackgroundTransparency = 1 | |
| 579 | Frame21.Name = "Line" | |
| 580 | Frame21.Parent = Frame20 | |
| 581 | Frame21.Size = UDim2.new(0, 1, 1, 0) | |
| 582 | Frame21.Position = UDim2.new(0.5, 0, 0, 0) | |
| 583 | Frame21.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196) | |
| 584 | Frame21.BorderSizePixel = 0 | |
| 585 | Frame21.AnchorPoint = Vector2.new(0.5, 0) | |
| 586 | TextButton22.Name = "DragMed" | |
| 587 | TextButton22.Parent = Frame20 | |
| 588 | TextButton22.Size = UDim2.new(0, 20, 0, 10) | |
| 589 | TextButton22.Text = "" | |
| 590 | if firstrun == true then | |
| 591 | TextButton22.Position = UDim2.new(0.5, 0, 0.5, -25) | |
| 592 | else | |
| 593 | TextButton22.Position = asdmi | |
| 594 | end | |
| 595 | TextButton22.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235) | |
| 596 | TextButton22.Font = Enum.Font.SourceSans | |
| 597 | TextButton22.AnchorPoint = Vector2.new(0.5, 0.5) | |
| 598 | TextLabel23.Name = "Text" | |
| 599 | TextLabel23.Parent = Frame20 | |
| 600 | TextLabel23.Transparency = 0 | |
| 601 | TextLabel23.Text = "Medium" | |
| 602 | TextLabel23.Position = UDim2.new(0.5, 0, 1, 10) | |
| 603 | TextLabel23.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 604 | TextLabel23.BackgroundTransparency = 1 | |
| 605 | TextLabel23.Font = Enum.Font.SourceSans | |
| 606 | TextLabel23.FontSize = Enum.FontSize.Size10 | |
| 607 | TextLabel23.AnchorPoint = Vector2.new(0.5, 0) | |
| 608 | Frame24.Name = "High" | |
| 609 | Frame24.Parent = Frame15 | |
| 610 | Frame24.Transparency = 0 | |
| 611 | Frame24.Size = UDim2.new(0, 0, 1, 0) | |
| 612 | Frame24.Position = UDim2.new(0, 80, 0, 0) | |
| 613 | Frame24.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 614 | Frame24.BackgroundTransparency = 1 | |
| 615 | Frame25.Name = "Line" | |
| 616 | Frame25.Parent = Frame24 | |
| 617 | Frame25.Size = UDim2.new(0, 1, 1, 0) | |
| 618 | Frame25.Position = UDim2.new(0.5, 0, 0, 0) | |
| 619 | Frame25.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196) | |
| 620 | Frame25.BorderSizePixel = 0 | |
| 621 | Frame25.AnchorPoint = Vector2.new(0.5, 0) | |
| 622 | TextButton26.Name = "DragHigh" | |
| 623 | TextButton26.Parent = Frame24 | |
| 624 | TextButton26.Size = UDim2.new(0, 20, 0, 10) | |
| 625 | TextButton26.Text = "" | |
| 626 | if firstrun == true then | |
| 627 | TextButton26.Position = UDim2.new(0.5, 0, 0.5, -25) | |
| 628 | else | |
| 629 | TextButton26.Position = asdhi | |
| 630 | end | |
| 631 | TextButton26.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235) | |
| 632 | TextButton26.Font = Enum.Font.SourceSans | |
| 633 | TextButton26.AnchorPoint = Vector2.new(0.5, 0.5) | |
| 634 | TextLabel27.Name = "Text" | |
| 635 | TextLabel27.Parent = Frame24 | |
| 636 | TextLabel27.Transparency = 0 | |
| 637 | TextLabel27.Text = "High" | |
| 638 | TextLabel27.Position = UDim2.new(0.5, 0, 1, 10) | |
| 639 | TextLabel27.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 640 | TextLabel27.BackgroundTransparency = 1 | |
| 641 | TextLabel27.Font = Enum.Font.SourceSans | |
| 642 | TextLabel27.FontSize = Enum.FontSize.Size10 | |
| 643 | TextLabel27.AnchorPoint = Vector2.new(0.5, 0) | |
| 644 | Frame28.Name = "Distortion" | |
| 645 | Frame28.Parent = Frame15 | |
| 646 | Frame28.Transparency = 0 | |
| 647 | Frame28.Size = UDim2.new(0, 0, 1, 0) | |
| 648 | Frame28.Position = UDim2.new(0, 120, 0, 0) | |
| 649 | Frame28.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 650 | Frame28.BackgroundTransparency = 1 | |
| 651 | Frame29.Name = "Line" | |
| 652 | Frame29.Parent = Frame28 | |
| 653 | Frame29.Size = UDim2.new(0, 1, 1, 0) | |
| 654 | Frame29.Position = UDim2.new(0.5, 0, 0, 0) | |
| 655 | Frame29.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196) | |
| 656 | Frame29.BorderSizePixel = 0 | |
| 657 | Frame29.AnchorPoint = Vector2.new(0.5, 0) | |
| 658 | TextButton30.Name = "DragDist" | |
| 659 | TextButton30.Parent = Frame28 | |
| 660 | TextButton30.Size = UDim2.new(0, 20, 0, 10) | |
| 661 | TextButton30.Text = "" | |
| 662 | if firstrun == true then | |
| 663 | TextButton30.Position = UDim2.new(0.5, 0, 0.5, 50) | |
| 664 | else | |
| 665 | TextButton30.Position = asddist | |
| 666 | end | |
| 667 | TextButton30.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235) | |
| 668 | TextButton30.Font = Enum.Font.SourceSans | |
| 669 | TextButton30.AnchorPoint = Vector2.new(0.5, 0.5) | |
| 670 | TextLabel31.Name = "Text" | |
| 671 | TextLabel31.Parent = Frame28 | |
| 672 | TextLabel31.Transparency = 0 | |
| 673 | TextLabel31.Text = "Dist" | |
| 674 | TextLabel31.Position = UDim2.new(0.5, 0, 1, 10) | |
| 675 | TextLabel31.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 676 | TextLabel31.BackgroundTransparency = 1 | |
| 677 | TextLabel31.Font = Enum.Font.SourceSans | |
| 678 | TextLabel31.FontSize = Enum.FontSize.Size10 | |
| 679 | TextLabel31.AnchorPoint = Vector2.new(0.5, 0) | |
| 680 | Frame32.Name = "Line" | |
| 681 | Frame32.Parent = Frame5 | |
| 682 | Frame32.Size = UDim2.new(0, 1, 1, -20) | |
| 683 | Frame32.Position = UDim2.new(0.5, -20, 0.5, 0) | |
| 684 | Frame32.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235) | |
| 685 | Frame32.BorderSizePixel = 0 | |
| 686 | Frame32.AnchorPoint = Vector2.new(0.5, 0.5) | |
| 687 | TextButton33.Name = "Global/Local" | |
| 688 | TextButton33.Parent = Frame2 | |
| 689 | TextButton33.Size = UDim2.new(0, 100, 0, 100) | |
| 690 | if mode == "local" then | |
| 691 | TextButton33.Text = "LOCAL" | |
| 692 | else | |
| 693 | TextButton33.Text = "GLOBAL" | |
| 694 | end | |
| 695 | TextButton33.Position = UDim2.new(0, 50, 0, 180) | |
| 696 | TextButton33.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 697 | TextButton33.Font = Enum.Font.SciFi | |
| 698 | TextButton33.FontSize = Enum.FontSize.Size14 | |
| 699 | TextButton34.Name = "Style" | |
| 700 | TextButton34.Parent = Frame2 | |
| 701 | TextButton34.Size = UDim2.new(0.5, 50, 0, 100) | |
| 702 | TextButton34.Text = "Style: "..vismode | |
| 703 | TextButton34.Position = UDim2.new(0.5, 80, 0, 180) | |
| 704 | TextButton34.BackgroundColor3 = Color3.new(0.211765, 0.211765, 0.211765) | |
| 705 | TextButton34.Font = Enum.Font.SciFi | |
| 706 | TextButton34.FontSize = Enum.FontSize.Size14 | |
| 707 | TextButton34.TextColor3 = Color3.new(1, 1, 0) | |
| 708 | TextButton34.AnchorPoint = Vector2.new(0.5, 0) | |
| 709 | Frame2.Visible = asdopen | |
| 710 | ||
| 711 | draggable = {TextButton9;TextButton13;TextButton18;TextButton22;TextButton26;TextButton30}
| |
| 712 | held = false | |
| 713 | trigger = nil | |
| 714 | base = UDim2.new(0,0,0,0) | |
| 715 | ||
| 716 | TextButton1.MouseButton1Click:connect(function() | |
| 717 | if Frame2.Visible == true then | |
| 718 | Frame2.Visible = false | |
| 719 | asdopen = false | |
| 720 | TextButton1.Text = ">>" | |
| 721 | else | |
| 722 | Frame2.Visible = true | |
| 723 | asdopen = true | |
| 724 | TextButton1.Text = "<<" | |
| 725 | end | |
| 726 | end) | |
| 727 | ||
| 728 | TextButton4.MouseButton1Click:connect(function() | |
| 729 | if mode == "local" then | |
| 730 | if not char:WaitForChild("Torso"):FindFirstChild("KyuSound") then CreateSound() end
| |
| 731 | else | |
| 732 | if not char:FindFirstChild("KyuSound") then CreateSound() end
| |
| 733 | end | |
| 734 | synctarget = nil | |
| 735 | sound:Stop() | |
| 736 | soundname = fetchName(TextBox3.Text) | |
| 737 | tecks2.Text = soundname | |
| 738 | asdid = "rbxassetid://"..TextBox3.Text | |
| 739 | sound:Play() | |
| 740 | end) | |
| 741 | ||
| 742 | TextButton14.MouseButton1Click:connect(function() | |
| 743 | TextButton13.Position = UDim2.new(0.5, 0, 0.5, 0) | |
| 744 | end) | |
| 745 | ||
| 746 | TextButton33.MouseButton1Click:connect(function() | |
| 747 | if synctarget == nil then | |
| 748 | if mode == "local" then | |
| 749 | mode = "global" | |
| 750 | TextButton33.Text = "GLOBAL" | |
| 751 | if char:WaitForChild("Torso"):FindFirstChild("KyuSound") then
| |
| 752 | sound:Pause() | |
| 753 | sound.Parent = char | |
| 754 | sound:Resume() | |
| 755 | end | |
| 756 | else | |
| 757 | mode = "local" | |
| 758 | TextButton33.Text = "LOCAL" | |
| 759 | if char:FindFirstChild("KyuSound") then
| |
| 760 | sound:Pause() | |
| 761 | sound.Parent = char:WaitForChild("Torso")
| |
| 762 | sound:Resume() | |
| 763 | end | |
| 764 | end | |
| 765 | end | |
| 766 | end) | |
| 767 | ||
| 768 | function changemode() | |
| 769 | if vismode == "nothing" then | |
| 770 | vismode = "rainbow" | |
| 771 | local rdmx = math.random(0,1) | |
| 772 | local rdmy = math.random(0,1) | |
| 773 | local rdmz = math.random(0,1) | |
| 774 | if rdmx == 0 then mathrandom.x = math.random(40,60) else mathrandom.x = -math.random(40,60) end | |
| 775 | if rdmy == 0 then mathrandom.y = math.random(40,60) else mathrandom.y = -math.random(40,60) end | |
| 776 | if rdmz == 0 then mathrandom.z = math.random(40,60) else mathrandom.z = -math.random(40,60) end | |
| 777 | elseif vismode == "rainbow" then | |
| 778 | vismode = "classic" | |
| 779 | bp.Position = char.Head.Position+Vector3.new(0,2,0) | |
| 780 | Main.Position = char.Head.Position+Vector3.new(0,2,0) | |
| 781 | part:Destroy() | |
| 782 | elseif vismode == "classic" then | |
| 783 | vismode = "trail" | |
| 784 | local rdmx = math.random(0,1) | |
| 785 | local rdmy = math.random(0,1) | |
| 786 | local rdmz = math.random(0,1) | |
| 787 | if rdmx == 0 then mathrandom.x = math.random(40,60) else mathrandom.x = -math.random(40,60) end | |
| 788 | if rdmy == 0 then mathrandom.y = math.random(40,60) else mathrandom.y = -math.random(40,60) end | |
| 789 | if rdmz == 0 then mathrandom.z = math.random(40,60) else mathrandom.z = -math.random(40,60) end | |
| 790 | elseif vismode == "trail" then | |
| 791 | part:Destroy() | |
| 792 | vismode = "nooby" | |
| 793 | elseif vismode == "nooby" then | |
| 794 | vismode = "trail kyu" | |
| 795 | centralpart:Destroy() | |
| 796 | local rdmx = math.random(0,1) | |
| 797 | local rdmy = math.random(0,1) | |
| 798 | local rdmz = math.random(0,1) | |
| 799 | if rdmx == 0 then mathrandom.x = math.random(40,60) else mathrandom.x = -math.random(40,60) end | |
| 800 | if rdmy == 0 then mathrandom.y = math.random(40,60) else mathrandom.y = -math.random(40,60) end | |
| 801 | if rdmz == 0 then mathrandom.z = math.random(40,60) else mathrandom.z = -math.random(40,60) end | |
| 802 | elseif vismode == "trail kyu" then | |
| 803 | part:Destroy() | |
| 804 | vismode = "nothing" | |
| 805 | end | |
| 806 | end | |
| 807 | ||
| 808 | TextButton34.MouseButton1Click:connect(function() | |
| 809 | changemode() | |
| 810 | end) | |
| 811 | ||
| 812 | for i,v in pairs(draggable) do | |
| 813 | v.MouseButton1Down:connect(function() | |
| 814 | trigger = v | |
| 815 | base = UDim2.new(0.5,0,0.5,mouse.y) - trigger.Position | |
| 816 | held = true | |
| 817 | end) | |
| 818 | v.MouseButton1Up:connect(function() | |
| 819 | base = UDim2.new(0.5,0,0.5,0) | |
| 820 | trigger = nil | |
| 821 | held = false | |
| 822 | end) | |
| 823 | end | |
| 824 | ||
| 825 | mouse.Button1Up:connect(function() | |
| 826 | base = UDim2.new(0.5,0,0.5,0) | |
| 827 | trigger = nil | |
| 828 | held = false | |
| 829 | end) | |
| 830 | ||
| 831 | mouse.Move:connect(function() | |
| 832 | if held then | |
| 833 | trigger.Position = UDim2.new(0.5,0,0.5,mouse.y) - base | |
| 834 | if trigger.Position.Y.Offset > 50 then | |
| 835 | trigger.Position = UDim2.new(0.5, 0,0.5, 50) | |
| 836 | end | |
| 837 | if trigger.Position.Y.Offset < -50 then | |
| 838 | trigger.Position = UDim2.new(0.5, 0,0.5, -50) | |
| 839 | end | |
| 840 | if trigger.Position.X.Offset ~= 0 then | |
| 841 | trigger.Position = UDim2.new(0.5, 0,0.5, trigger.Position.Y.Offset) | |
| 842 | end | |
| 843 | end | |
| 844 | end) | |
| 845 | max = asdmax | |
| 846 | Visualiser = Instance.new("Model",char)
| |
| 847 | Visualiser2 = Instance.new("Model",Visualiser)
| |
| 848 | Visualiser2.Name = "VisualiserK" | |
| 849 | Main = Instance.new("Part",Visualiser)
| |
| 850 | Main.Name = "VisualiserClassic" | |
| 851 | Main.Position = char.Head.Position+Vector3.new(0,2,0) | |
| 852 | Main.CanCollide = false | |
| 853 | Main.Size = Vector3.new(1,1,1) | |
| 854 | Main.Transparency = 1 | |
| 855 | Visualiserpos = Instance.new("Attachment",Main)
| |
| 856 | Visualiserpos.Position = Vector3.new(5,0,0) | |
| 857 | Visualiserpos2 = Instance.new("Attachment",Main)
| |
| 858 | Visualiserpos2.Position = Vector3.new(-5,0,0) | |
| 859 | bp = Instance.new("BodyPosition",Main)
| |
| 860 | bp.P = 3500 | |
| 861 | ba = Instance.new("BodyAngularVelocity",Main)
| |
| 862 | firstrun = false | |
| 863 | end | |
| 864 | ||
| 865 | local i = 0 | |
| 866 | ||
| 867 | while rs:wait() do | |
| 868 | ||
| 869 | script.Parent = nil | |
| 870 | char = player.Character | |
| 871 | root = char:WaitForChild("HumanoidRootPart")
| |
| 872 | ||
| 873 | if not player.PlayerGui:FindFirstChild("MusicPlayerKyu") then
| |
| 874 | drawgui() | |
| 875 | CreateSound("BACKUP")
| |
| 876 | end | |
| 877 | ||
| 878 | if not (foundsound == true or char:FindFirstChild("KyuSound") or char:WaitForChild("Torso"):FindFirstChild("KyuSound")) then
| |
| 879 | CreateSound("BACKUP")
| |
| 880 | end | |
| 881 | ||
| 882 | if foundsound == true or char:FindFirstChild("KyuSound") or char:WaitForChild("Torso"):FindFirstChild("KyuSound") then
| |
| 883 | asdvolume = sound.Volume | |
| 884 | asdtimeposition = sound.TimePosition | |
| 885 | end | |
| 886 | ||
| 887 | if sound.SoundId ~= asdid and synctarget == nil then | |
| 888 | sound:Stop() | |
| 889 | sound.SoundId = asdid | |
| 890 | soundname = fetchName(tonumber(asdid:sub(#'rbxassetid://'+1))) | |
| 891 | sound.TimePosition = asdtimeposition | |
| 892 | sound:Play() | |
| 893 | end | |
| 894 | ||
| 895 | if foundsound == true or char:FindFirstChild("KyuSound") or char:WaitForChild("Torso"):FindFirstChild("KyuSound") then
| |
| 896 | if max < sound.PlaybackLoudness then | |
| 897 | max = sound.PlaybackLoudness | |
| 898 | end | |
| 899 | if max > 0 then | |
| 900 | max = max -1 | |
| 901 | end | |
| 902 | if not sound:FindFirstChild("EqualizerSoundEffect") then
| |
| 903 | effect = Instance.new("EqualizerSoundEffect",sound)
| |
| 904 | end | |
| 905 | if not sound:FindFirstChild("DistortionSoundEffect") then
| |
| 906 | coroutine.resume(coroutine.create(function() | |
| 907 | distort = Instance.new("DistortionSoundEffect",sound)
| |
| 908 | end)) | |
| 909 | end | |
| 910 | sound.Volume = 5-(TextButton9.Position.Y.Offset/10) | |
| 911 | sound.PlaybackSpeed = math.ceil((1-(TextButton13.Position.Y.Offset/50))*40)/40 | |
| 912 | coroutine.resume(coroutine.create(function() | |
| 913 | distort.Level = 0.5+(-TextButton30.Position.Y.Offset/50) | |
| 914 | end)) | |
| 915 | effect.HighGain = -(TextButton26.Position.Y.Offset*1.2) | |
| 916 | effect.MidGain = -(TextButton22.Position.Y.Offset*1.2) | |
| 917 | effect.LowGain = -(TextButton18.Position.Y.Offset*1.2) | |
| 918 | for i,v in pairs(Visualiser:FindFirstChild("VisualiserK"):GetChildren()) do
| |
| 919 | local change = 0.1+(max/5000) | |
| 920 | v.Mesh.Scale = v.Mesh.Scale+Vector3.new(change,change,change) | |
| 921 | v.Transparency = v.Transparency + 0.05 | |
| 922 | local light = v:FindFirstChildOfClass("PointLight")
| |
| 923 | light.Brightness = 2+sound.PlaybackLoudness/25 | |
| 924 | light.Range = 5+sound.PlaybackLoudness/10 | |
| 925 | if v.Transparency >= 1 then | |
| 926 | v:Destroy() | |
| 927 | end | |
| 928 | end | |
| 929 | else | |
| 930 | for i,v in pairs(Visualiser:FindFirstChild("VisualiserK"):GetChildren()) do
| |
| 931 | local change = 0.1 | |
| 932 | v.Mesh.Scale = v.Mesh.Scale+Vector3.new(change,change,change) | |
| 933 | v.Transparency = v.Transparency + 0.05 | |
| 934 | if v.Transparency >= 1 then | |
| 935 | v:Destroy() | |
| 936 | end | |
| 937 | end | |
| 938 | end | |
| 939 | if vismode == "classic" then | |
| 940 | block = Instance.new("Part",Visualiser:FindFirstChild("VisualiserK"))
| |
| 941 | blockm = Instance.new("BlockMesh",block)
| |
| 942 | if foundsound == true or char:FindFirstChild("KyuSound") or char:WaitForChild("Torso"):FindFirstChild("KyuSound") then
| |
| 943 | change = sound.PlaybackLoudness/80 | |
| 944 | blockm.Scale = Vector3.new(1+change,1+change,1+change) | |
| 945 | end | |
| 946 | block.Anchored = true | |
| 947 | block.CanCollide = false | |
| 948 | block.Material = Enum.Material.Neon | |
| 949 | block.Size = Vector3.new(1,1,1) | |
| 950 | light = Instance.new("PointLight",block)
| |
| 951 | light.Color = Color3.fromHSV(0,0,1) | |
| 952 | light.Brightness = 2+sound.PlaybackLoudness/25 | |
| 953 | light.Range = 5+sound.PlaybackLoudness/10 | |
| 954 | block.CFrame = CFrame.new(Visualiserpos.WorldPosition,Vector3.new(math.random(0,3600)/10,math.random(0,3600)/10,math.random(0,3600)/10)) | |
| 955 | -------------- | |
| 956 | block = Instance.new("Part",Visualiser:FindFirstChild("VisualiserK"))
| |
| 957 | blockm = Instance.new("BlockMesh",block)
| |
| 958 | if foundsound == true or char:FindFirstChild("KyuSound") or char:WaitForChild("Torso"):FindFirstChild("KyuSound") then
| |
| 959 | change = sound.PlaybackLoudness/80 | |
| 960 | blockm.Scale = Vector3.new(1+change,1+change,1+change) | |
| 961 | end | |
| 962 | block.Anchored = true | |
| 963 | block.CanCollide = false | |
| 964 | block.Material = Enum.Material.Neon | |
| 965 | block.Size = Vector3.new(1,1,1) | |
| 966 | light = Instance.new("PointLight",block)
| |
| 967 | light.Color = Color3.fromHSV(0,0,1) | |
| 968 | light.Brightness = 2+sound.PlaybackLoudness/25 | |
| 969 | light.Range = 5+sound.PlaybackLoudness/10 | |
| 970 | block.CFrame = CFrame.new(Visualiserpos2.WorldPosition,Vector3.new(math.random(0,3600)/10,math.random(0,3600)/10,math.random(0,3600)/10)) | |
| 971 | ||
| 972 | ba.AngularVelocity = Vector3.new(0,0.2+(max/100),0) | |
| 973 | bp.Position = char.Head.Position+Vector3.new(0,2,0) | |
| 974 | tecks2.TextColor3 = Color3.fromHSV(0,0,0) | |
| 975 | tecks2.TextStrokeColor3 = Color3.fromHSV(0,0,1) | |
| 976 | elseif vismode == "rainbow" then | |
| 977 | if not char:FindFirstChild("VisualiserRGB") then
| |
| 978 | part=Instance.new("Part",char)
| |
| 979 | part.Name="VisualiserRGB" | |
| 980 | part.Position=root.Position + Vector3.new(0,10,0) | |
| 981 | part.CFrame = CFrame.new(part.Position)*CFrame.Angles(math.rad(math.random(1,360)),math.rad(math.random(1,360)),math.rad(math.random(1,360))) | |
| 982 | blockmesh=Instance.new("BlockMesh",part)
| |
| 983 | end | |
| 984 | if not part:FindFirstChildOfClass("BodyPosition") then
| |
| 985 | bp2=Instance.new("BodyPosition",part)
| |
| 986 | end | |
| 987 | if not part:FindFirstChildOfClass("BodyAngularVelocity") then
| |
| 988 | ba2=Instance.new("BodyAngularVelocity",part)
| |
| 989 | end | |
| 990 | if not part:FindFirstChildOfClass("PointLight") then
| |
| 991 | light=Instance.new("PointLight",part)
| |
| 992 | end | |
| 993 | part.Color = Color3.fromHSV(i,1,1) | |
| 994 | light.Color = Color3.fromHSV(i,1,1) | |
| 995 | light.Brightness = 2+sound.PlaybackLoudness/25 | |
| 996 | light.Range = 5+sound.PlaybackLoudness/10 | |
| 997 | part:BreakJoints() | |
| 998 | part.CanCollide = false | |
| 999 | part.Material = Enum.Material.Neon | |
| 1000 | blockmesh.Scale= Vector3.new(1+(sound.PlaybackLoudness/150),1+(sound.PlaybackLoudness/150),1+(sound.PlaybackLoudness/150)) | |
| 1001 | part.Size = Vector3.new(1,1,1) | |
| 1002 | bp2.Position = root.Position + Vector3.new(0,10,0) | |
| 1003 | ba2.AngularVelocity = Vector3.new((mathrandom.x/100)+(sound.PlaybackLoudness/mathrandom.x),(mathrandom.y/100)+(sound.PlaybackLoudness/mathrandom.y),(mathrandom.z/100)+(sound.PlaybackLoudness/mathrandom.z)) | |
| 1004 | tecks2.TextColor3 = Color3.fromHSV(0,0,1) | |
| 1005 | tecks2.TextStrokeColor3 = Color3.fromHSV(i,1,1) | |
| 1006 | ||
| 1007 | if i >= 1 then | |
| 1008 | i = 0 | |
| 1009 | else | |
| 1010 | i = i + 0.005 | |
| 1011 | end | |
| 1012 | ||
| 1013 | elseif vismode == "trail" then | |
| 1014 | ||
| 1015 | if not char:FindFirstChild("VisualiserRGB") then
| |
| 1016 | local function createtrail(part0,part1,parent) | |
| 1017 | local trail = Instance.new("Trail",parent)
| |
| 1018 | trail.Attachment0 = part0 | |
| 1019 | trail.Attachment1 = part1 | |
| 1020 | trail.MinLength = 0 | |
| 1021 | trail.Lifetime = 0.05 | |
| 1022 | trail.LightEmission = 1 | |
| 1023 | trail.LightInfluence = 0 | |
| 1024 | trail.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(0,1,1)) | |
| 1025 | --trail.Transparency = NumberSequence.new(0,1) | |
| 1026 | end | |
| 1027 | part=Instance.new("Part",char)
| |
| 1028 | part.Name="VisualiserRGB" | |
| 1029 | part.Position=root.Position + Vector3.new(0,10,0) | |
| 1030 | part.CFrame = CFrame.new(part.Position)*CFrame.Angles(math.rad(math.random(1,360)),math.rad(math.random(1,360)),math.rad(math.random(1,360))) | |
| 1031 | blockmesh=Instance.new("BlockMesh",part)
| |
| 1032 | A = Instance.new("Attachment",part)
| |
| 1033 | B = Instance.new("Attachment",part)
| |
| 1034 | C = Instance.new("Attachment",part)
| |
| 1035 | D = Instance.new("Attachment",part)
| |
| 1036 | E = Instance.new("Attachment",part)
| |
| 1037 | F = Instance.new("Attachment",part)
| |
| 1038 | G = Instance.new("Attachment",part)
| |
| 1039 | H = Instance.new("Attachment",part)
| |
| 1040 | A.Position = Vector3.new(1,1,1) | |
| 1041 | B.Position = Vector3.new(1,-1,1) | |
| 1042 | C.Position = Vector3.new(-1,1,1) | |
| 1043 | D.Position = Vector3.new(-1,-1,1) | |
| 1044 | ||
| 1045 | E.Position = Vector3.new(1,1,-1) | |
| 1046 | F.Position = Vector3.new(1,-1,-1) | |
| 1047 | G.Position = Vector3.new(-1,1,-1) | |
| 1048 | H.Position = Vector3.new(-1,-1,-1) | |
| 1049 | createtrail(A,E,part) | |
| 1050 | createtrail(B,F,part) | |
| 1051 | createtrail(C,G,part) | |
| 1052 | createtrail(D,H,part) | |
| 1053 | createtrail(A,B,part) | |
| 1054 | createtrail(C,D,part) | |
| 1055 | createtrail(E,F,part) | |
| 1056 | createtrail(G,H,part) | |
| 1057 | createtrail(A,C,part) | |
| 1058 | createtrail(B,D,part) | |
| 1059 | createtrail(E,G,part) | |
| 1060 | createtrail(F,H,part) | |
| 1061 | end | |
| 1062 | if not part:FindFirstChildOfClass("BodyPosition") then
| |
| 1063 | bp2=Instance.new("BodyPosition",part)
| |
| 1064 | end | |
| 1065 | if not part:FindFirstChildOfClass("BodyAngularVelocity") then
| |
| 1066 | ba2=Instance.new("BodyAngularVelocity",part)
| |
| 1067 | end | |
| 1068 | if not part:FindFirstChildOfClass("PointLight") then
| |
| 1069 | light=Instance.new("PointLight",part)
| |
| 1070 | end | |
| 1071 | part.Color = Color3.fromHSV(i,1,1) | |
| 1072 | light.Color = Color3.fromHSV(i,1,1) | |
| 1073 | light.Brightness = 2+sound.PlaybackLoudness/25 | |
| 1074 | light.Range = 5+sound.PlaybackLoudness/10 | |
| 1075 | part:BreakJoints() | |
| 1076 | part.CanCollide = false | |
| 1077 | part.Material = Enum.Material.Neon | |
| 1078 | local asd = 1+(sound.PlaybackLoudness/150) | |
| 1079 | blockmesh.Scale= Vector3.new(asd/2,asd/2,asd/2) | |
| 1080 | part.Size = Vector3.new(1,1,1) | |
| 1081 | bp2.Position = root.Position + Vector3.new(0,10,0) | |
| 1082 | ba2.AngularVelocity = Vector3.new((mathrandom.x/100)+(sound.PlaybackLoudness/mathrandom.x),(mathrandom.y/100)+(sound.PlaybackLoudness/mathrandom.y),(mathrandom.z/100)+(sound.PlaybackLoudness/mathrandom.z)) | |
| 1083 | tecks2.TextColor3 = Color3.fromHSV(i,1,0.8) | |
| 1084 | tecks2.TextStrokeColor3 = Color3.fromHSV(i,1,1) | |
| 1085 | A.Position = Vector3.new(asd/2,asd/2,asd/2) | |
| 1086 | B.Position = Vector3.new(asd/2,-asd/2,asd/2) | |
| 1087 | C.Position = Vector3.new(-asd/2,asd/2,asd/2) | |
| 1088 | D.Position = Vector3.new(-asd/2,-asd/2,asd/2) | |
| 1089 | ||
| 1090 | E.Position = Vector3.new(asd/2,asd/2,-asd/2) | |
| 1091 | F.Position = Vector3.new(asd/2,-asd/2,-asd/2) | |
| 1092 | G.Position = Vector3.new(-asd/2,asd/2,-asd/2) | |
| 1093 | H.Position = Vector3.new(-asd/2,-asd/2,-asd/2) | |
| 1094 | ||
| 1095 | if i >= 0.8 then | |
| 1096 | asdcolor = true | |
| 1097 | elseif i <= 0.5 then | |
| 1098 | asdcolor = false | |
| 1099 | end | |
| 1100 | ||
| 1101 | if asdcolor == true then | |
| 1102 | i = i - 0.001 | |
| 1103 | else | |
| 1104 | i = i + 0.001 | |
| 1105 | end | |
| 1106 | elseif vismode == "trail kyu" then | |
| 1107 | ||
| 1108 | if not char:FindFirstChild("VisualiserRGB") then
| |
| 1109 | local function createtrail(part0,part1,parent) | |
| 1110 | local trail = Instance.new("Trail",parent)
| |
| 1111 | trail.Attachment0 = part0 | |
| 1112 | trail.Attachment1 = part1 | |
| 1113 | trail.MinLength = 0 | |
| 1114 | trail.Lifetime = 0.05 | |
| 1115 | trail.LightEmission = 1 | |
| 1116 | trail.LightInfluence = 0 | |
| 1117 | trail.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(0,1,1)) | |
| 1118 | --trail.Transparency = NumberSequence.new(0,1) | |
| 1119 | end | |
| 1120 | part=Instance.new("Part",char)
| |
| 1121 | part.Name="VisualiserRGB" | |
| 1122 | part.Position=root.Position + Vector3.new(0,10,0) | |
| 1123 | part.CFrame = CFrame.new(part.Position)*CFrame.Angles(math.rad(math.random(1,360)),math.rad(math.random(1,360)),math.rad(math.random(1,360))) | |
| 1124 | blockmesh=Instance.new("BlockMesh",part)
| |
| 1125 | part2=part:Clone() | |
| 1126 | part2.Parent = part | |
| 1127 | part2.Transparency = 1 | |
| 1128 | part2.CFrame = CFrame.new(part2.Position)*CFrame.Angles(math.rad(math.random(1,360)),math.rad(math.random(1,360)),math.rad(math.random(1,360))) | |
| 1129 | ||
| 1130 | A = Instance.new("Attachment",part)
| |
| 1131 | B = Instance.new("Attachment",part)
| |
| 1132 | C = Instance.new("Attachment",part)
| |
| 1133 | D = Instance.new("Attachment",part)
| |
| 1134 | E = Instance.new("Attachment",part)
| |
| 1135 | F = Instance.new("Attachment",part)
| |
| 1136 | G = Instance.new("Attachment",part)
| |
| 1137 | H = Instance.new("Attachment",part)
| |
| 1138 | A2 = Instance.new("Attachment",part2)
| |
| 1139 | B2 = Instance.new("Attachment",part2)
| |
| 1140 | C2 = Instance.new("Attachment",part2)
| |
| 1141 | D2 = Instance.new("Attachment",part2)
| |
| 1142 | E2 = Instance.new("Attachment",part2)
| |
| 1143 | F2 = Instance.new("Attachment",part2)
| |
| 1144 | G2 = Instance.new("Attachment",part2)
| |
| 1145 | H2 = Instance.new("Attachment",part2)
| |
| 1146 | ||
| 1147 | A.Position = Vector3.new(1,1,1) | |
| 1148 | B.Position = Vector3.new(1,-1,1) | |
| 1149 | C.Position = Vector3.new(-1,1,1) | |
| 1150 | D.Position = Vector3.new(-1,-1,1) | |
| 1151 | ||
| 1152 | E.Position = Vector3.new(1,1,-1) | |
| 1153 | F.Position = Vector3.new(1,-1,-1) | |
| 1154 | G.Position = Vector3.new(-1,1,-1) | |
| 1155 | H.Position = Vector3.new(-1,-1,-1) | |
| 1156 | ||
| 1157 | createtrail(A,E,part) | |
| 1158 | createtrail(B,F,part) | |
| 1159 | createtrail(C,G,part) | |
| 1160 | createtrail(D,H,part) | |
| 1161 | createtrail(A,B,part) | |
| 1162 | createtrail(C,D,part) | |
| 1163 | createtrail(E,F,part) | |
| 1164 | createtrail(G,H,part) | |
| 1165 | createtrail(A,C,part) | |
| 1166 | createtrail(B,D,part) | |
| 1167 | createtrail(E,G,part) | |
| 1168 | createtrail(F,H,part) | |
| 1169 | ||
| 1170 | A2.Position = Vector3.new(1,1,1) | |
| 1171 | B2.Position = Vector3.new(1,-1,1) | |
| 1172 | C2.Position = Vector3.new(-1,1,1) | |
| 1173 | D2.Position = Vector3.new(-1,-1,1) | |
| 1174 | ||
| 1175 | E2.Position = Vector3.new(1,1,-1) | |
| 1176 | F2.Position = Vector3.new(1,-1,-1) | |
| 1177 | G2.Position = Vector3.new(-1,1,-1) | |
| 1178 | H2.Position = Vector3.new(-1,-1,-1) | |
| 1179 | createtrail(A2,E2,part) | |
| 1180 | createtrail(B2,F2,part) | |
| 1181 | createtrail(C2,G2,part) | |
| 1182 | createtrail(D2,H2,part) | |
| 1183 | createtrail(A2,B2,part) | |
| 1184 | createtrail(C2,D2,part) | |
| 1185 | createtrail(E2,F2,part) | |
| 1186 | createtrail(G2,H2,part) | |
| 1187 | createtrail(A2,C2,part) | |
| 1188 | createtrail(B2,D2,part) | |
| 1189 | createtrail(E2,G2,part) | |
| 1190 | createtrail(F2,H2,part) | |
| 1191 | ||
| 1192 | end | |
| 1193 | if not part:FindFirstChildOfClass("BodyPosition") then
| |
| 1194 | bp2=Instance.new("BodyPosition",part)
| |
| 1195 | end | |
| 1196 | if not part:FindFirstChildOfClass("BodyAngularVelocity") then
| |
| 1197 | ba2=Instance.new("BodyAngularVelocity",part)
| |
| 1198 | end | |
| 1199 | if not part:FindFirstChildOfClass("PointLight") then
| |
| 1200 | light=Instance.new("PointLight",part)
| |
| 1201 | end | |
| 1202 | if not part2:FindFirstChildOfClass("BodyPosition") then
| |
| 1203 | bp3=Instance.new("BodyPosition",part2)
| |
| 1204 | end | |
| 1205 | if not part2:FindFirstChildOfClass("BodyAngularVelocity") then
| |
| 1206 | ba3=Instance.new("BodyAngularVelocity",part2)
| |
| 1207 | end | |
| 1208 | part.Color = Color3.fromHSV(i,1,1) | |
| 1209 | light.Color = Color3.fromHSV(i,1,1) | |
| 1210 | light.Brightness = 2+sound.PlaybackLoudness/25 | |
| 1211 | light.Range = 5+sound.PlaybackLoudness/10 | |
| 1212 | part:BreakJoints() | |
| 1213 | part.Material = Enum.Material.Neon | |
| 1214 | local asd = 1+(sound.PlaybackLoudness/150) | |
| 1215 | blockmesh.Scale= Vector3.new(asd/2,asd/2,asd/2) | |
| 1216 | part.Size = Vector3.new(1,1,1) | |
| 1217 | part2.Size = Vector3.new(1,1,1) | |
| 1218 | part.CanCollide = false | |
| 1219 | part2.CanCollide = false | |
| 1220 | bp2.Position = root.Position + Vector3.new(0,10,0) | |
| 1221 | ba2.AngularVelocity = Vector3.new((mathrandom.x/100)+(sound.PlaybackLoudness/mathrandom.x),(mathrandom.y/100)+(sound.PlaybackLoudness/mathrandom.y),(mathrandom.z/100)+(sound.PlaybackLoudness/mathrandom.z)) | |
| 1222 | bp3.Position = root.Position + Vector3.new(0,10,0) | |
| 1223 | ba3.AngularVelocity = Vector3.new(-(mathrandom.x/100)-(sound.PlaybackLoudness/mathrandom.x),-(mathrandom.y/100)-(sound.PlaybackLoudness/mathrandom.y),-(mathrandom.z/100)-(sound.PlaybackLoudness/mathrandom.z)) | |
| 1224 | tecks2.TextColor3 = Color3.fromHSV(i,1,0.8) | |
| 1225 | tecks2.TextStrokeColor3 = Color3.fromHSV(i,1,1) | |
| 1226 | A.Position = Vector3.new(asd/2,asd/2,asd/2) | |
| 1227 | B.Position = Vector3.new(asd/2,-asd/2,asd/2) | |
| 1228 | C.Position = Vector3.new(-asd/2,asd/2,asd/2) | |
| 1229 | D.Position = Vector3.new(-asd/2,-asd/2,asd/2) | |
| 1230 | ||
| 1231 | E.Position = Vector3.new(asd/2,asd/2,-asd/2) | |
| 1232 | F.Position = Vector3.new(asd/2,-asd/2,-asd/2) | |
| 1233 | G.Position = Vector3.new(-asd/2,asd/2,-asd/2) | |
| 1234 | H.Position = Vector3.new(-asd/2,-asd/2,-asd/2) | |
| 1235 | ||
| 1236 | A2.Position = Vector3.new(asd,asd,asd) | |
| 1237 | B2.Position = Vector3.new(asd,-asd,asd) | |
| 1238 | C2.Position = Vector3.new(-asd,asd,asd) | |
| 1239 | D2.Position = Vector3.new(-asd,-asd,asd) | |
| 1240 | ||
| 1241 | E2.Position = Vector3.new(asd,asd,-asd) | |
| 1242 | F2.Position = Vector3.new(asd,-asd,-asd) | |
| 1243 | G2.Position = Vector3.new(-asd,asd,-asd) | |
| 1244 | H2.Position = Vector3.new(-asd,-asd,-asd) | |
| 1245 | ||
| 1246 | if i >= 0.8 then | |
| 1247 | asdcolor = true | |
| 1248 | elseif i <= 0.5 then | |
| 1249 | asdcolor = false | |
| 1250 | end | |
| 1251 | ||
| 1252 | if asdcolor == true then | |
| 1253 | i = i - 0.001 | |
| 1254 | else | |
| 1255 | i = i + 0.001 | |
| 1256 | end | |
| 1257 | ||
| 1258 | elseif vismode == "nothing" then | |
| 1259 | ||
| 1260 | tecks2.Text = "" | |
| 1261 | ||
| 1262 | elseif vismode == "nooby" then | |
| 1263 | if not char:FindFirstChild("noobyvis") then
| |
| 1264 | centralpart = it("Part",char)
| |
| 1265 | centralpart.Name = "noobyvis" | |
| 1266 | centralpart.CFrame = hed.CFrame + Vector3.new(0,-2.5,0) | |
| 1267 | centralpart.Anchored = true | |
| 1268 | centralpart.Size = vt(1,1,1) | |
| 1269 | centralpart.Transparency = 1 | |
| 1270 | centralpart.CanCollide = false | |
| 1271 | centralpart2a = it("Part",centralpart)
| |
| 1272 | centralpart2a.CFrame = centralpart.CFrame | |
| 1273 | centralpart2a.Anchored = true | |
| 1274 | centralpart2a.Transparency = 0 | |
| 1275 | centralpart2a.BrickColor = origcolor | |
| 1276 | centralpart2a.Material = "Neon" | |
| 1277 | centralpart2a.Size = vt(1,1,1) | |
| 1278 | centralpart2a.CanCollide = false | |
| 1279 | ||
| 1280 | meshy = Instance.new("SpecialMesh", centralpart2a)
| |
| 1281 | meshy.Scale = vt(1.05,1.05,1.05) | |
| 1282 | meshy.MeshType = "Sphere" | |
| 1283 | ||
| 1284 | centralpart2 = it("Part",centralpart)
| |
| 1285 | centralpart2.CFrame = centralpart.CFrame | |
| 1286 | centralpart2.Anchored = true | |
| 1287 | centralpart2.Transparency = 0.65 | |
| 1288 | centralpart2.BrickColor = BrickColor.new("Really black")
| |
| 1289 | centralpart2.Material = "Neon" | |
| 1290 | centralpart2.Size = vt(1,1,1) | |
| 1291 | centralpart2.CanCollide = false | |
| 1292 | ||
| 1293 | meshy2 = Instance.new("SpecialMesh", centralpart2)
| |
| 1294 | meshy2.Scale = vt(1.075,1.075,1.075) | |
| 1295 | meshy2.MeshType = "Sphere" | |
| 1296 | ||
| 1297 | ||
| 1298 | centralpart3 = it("Part",centralpart)
| |
| 1299 | centralpart3.CFrame = centralpart.CFrame | |
| 1300 | centralpart3.Anchored = true | |
| 1301 | centralpart3.Transparency = 0.5 | |
| 1302 | centralpart3.BrickColor = origcolor | |
| 1303 | centralpart3.Material = "Neon" | |
| 1304 | centralpart3.Size = vt(0.5,1,0.5) | |
| 1305 | centralpart3.CanCollide = false | |
| 1306 | ||
| 1307 | meshy3 = Instance.new("SpecialMesh", centralpart3)
| |
| 1308 | meshy3.Scale = vt(1,0.035,1.075) | |
| 1309 | meshy3.MeshType = "Brick" | |
| 1310 | ||
| 1311 | centralpart4 = it("Part",centralpart)
| |
| 1312 | centralpart4.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(15),0) | |
| 1313 | centralpart4.Anchored = true | |
| 1314 | centralpart4.Transparency = 0.5 | |
| 1315 | centralpart4.BrickColor = origcolor | |
| 1316 | centralpart4.Material = "Neon" | |
| 1317 | centralpart4.Size = vt(0.5,1,0.5) | |
| 1318 | centralpart4.CanCollide = false | |
| 1319 | ||
| 1320 | meshy4 = Instance.new("SpecialMesh", centralpart4)
| |
| 1321 | meshy4.Scale = vt(1,0.035,1.075) | |
| 1322 | meshy4.MeshType = "Brick" | |
| 1323 | ||
| 1324 | centralpart5 = it("Part",centralpart)
| |
| 1325 | centralpart5.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(30),0) | |
| 1326 | centralpart5.Anchored = true | |
| 1327 | centralpart5.Transparency = 0.5 | |
| 1328 | centralpart5.BrickColor = origcolor | |
| 1329 | centralpart5.Material = "Neon" | |
| 1330 | centralpart5.Size = vt(0.5,1,0.5) | |
| 1331 | centralpart5.CanCollide = false | |
| 1332 | ||
| 1333 | meshy5 = Instance.new("SpecialMesh", centralpart5)
| |
| 1334 | meshy5.Scale = vt(1,0.035,1.075) | |
| 1335 | meshy5.MeshType = "Brick" | |
| 1336 | ||
| 1337 | centralpart6 = it("Part",centralpart)
| |
| 1338 | centralpart6.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(45),0) | |
| 1339 | centralpart6.Anchored = true | |
| 1340 | centralpart6.Transparency = 0.5 | |
| 1341 | centralpart6.BrickColor = origcolor | |
| 1342 | centralpart6.Material = "Neon" | |
| 1343 | centralpart6.Size = vt(0.5,1,0.5) | |
| 1344 | centralpart6.CanCollide = false | |
| 1345 | ||
| 1346 | meshy6 = Instance.new("SpecialMesh", centralpart6)
| |
| 1347 | meshy6.Scale = vt(1,0.035,1.075) | |
| 1348 | meshy6.MeshType = "Brick" | |
| 1349 | ||
| 1350 | centralpart7 = it("Part",centralpart)
| |
| 1351 | centralpart7.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(60),0) | |
| 1352 | centralpart7.Anchored = true | |
| 1353 | centralpart7.Transparency = 0.5 | |
| 1354 | centralpart7.BrickColor = origcolor | |
| 1355 | centralpart7.Material = "Neon" | |
| 1356 | centralpart7.Size = vt(0.5,1,0.5) | |
| 1357 | centralpart7.CanCollide = false | |
| 1358 | ||
| 1359 | meshy7 = Instance.new("SpecialMesh", centralpart7)
| |
| 1360 | meshy7.Scale = vt(1,0.035,1.075) | |
| 1361 | meshy7.MeshType = "Brick" | |
| 1362 | ||
| 1363 | centralpart8 = it("Part",centralpart)
| |
| 1364 | centralpart8.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(75),0) | |
| 1365 | centralpart8.Anchored = true | |
| 1366 | centralpart8.Transparency = 0.5 | |
| 1367 | centralpart8.BrickColor = origcolor | |
| 1368 | centralpart8.Material = "Neon" | |
| 1369 | centralpart8.Size = vt(0.5,1,0.5) | |
| 1370 | centralpart8.CanCollide = false | |
| 1371 | ||
| 1372 | meshy8 = Instance.new("SpecialMesh", centralpart8)
| |
| 1373 | meshy8.Scale = vt(1,0.035,1.075) | |
| 1374 | meshy8.MeshType = "Brick" | |
| 1375 | ||
| 1376 | centralpart9 = it("Part",centralpart)
| |
| 1377 | centralpart9.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 1378 | centralpart9.Anchored = true | |
| 1379 | centralpart9.Transparency = 0.5 | |
| 1380 | centralpart9.BrickColor = origcolor | |
| 1381 | centralpart9.Material = "Neon" | |
| 1382 | centralpart9.Size = vt(0.5,1,0.5) | |
| 1383 | centralpart9.CanCollide = false | |
| 1384 | ||
| 1385 | meshy9 = Instance.new("SpecialMesh", centralpart9)
| |
| 1386 | meshy9.Scale = vt(1,0.035,1.075) | |
| 1387 | meshy9.MeshType = "Brick" | |
| 1388 | ||
| 1389 | centralpart10 = it("Part",centralpart)
| |
| 1390 | centralpart10.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(105),0) | |
| 1391 | centralpart10.Anchored = true | |
| 1392 | centralpart10.Transparency = 0.5 | |
| 1393 | centralpart10.BrickColor = origcolor | |
| 1394 | centralpart10.Material = "Neon" | |
| 1395 | centralpart10.Size = vt(0.5,1,0.5) | |
| 1396 | centralpart10.CanCollide = false | |
| 1397 | ||
| 1398 | meshy10 = Instance.new("SpecialMesh", centralpart10)
| |
| 1399 | meshy10.Scale = vt(1,0.035,1.075) | |
| 1400 | meshy10.MeshType = "Brick" | |
| 1401 | ||
| 1402 | centralpart11 = it("Part",centralpart)
| |
| 1403 | centralpart11.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(120),0) | |
| 1404 | centralpart11.Anchored = true | |
| 1405 | centralpart11.Transparency = 0.5 | |
| 1406 | centralpart11.BrickColor = origcolor | |
| 1407 | centralpart11.Material = "Neon" | |
| 1408 | centralpart11.Size = vt(0.5,1,0.5) | |
| 1409 | centralpart11.CanCollide = false | |
| 1410 | ||
| 1411 | meshy11 = Instance.new("SpecialMesh", centralpart11)
| |
| 1412 | meshy11.Scale = vt(1,0.035,1.075) | |
| 1413 | meshy11.MeshType = "Brick" | |
| 1414 | ||
| 1415 | centralpart12 = it("Part",centralpart)
| |
| 1416 | centralpart12.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(135),0) | |
| 1417 | centralpart12.Anchored = true | |
| 1418 | centralpart12.Transparency = 0.5 | |
| 1419 | centralpart12.BrickColor = origcolor | |
| 1420 | centralpart12.Material = "Neon" | |
| 1421 | centralpart12.Size = vt(0.5,1,0.5) | |
| 1422 | centralpart12.CanCollide = false | |
| 1423 | ||
| 1424 | meshy12 = Instance.new("SpecialMesh", centralpart12)
| |
| 1425 | meshy12.Scale = vt(1,0.035,1.075) | |
| 1426 | meshy12.MeshType = "Brick" | |
| 1427 | ||
| 1428 | centralpart13 = it("Part",centralpart)
| |
| 1429 | centralpart13.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(150),0) | |
| 1430 | centralpart13.Anchored = true | |
| 1431 | centralpart13.Transparency = 0.5 | |
| 1432 | centralpart13.BrickColor = origcolor | |
| 1433 | centralpart13.Material = "Neon" | |
| 1434 | centralpart13.Size = vt(0.5,1,0.5) | |
| 1435 | centralpart13.CanCollide = false | |
| 1436 | ||
| 1437 | meshy13 = Instance.new("SpecialMesh", centralpart13)
| |
| 1438 | meshy13.Scale = vt(1,0.035,1.075) | |
| 1439 | meshy13.MeshType = "Brick" | |
| 1440 | ||
| 1441 | centralpart14 = it("Part",centralpart)
| |
| 1442 | centralpart14.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(165),0) | |
| 1443 | centralpart14.Anchored = true | |
| 1444 | centralpart14.Transparency = 0.5 | |
| 1445 | centralpart14.BrickColor = origcolor | |
| 1446 | centralpart14.Material = "Neon" | |
| 1447 | centralpart14.Size = vt(0.5,1,0.5) | |
| 1448 | centralpart14.CanCollide = false | |
| 1449 | ||
| 1450 | meshy14 = Instance.new("SpecialMesh", centralpart14)
| |
| 1451 | meshy14.Scale = vt(1,0.035,1.075) | |
| 1452 | meshy14.MeshType = "Brick" | |
| 1453 | ||
| 1454 | centralpart15 = it("Part",centralpart)
| |
| 1455 | centralpart15.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(180),0) | |
| 1456 | centralpart15.Anchored = true | |
| 1457 | centralpart15.Transparency = 0.5 | |
| 1458 | centralpart15.BrickColor = origcolor | |
| 1459 | centralpart15.Material = "Neon" | |
| 1460 | centralpart15.Size = vt(0.5,1,0.5) | |
| 1461 | centralpart15.CanCollide = false | |
| 1462 | ||
| 1463 | meshy15 = Instance.new("SpecialMesh", centralpart15)
| |
| 1464 | meshy15.Scale = vt(1,0.035,1.075) | |
| 1465 | meshy15.MeshType = "Brick" | |
| 1466 | ||
| 1467 | centralparto = it("Part",centralpart)
| |
| 1468 | centralparto.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(0),0) | |
| 1469 | centralparto.Anchored = true | |
| 1470 | centralparto.Transparency = 0.5 | |
| 1471 | centralparto.BrickColor = BrickColor.new("Really black")
| |
| 1472 | centralparto.Material = "Neon" | |
| 1473 | centralparto.Size = vt(0.5,1,0.5) | |
| 1474 | centralparto.CanCollide = false | |
| 1475 | ||
| 1476 | meshyo = Instance.new("SpecialMesh", centralparto)
| |
| 1477 | meshyo.Scale = vt(1.05,0.05,0.25) | |
| 1478 | meshyo.MeshType = "Sphere" | |
| 1479 | ||
| 1480 | centralparto2 = it("Part",centralpart)
| |
| 1481 | centralparto2.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 1482 | centralparto2.Anchored = true | |
| 1483 | centralparto2.Transparency = 0.5 | |
| 1484 | centralparto2.BrickColor = BrickColor.new("Really black")
| |
| 1485 | centralparto2.Material = "Neon" | |
| 1486 | centralparto2.Size = vt(0.5,1,0.5) | |
| 1487 | centralparto2.CanCollide = false | |
| 1488 | ||
| 1489 | meshyo2 = Instance.new("SpecialMesh", centralparto2)
| |
| 1490 | meshyo2.Scale = vt(1.05,0.05,0.25) | |
| 1491 | meshyo2.MeshType = "Sphere" | |
| 1492 | ||
| 1493 | centralparto3 = it("Part",centralpart)
| |
| 1494 | centralparto3.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(45),0) | |
| 1495 | centralparto3.Anchored = true | |
| 1496 | centralparto3.Transparency = 0.5 | |
| 1497 | centralparto3.BrickColor = BrickColor.new("Maroon")
| |
| 1498 | centralparto3.Material = "Neon" | |
| 1499 | centralparto3.Size = vt(0.5,1,0.5) | |
| 1500 | centralparto3.CanCollide = false | |
| 1501 | ||
| 1502 | meshyo3 = Instance.new("SpecialMesh", centralparto3)
| |
| 1503 | meshyo3.Scale = vt(1.05,0.075,0.25) | |
| 1504 | meshyo3.MeshType = "Sphere" | |
| 1505 | ||
| 1506 | centralparto4 = it("Part",centralpart)
| |
| 1507 | centralparto4.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(135),0) | |
| 1508 | centralparto4.Anchored = true | |
| 1509 | centralparto4.Transparency = 0.5 | |
| 1510 | centralparto4.BrickColor = BrickColor.new("Maroon")
| |
| 1511 | centralparto4.Material = "Neon" | |
| 1512 | centralparto4.Size = vt(0.5,1,0.5) | |
| 1513 | centralparto4.CanCollide = false | |
| 1514 | ||
| 1515 | meshyo4 = Instance.new("SpecialMesh", centralparto4)
| |
| 1516 | meshyo4.Scale = vt(1.05,0.075,0.25) | |
| 1517 | meshyo4.MeshType = "Sphere" | |
| 1518 | ||
| 1519 | eff = Instance.new("ParticleEmitter",centralpart)
| |
| 1520 | eff.Texture = "http://www.roblox.com/asset/?id=243664672" | |
| 1521 | eff.LightEmission = 0.75 | |
| 1522 | eff.Color = ColorSequence.new(Color3.new(255,0,0)) | |
| 1523 | eff.Lifetime = NumberRange.new(2.5) | |
| 1524 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 1525 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.45,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 1526 | eff.Acceleration = Vector3.new(0,-75,0) | |
| 1527 | eff.Rotation = NumberRange.new(-500,500) | |
| 1528 | eff.VelocitySpread = 90 | |
| 1529 | eff.RotSpeed = NumberRange.new(-500,500) | |
| 1530 | ||
| 1531 | ||
| 1532 | ogsize = meshy.Scale | |
| 1533 | ogsize2 = meshy2.Scale | |
| 1534 | ogsize3 = meshy3.Scale | |
| 1535 | ogsize4 = meshy4.Scale | |
| 1536 | ogsize5 = meshy5.Scale | |
| 1537 | ogsize6 = meshy6.Scale | |
| 1538 | ogsize7 = meshy7.Scale | |
| 1539 | ogsize8 = meshy8.Scale | |
| 1540 | ogsize9 = meshy9.Scale | |
| 1541 | ogsize10 = meshy10.Scale | |
| 1542 | ogsize11 = meshy11.Scale | |
| 1543 | ogsize12 = meshy12.Scale | |
| 1544 | ogsize13 = meshy13.Scale | |
| 1545 | ogsize14 = meshy14.Scale | |
| 1546 | ogsize15 = meshy15.Scale | |
| 1547 | ||
| 1548 | ogsizeo = meshyo.Scale | |
| 1549 | ogsizeo2 = meshyo2.Scale | |
| 1550 | ogsizeo3 = meshyo3.Scale | |
| 1551 | ogsizeo4 = meshyo4.Scale | |
| 1552 | end | |
| 1553 | meshy.Scale = meshy.Scale:lerp(Vector3.new(ogsize.X+sound.PlaybackLoudness/600*3.5,ogsize.Y+sound.PlaybackLoudness/600*3.5,ogsize.Z+sound.PlaybackLoudness/525*3.5),0.8) | |
| 1554 | meshy2.Scale = meshy2.Scale:lerp(Vector3.new(ogsize2.X+sound.PlaybackLoudness/500*3.5,ogsize2.Y+sound.PlaybackLoudness/500*3.5,ogsize2.Z+sound.PlaybackLoudness/500*3.5),0.8) | |
| 1555 | meshy3.Scale = meshy3.Scale:lerp(Vector3.new(1,0.035,ogsize3.Z+sound.PlaybackLoudness/100*7),0.8) | |
| 1556 | meshy4.Scale = meshy4.Scale:lerp(Vector3.new(1,0.035,ogsize4.Z+sound.PlaybackLoudness/100*7.25),0.8) | |
| 1557 | meshy5.Scale = meshy5.Scale:lerp(Vector3.new(1,0.035,ogsize5.Z+sound.PlaybackLoudness/100*7.5),0.8) | |
| 1558 | meshy6.Scale = meshy6.Scale:lerp(Vector3.new(1,0.035,ogsize6.Z+sound.PlaybackLoudness/100*7.75),0.8) | |
| 1559 | meshy7.Scale = meshy7.Scale:lerp(Vector3.new(1,0.035,ogsize7.Z+sound.PlaybackLoudness/100*8),0.8) | |
| 1560 | meshy8.Scale = meshy8.Scale:lerp(Vector3.new(1,0.035,ogsize8.Z+sound.PlaybackLoudness/100*8.25),0.8) | |
| 1561 | meshy9.Scale = meshy9.Scale:lerp(Vector3.new(1,0.035,ogsize9.Z+sound.PlaybackLoudness/100*8.5),0.8) | |
| 1562 | meshy10.Scale = meshy10.Scale:lerp(Vector3.new(1,0.035,ogsize10.Z+sound.PlaybackLoudness/100*8.75),0.8) | |
| 1563 | meshy11.Scale = meshy11.Scale:lerp(Vector3.new(1,0.035,ogsize11.Z+sound.PlaybackLoudness/100*9),0.8) | |
| 1564 | meshy12.Scale = meshy12.Scale:lerp(Vector3.new(1,0.035,ogsize12.Z+sound.PlaybackLoudness/100*9.25),0.8) | |
| 1565 | meshy13.Scale = meshy13.Scale:lerp(Vector3.new(1,0.035,ogsize13.Z+sound.PlaybackLoudness/100*9.5),0.8) | |
| 1566 | meshy14.Scale = meshy14.Scale:lerp(Vector3.new(1,0.035,ogsize14.Z+sound.PlaybackLoudness/100*9.75),0.8) | |
| 1567 | meshy15.Scale = meshy15.Scale:lerp(Vector3.new(1,0.035,ogsize15.Z+sound.PlaybackLoudness/100*10),0.8) | |
| 1568 | ||
| 1569 | meshyo.Scale = meshyo.Scale:lerp(Vector3.new(ogsizeo.X+sound.PlaybackLoudness/250*7.5,0.15,ogsizeo.Z+sound.PlaybackLoudness/1000*250),0.8) | |
| 1570 | meshyo2.Scale = meshyo2.Scale:lerp(Vector3.new(ogsizeo2.X+sound.PlaybackLoudness/250*7.5,0.15,ogsizeo2.Z+sound.PlaybackLoudness/1000*250),0.8) | |
| 1571 | meshyo3.Scale = meshyo3.Scale:lerp(Vector3.new(ogsizeo3.X+sound.PlaybackLoudness/250*5,0.225,ogsizeo3.Z+sound.PlaybackLoudness/500*100),0.8) | |
| 1572 | meshyo4.Scale = meshyo4.Scale:lerp(Vector3.new(ogsizeo4.X+sound.PlaybackLoudness/250*5,0.225,ogsizeo4.Z+sound.PlaybackLoudness/500*100),0.8) | |
| 1573 | centralpart.Position = root.Position + Vector3.new(0,5,0) | |
| 1574 | centralpart3.Position = centralpart.Position | |
| 1575 | centralpart3.CFrame = centralpart3.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0) | |
| 1576 | centralpart4.Position = centralpart.Position | |
| 1577 | centralpart4.CFrame = centralpart4.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0) | |
| 1578 | centralpart5.Position = centralpart.Position | |
| 1579 | centralpart5.CFrame = centralpart5.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0) | |
| 1580 | centralpart6.Position = centralpart.Position | |
| 1581 | centralpart6.CFrame = centralpart6.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0) | |
| 1582 | centralpart7.Position = centralpart.Position | |
| 1583 | centralpart7.CFrame = centralpart7.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0) | |
| 1584 | centralpart8.Position = centralpart.Position | |
| 1585 | centralpart8.CFrame = centralpart8.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0) | |
| 1586 | centralpart9.Position = centralpart.Position | |
| 1587 | centralpart9.CFrame = centralpart9.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0) | |
| 1588 | centralpart10.Position = centralpart.Position | |
| 1589 | centralpart10.CFrame = centralpart10.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0) | |
| 1590 | centralpart11.Position = centralpart.Position | |
| 1591 | centralpart11.CFrame = centralpart11.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0) | |
| 1592 | centralpart12.Position = centralpart.Position | |
| 1593 | centralpart12.CFrame = centralpart12.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0) | |
| 1594 | centralpart13.Position = centralpart.Position | |
| 1595 | centralpart13.CFrame = centralpart13.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0) | |
| 1596 | centralpart14.Position = centralpart.Position | |
| 1597 | centralpart14.CFrame = centralpart14.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0) | |
| 1598 | centralpart15.Position = centralpart.Position | |
| 1599 | centralpart15.CFrame = centralpart15.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0) | |
| 1600 | ||
| 1601 | centralparto.Position = centralpart.Position | |
| 1602 | centralparto.CFrame = centralparto.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/1000*75),0) | |
| 1603 | centralparto2.Position = centralpart.Position | |
| 1604 | centralparto2.CFrame = centralparto2.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/1000*75),0) | |
| 1605 | centralparto3.Position = centralpart.Position | |
| 1606 | centralparto3.CFrame = centralparto3.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/1000*15),0) | |
| 1607 | centralparto4.Position = centralpart.Position | |
| 1608 | centralparto4.CFrame = centralparto4.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/1000*15),0) | |
| 1609 | centralpart.CFrame = centralpart.CFrame | |
| 1610 | centralpart2.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/250),0) | |
| 1611 | centralpart2a.CFrame = centralpart2.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/250),0) | |
| 1612 | eff.Rate = sound.PlaybackLoudness/3 | |
| 1613 | eff.Speed = NumberRange.new(sound.PlaybackLoudness/5) | |
| 1614 | eff.Color = ColorSequence.new(Color3.new(sound.PlaybackLoudness/255,0,0)) | |
| 1615 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,sound.PlaybackLoudness/75,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 1616 | centralpart2a.Color = Color3.new(sound.PlaybackLoudness/400,0,0) | |
| 1617 | centralparto3.Color = Color3.new(sound.PlaybackLoudness/375,0,0) | |
| 1618 | centralparto4.Color = Color3.new(sound.PlaybackLoudness/375,0,0) | |
| 1619 | ||
| 1620 | tecks2.TextColor3 = Color3.fromRGB(255,0,0) | |
| 1621 | tecks2.TextStrokeColor3 = Color3.fromHSV(0,0,0) | |
| 1622 | end | |
| 1623 | Visualiserpos.Position = Vector3.new(5+(max/10),0,0) | |
| 1624 | Visualiserpos2.Position = Vector3.new(-5-(max/10),0,0) | |
| 1625 | Main:BreakJoints() | |
| 1626 | Main.Anchored = false | |
| 1627 | TextButton14.Text = math.ceil((1-(TextButton13.Position.Y.Offset/50))*40)/40 | |
| 1628 | TextButton34.Text = "Style: "..vismode | |
| 1629 | asdmax = max | |
| 1630 | asdvolume = TextButton9.Position | |
| 1631 | asdpitch = TextButton13.Position | |
| 1632 | asddist = TextButton30.Position | |
| 1633 | asdhi = TextButton26.Position | |
| 1634 | asdmi = TextButton22.Position | |
| 1635 | asdlo = TextButton18.Position | |
| 1636 | asdtext = TextBox3.Text | |
| 1637 | if synctarget == nil then | |
| 1638 | foundsound = false | |
| 1639 | else | |
| 1640 | if foundsound == false then | |
| 1641 | print("Trying to Sync...")
| |
| 1642 | scan(synctarget.Character) | |
| 1643 | else | |
| 1644 | asdid = sound.SoundId | |
| 1645 | end | |
| 1646 | end | |
| 1647 | end |