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