Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --This was made by someone, edited by animescapetower
- --Original Script -> Wave Visualizer
- --My Discord Id -> Animescapetower#3026
- --Finally i edited this again, so do you guys want a fire sphere version
- local player = game.Players.LocalPlayer
- local char = player.Character
- local ispeed = 30
- local sine = 50
- local sine2 = 34
- local size = 45
- local maxTabs = 5
- local ai = 360/maxTabs
- hrp=char["HumanoidRootPart"]
- rd=math.rad
- local fold = Instance.new("Folder")
- fold.Name = "Vis"
- fold.Parent = char
- --------------------------------------
- local siner = coroutine.wrap(function()
- while true do wait()
- sine = sine+1
- end
- end)
- siner()
- --------------------------------------
- function TweenMe(joint,prop,cfrmz,alp,es,ed)
- local ts = game:GetService("TweenService")
- local ti = TweenInfo.new(alp,Enum.EasingStyle[es],Enum.EasingDirection[ed],0,false,0)
- local pp = {[prop] = cfrmz}
- local tween = ts:Create(joint,ti,pp)
- tween:Play()
- end
- function createPart()
- local p = Instance.new("Part")
- p.Name = "Dead"
- p.Anchored = true
- p.Shape = 0
- p.Transparency = 0
- p.CanCollide = false
- p.TopSurface = "Smooth"
- p.BottomSurface = "Smooth"
- p.Material = "Neon"
- p.Size = Vector3.new(2,2,2)
- p.CFrame = CFrame.new(hrp.CFrame.p)
- return p
- end
- function createFire()
- local p2 = Instance.new("Fire")
- p2.Size = 10
- p2.Color = char.Torso.Color
- p2.SecondaryColor = char.Head.Color
- return p2
- end
- local idk = 4
- local eh = 360/idk
- for i = 1,360/ai do
- local p = createPart()
- p.Parent = fold
- p.CFrame = CFrame.new(hrp.CFrame.p)*CFrame.Angles(rd(0),rd(i*ai),rd(0))*CFrame.new(0,1*math.cos(sine/ispeed),10)
- local p2 = createFire()
- p2.Parent = p
- p2.Heat = 123
- end
- -------------------------------------- game:GetService("RunService").RenderStepped:Wait()
- local music = coroutine.wrap(function()
- while true do wait()
- local gc = fold:GetChildren()
- for i = 1,#gc do
- sine2=sine2+0.5
- local l = tick()+sine2
- local p = gc[i]
- TweenMe(p,'Color',Color3.new(size*math.sin(l)/1,0/45,-size*math.sin(l)/12),1,"Sine","Out")
- local size2 = size*45
- TweenMe(p,'CFrame',hrp.CFrame*CFrame.Angles(rd(0),rd(i*ai),rd(0))*CFrame.new(0,size*math.sin(l)*0.5,5+size/2),0.5,'Sine','Out')
- end
- end
- end)
- music()
- --------------------------------------
- local playing = false
- player.Chatted:connect(function(chat)
- if chat:sub(1,3) == "/vis " then
- local num = chat:sub(4)
- size = num
- elseif chat:sub(1,6) == "/play " then
- if hrp:FindFirstChild("music") ~= nil then
- size = 45
- playing = false
- hrp["music"]:Remove()
- end
- wait(1)
- local id = chat:sub(7)
- local music = Instance.new("Sound",hrp)
- music.Looped = true
- music.Name = "music"
- music.Volume = 6
- music.SoundId = "rbxassetid://"..id
- music.MaxDistance = 500
- music.EmitterSize = 500
- music:Play()
- playing = true
- local visualize = coroutine.wrap(function()
- repeat wait()
- wait()
- wait()
- size = 300
- wait()
- size = 100
- wait()
- size = 300
- wait()
- size = 50
- wait()
- size = 100
- wait()
- size = 50
- until playing == false
- end)
- visualize()
- elseif chat == "/pitch<1 " then
- hrp.music:Play()
- hrp.music.PlaybackSpeed = hrp.music.PlaybackSpeed + 1.54
- elseif chat == "/pitch>1" then
- hrp.music:Play()
- hrp.music.PlaybackSpeed = hrp.music.PlaybackSpeed - 1.54
- elseif chat == "/volume> " then
- hrp.music:Play()
- hrp.music.Volume= hrp.music.Volume+ 1.54
- elseif chat == "/volume<" then
- hrp.music:Play()
- hrp.music.Volume= hrp.music.Volume- 1.54
- hrp.music.Volume = 8
- hrp.music.MaxDistance = 150
- hrp.music.EmitterSize = 150
- elseif chat == "/noglobe" then
- hrp.music:Play()
- hrp.music.MaxDistance = 100
- hrp.music.EmitterSize = 100
- elseif chat == "/globe" then
- hrp.music:Play()
- hrp.music.MaxDistance = 500
- hrp.music.EmitterSize = 500
- elseif chat == "/stop" then
- if hrp:FindFirstChild("music") ~= nil then
- size = 45
- wait(1)
- size = 45
- player.Character.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
- playing = false
- hrp["music"]:Remove()
- end
- end
- end)
- player.Character.Humanoid.MaxHealth = "Inf"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement