Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility by WaverlyCole");print("https://github.com/WaverlyCole/FE-Compatibility-VoidSb-")
- local Wrapper = {};Wrapper.Fake = {};Wrapper.Real = {};Wrapper.Data = {};
- local sGame = game;local sScript = script;local sOwner = owner;local sInstance = Instance;local sLoadLibrary = LoadLibrary
- Wrapper.Event = Instance.new("RemoteEvent");Wrapper.Event.Name = "UserInput";
- Wrapper.CreateObject = function(connections, index)
- local proxy = newproxy (true);local meta = getmetatable (proxy);
- local runbind = function (self, i, ...) connections[i]:Fire (...); end;
- while (#connections > 0) do connections[table.remove(connections, 1)] = Instance.new ('BindableEvent');end;
- meta.__index = function (self, i)
- if (i == 'TriggerEvent') then return runbind end;
- return connections[i] and connections[i].Event or index[i];
- end;
- meta.__newindex = index;meta.__metatable = false;return proxy
- end;
- Wrapper.Mouse = Wrapper.CreateObject({"KeyUp","KeyDown","Button1Down","Button1Up","Move","Button2Down","Button2Up"},{["Target"] = nil;["Hit"] = CFrame.new()})
- Wrapper.UserInputService = Wrapper.CreateObject({"InputBegan","InputEnded"},{})
- Wrapper.ContextActionService = {Actions={};BindAction = function(self,actionName,Func,touch,...)self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil end;UnBindAction = function(self,actionName,Func,touch,...)self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil end};
- Wrapper.Sandbox = function(...)
- local Unwrap = {...};
- for obi = 1,#Unwrap do
- local Object = Unwrap[obi];
- if (Wrapper.Fake[Object] == nil and Wrapper.Real[Object] == nil) then
- local Type = typeof(Object);local Replacement = Object;
- if (Type == "table") then
- Replacement = {};
- setmetatable(Replacement, {
- __index = function(self, i)
- return Wrapper.Sandbox(Object[i])
- end,
- __newindex = function(self, i, v)
- Object[i] = Wrapper.Sandbox(v);
- end,
- })
- elseif (Type == "Instance") then
- Replacement = newproxy(true);
- local Mt = getmetatable(Replacement);
- Mt.__namecall = function(self, ...)
- local Pack = {...};local Name = Pack[#Pack];table.remove(Pack, #Pack);
- local Rest = nil;pcall(function()Rest = Object[Name];end);
- for g, x in pairs (Wrapper.InstanceMT["GET"]) do
- if (Object:IsA(g) or g == "Global") then
- for t, v in pairs(x) do
- for str in string.gmatch(t .. ",", "(%w+),") do
- if (Name == str) then
- if typeof(v) == "function" then
- return Wrapper.Sandbox(v(Wrapper.Unsandbox(self), Wrapper.Unsandbox(unpack(Pack))))
- else
- return v;
- end
- end
- end
- end
- end
- end
- if (Rest == nil) then
- if Wrapper.Sandbox(sGame):GetService(unpack(Pack)) then return Wrapper.Sandbox(sGame):GetService(unpack(Pack))end;
- return Wrapper.Sandbox(Object[Name]);
- elseif (typeof(Rest) == "function") then
- return Wrapper.Sandbox(Rest(Wrapper.Unsandbox(self), Wrapper.Unsandbox(unpack(Pack))))
- end
- return Wrapper.Sandbox(Object[Name]);
- end
- Mt.__index = function(self, i)
- local Rest = nil;pcall(function()Rest = Object[i];end)
- for g, x in pairs (Wrapper.InstanceMT["GET"]) do
- if (Object:IsA(g) or g == "Global") then
- for t, v in pairs(x) do
- for str in string.gmatch(t .. ",", "(%w+),") do
- if (i == str) then
- if typeof(v) == "function" then
- return function(...)return Wrapper.Sandbox(v(Wrapper.Unsandbox(self), Wrapper.Unsandbox(...)))end;
- else
- return v;
- end
- end
- end
- end
- end
- end
- if (Object:IsA("Sound") and i == "PlaybackLoudness") then return Wrapper.SoundLoudness[Wrapper.Unsandbox(Object)];end;
- if (Rest == nil) then
- if Wrapper.Sandbox(sGame):GetService(i) then return Wrapper.Sandbox(sGame):GetService(i)end;
- return Wrapper.Sandbox(Object[i]);
- elseif (typeof(Rest) == "function") then
- local isService,Service = pcall(function() return sGame:GetService(i) end)
- if isService and Service then return Wrapper.Sandbox(Service) end
- return function(self, ...)
- return Wrapper.Sandbox(Rest(Wrapper.Unsandbox(self), Wrapper.Unsandbox(...)))
- end
- end
- return Wrapper.Sandbox(Object[i]);
- end
- Mt.__newindex = function(self, i, v)
- for g,x in pairs (Wrapper.InstanceMT["SET"]) do
- if (Object:IsA(g)) then
- for t, v in pairs(x) do
- for str in string.gmatch( t .. ",", "(%w+),") do
- if v(Wrapper.Unsandbox(self, i, v)) == true then
- Object[Wrapper.Unsandbox(i)] = Wrapper.Unsandbox(v);
- return
- end
- end
- end
- end
- end
- Object[Wrapper.Unsandbox(i)] = Wrapper.Unsandbox(v);
- end
- Mt.__tostring = function(self) return tostring(Object) end
- --elseif (Type == "") then -- Etc
- end
- Wrapper.Fake[Object] = Replacement;
- Wrapper.Real[Replacement] = Object;
- Unwrap[obi] = Replacement;
- else
- return Wrapper.Fake[Object] or Object;
- end
- end
- return unpack(Unwrap);
- end
- Wrapper.Unsandbox = function(...)
- local Unsandbox = {...};
- for i,v in pairs (Unsandbox) do Unsandbox[i] = Wrapper.Real[v] or Unsandbox[i]end;
- return unpack(Unsandbox)
- end
- Wrapper.Services = {
- ['contextactionservice'] = Wrapper.ContextActionService;
- ["userinputservice"] = Wrapper.UserInputService;
- }
- Wrapper.InstanceMT = {
- ["GET"] = {
- ["Global"] = {
- ["IsFake,isFake"] = function(self)return true;end;
- };
- ["Player"] = {
- ["mouse,Mouse"] = function(self)return Wrapper.Mouse;end;
- };
- ["Players"] = {
- ["localPlayer,LocalPlayer"] = Wrapper.Sandbox(owner)
- };
- ["DataModel"] = {
- ["getService,GetService"] = function(self,service)
- if Wrapper.Services[service:lower()] then return Wrapper.Sandbox(Wrapper.Services[service:lower()])end;
- return Wrapper.Sandbox(sGame:GetService(service))
- end
- };
- ["RunService"] = {
- ["renderstepped,renderStepped,RenderStepped"] = sGame:GetService("RunService").Stepped;
- }
- };
- ["SET"] = {
- }
- }
- Wrapper.SoundLoudness = {};
- Wrapper.Event.OnServerEvent:Connect(function(FiredBy,Input)
- if FiredBy ~= sOwner then return end
- if Input.MouseEvent then
- Wrapper.Mouse.Target = Input.Target;Wrapper.Mouse.Hit = Input.Hit
- Wrapper.Mouse:TriggerEvent("Move")
- elseif Input.Sound then
- if Wrapper.SoundLoudness[Input.Sound] then Wrapper.SoundLoudness[Input.Sound] = Input.Loudness end
- else
- local Begin = Input.UserInputState == Enum.UserInputState.Begin
- if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Wrapper.Mouse:TriggerEvent(Begin and "Button1Down" or "Button1Up") end
- if Input.UserInputType == Enum.UserInputType.MouseButton2 then return Wrapper.Mouse:TriggerEvent(Begin and "Button2Down" or "Button2Up") end
- for _,Action in pairs(Wrapper.ContextActionService.Actions) do
- for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
- end
- Wrapper.Mouse:TriggerEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower());Wrapper.UserInputService:TriggerEvent(Begin and "InputBegan" or "InputEnded",Input,false)
- end
- end);
- Wrapper.Event.Parent = NLS([[
- local Player = owner;local Sounds = {};local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse();
- local Input = function(Input,gameProcessedEvent)
- if gameProcessedEvent then return end;
- Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
- end
- Event.OnClientEvent:connect(function(Args)
- if Args[1] == "NewSound" and Args[2]:IsA("Sound") then table.insert(Sounds,Args[2]) end
- end)
- UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
- local Hit,Target;while wait(1/30) do
- for x,Sound in pairs(Sounds) do if Sound.Parent then Event:FireServer({["Sound"]=Sound,["Loudness"]=Sound.PlaybackLoudness}) end; end;
- if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
- Hit = Mouse.Hit;Target = Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
- end
- end]],sOwner.Character)
- Instance = {
- ["new"] = function(Type,Parent)
- if not Parent then Parent = sOwner.Character end
- local Real = sInstance.new(Type,Wrapper.Unsandbox(Parent))
- if Type:lower() == "sound" then Wrapper.SoundLoudness[Real] = 0;Wrapper.Event:FireClient(sOwner,{"NewSound",Real})end
- return Wrapper.Sandbox(Real)
- end
- }
- LoadLibrary = function(Library)
- if Library == "RbxUtility" then
- return setmetatable({},{
- __tostring = function() return "RbxUtility" end;
- __index = function(self, Index)
- if Index:lower() == "create" then
- return function(Type)
- return function(Data)
- Data = Data or {}
- local Inst = Instance.new(Type)
- for x,y in pairs(Data) do
- Inst[x] = y
- end
- return Inst
- end
- end
- end
- return sLoadLibrary(Library)[Index]
- end})
- end
- return sLoadLibrary(Library)
- end
- owner = Wrapper.Sandbox(owner);game = Wrapper.Sandbox(game)
- --//Paste script below this line.
- plr = game:GetService('Players').LocalPlayer
- char = plr.Character
- -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- partcol = Color3.new(0, 0, 1)
- -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- gui = Instance.new("BillboardGui", char.Head)
- gui.Size = UDim2.new(0,200,0,50)
- gui.StudsOffset = Vector3.new(0, 1.5, 0)
- text = Instance.new("TextLabel", gui)
- text.BackgroundTransparency = 1
- text.Size = UDim2.new(10,0,1,0)
- text.Position = UDim2.new(-4.5,0,0,0)
- text.Font = "SciFi"
- text.TextColor3 = Color3.new(1, 1, 1)
- text.TextStrokeColor3 = Color3.new(1, 1, 1)
- text.TextSize = 20
- text.TextStrokeTransparency = 0.8
- text.TextWrapped = true
- text.Text = 'Use The Prefix, " Visual ", To Play Music!,'
- local sound = Instance.new("Sound")
- plr.Chatted:connect(function(msg)
- if msg:sub(1, 6):lower()=='visual' then
- Play = true
- local val = Instance.new("NumberValue", char)
- val.Value = tonumber(msg:sub(7))
- local id = val.Value
- sound:Stop()
- sound.Parent = char.Head
- sound.SoundId='rbxassetid://'..id
- sound:Play()
- sound.Looped = true
- sound.Volume = 10
- wait()
- text.Text = 'Now Playing, '..game:service'MarketplaceService':GetProductInfo(sound.SoundId:match("%d+")).Name
- elseif msg:sub(1,5):lower()=='pitch' then
- local val2 = Instance.new("NumberValue", char)
- val2.Value = tonumber(msg:sub(6))
- local Pitch = val2.Value
- sound.Pitch = Pitch
- elseif msg:sub(1,3):lower()=='vol' then
- local val3 = Instance.new("NumberValue", char)
- val3.Value = tonumber(msg:sub(5))
- local Volume = val3.Value
- sound.Volume = Volume
- end
- end)
- plr.Chatted:connect(function(msg)
- if msg:sub(1, 5):lower()=='local' then
- sound.Parent = plr.PlayerGui
- text.Text = 'Sounds Is Set To Local!'
- wait(1)
- text.Text = 'Now Playing, '..game:service'MarketplaceService':GetProductInfo(sound.SoundId:match("%d+")).Name
- end
- end)
- plr.Chatted:connect(function(msg)
- if msg:sub(1, 6):lower()=='global' then
- sound.Parent = char.Head
- text.Text = 'Sounds Is Set To Global!'
- wait(1)
- text.Text = 'Now Playing, '..game:service'MarketplaceService':GetProductInfo(sound.SoundId:match("%d+")).Name
- end
- end)
- local center = Instance.new("Part")
- center.Anchored = true
- center.CanCollide = false
- center.Locked = true
- center.Size = Vector3.new(5, 5, 5)
- center.Material = Enum.Material.Neon
- center.Transparency = 0
- center.Parent = char
- local lite = Instance.new("PointLight")
- lite.Color = Color3.new(1, 1, 1)
- lite.Range = 25
- lite.Parent = center
- local a = Instance.new("Part")
- a.Anchored = true
- a.CanCollide = false
- a.Locked = true
- a.Size = Vector3.new(3, 3, 3)
- a.Material = Enum.Material.Neon
- a.Transparency = 0.3
- a.Parent = char
- local b = Instance.new("Part")
- b.Anchored = true
- b.CanCollide = false
- b.Locked = true
- b.Size = Vector3.new(3, 3, 3)
- b.Material = Enum.Material.Neon
- b.Transparency = 0.3
- b.Parent = char
- local c = Instance.new("Part")
- c.Anchored = true
- c.CanCollide = false
- c.Locked = true
- c.Size = Vector3.new(3, 3, 3)
- c.Material = Enum.Material.Neon
- c.Transparency = 0.3
- c.Parent = char
- local d = Instance.new("Part")
- d.Anchored = true
- d.CanCollide = false
- d.Locked = true
- d.Size = Vector3.new(3, 3, 3)
- d.Material = Enum.Material.Neon
- d.Transparency = 0.5
- d.Parent = char
- local e = Instance.new("Part")
- e.Anchored = true
- e.CanCollide = false
- e.Locked = true
- e.Size = Vector3.new(3, 3, 3)
- e.Material = Enum.Material.Neon
- e.Transparency = 0.5
- e.Parent = char
- local f = Instance.new("Part")
- f.Anchored = true
- f.CanCollide = false
- f.Locked = true
- f.Size = Vector3.new(3, 3, 3)
- f.Material = Enum.Material.Neon
- f.Transparency = 0.5
- f.Parent = char
- local g = Instance.new("Part")
- g.Anchored = true
- g.CanCollide = false
- g.Locked = true
- g.Size = Vector3.new(3, 3, 3)
- g.Material = Enum.Material.Neon
- g.Transparency = 0.5
- g.Parent = char
- local h = Instance.new("Part")
- h.Anchored = true
- h.CanCollide = false
- h.Locked = true
- h.Size = Vector3.new(3, 3, 3)
- h.Material = Enum.Material.Neon
- h.Transparency = 0.5
- h.Parent = char
- local trail1 = Instance.new("Part")
- local atta1 = Instance.new("Attachment", trail1)
- local atta2 = Instance.new("Attachment", center)
- trail1.Transparency = 0
- trail1.Size = Vector3.new(0, 0, 0)
- trail1.CanCollide = false
- trail1.Anchored = true
- trail1.Locked = true
- local trail = Instance.new("Trail")
- trail.Attachment1 = atta1
- trail.LightEmission = 1
- trail.Lifetime = 1.5
- trail.Attachment0 = atta2
- trail.LightInfluence = 1
- trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.8), NumberSequenceKeypoint.new(1, 1)})
- trail.Parent = char
- local particle = Instance.new("ParticleEmitter")
- particle.SpreadAngle = Vector2.new(350, 350)
- particle.Lifetime = NumberRange.new(5)
- particle.Texture = "rbxassetid://272050333"
- particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)})
- particle.Rate = 500
- particle.LightInfluence = 1
- particle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2), NumberSequenceKeypoint.new(1, 0)})
- particle.Parent = center
- local particle2 = Instance.new("ParticleEmitter")
- particle2.SpreadAngle = Vector2.new(350, 350)
- particle2.RotSpeed = NumberRange.new(360, 360)
- particle2.Lifetime = NumberRange.new(5)
- particle2.Texture = "rbxassetid://569507523"
- particle2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)})
- particle2.Rate = 250
- particle2.LightInfluence = 1
- particle2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2), NumberSequenceKeypoint.new(1, 0)})
- particle2.Parent = center
- local Y = 0
- local X = 0
- local Z = 0
- orbit = 0
- print'start loop'
- game:service'RunService'.RenderStepped:connect(function()
- if sound.PlaybackLoudness > 325 then
- for i = 1, 20 do
- char.Humanoid.CameraOffset =
- char.Humanoid.CameraOffset:lerp(Vector3.new(math.random(-1, 1),math.random(-1, 1),math.random(-1, 1)), 0.05)
- wait()
- end
- char.Humanoid.CameraOffset = Vector3.new(0,0,0)
- end
- if sound.PlaybackLoudness > 350 then
- for i = 1, 20 do
- char.Humanoid.CameraOffset =
- char.Humanoid.CameraOffset:lerp(Vector3.new(math.random(-2, 2),math.random(-2, 2),math.random(-2, 2)), 0.08)
- wait()
- end
- char.Humanoid.CameraOffset = Vector3.new(0,0,0)
- end
- end)
- game:service'RunService'.RenderStepped:connect(function()
- if sound.PlaybackLoudness > 350 then
- lite.Color = lite.Color:lerp(Color3.new(1, 1, 1), 0.08)
- particle.Speed = NumberRange.new(50)
- particle.Color = ColorSequence.new(Color3.new(1, 1, 1), Color3.new(1, 1, 1))
- trail.Color = ColorSequence.new(Color3.new(1, 1, 1), Color3.new(1, 1, 1))
- particle2.Speed = NumberRange.new(50)
- particle2.Color = ColorSequence.new(Color3.new(1, 1, 1), Color3.new(1, 1, 1))
- center.Color = center.Color:lerp(Color3.new(255, 255, 255), 0.08)
- a.Color = a.Color:lerp(Color3.new(255, 255, 255), 0.08)
- b.Color = b.Color:lerp(Color3.new(255, 255, 255), 0.08)
- c.Color = c.Color:lerp(Color3.new(255, 255, 255), 0.08)
- d.Color = d.Color:lerp(Color3.new(255, 255, 255), 0.08)
- e.Color = e.Color:lerp(Color3.new(255, 255, 255), 0.08)
- f.Color = f.Color:lerp(Color3.new(255, 255, 255), 0.08)
- g.Color = g.Color:lerp(Color3.new(255, 255, 255), 0.08)
- h.Color = h.Color:lerp(Color3.new(255, 255, 255), 0.08)
- else
- lite.Color = lite.Color:lerp(partcol, 0.08)
- particle.Speed = NumberRange.new(10)
- particle.Color = ColorSequence.new(partcol, partcol)
- trail.Color = ColorSequence.new(partcol, partcol)
- particle2.Speed = NumberRange.new(10)
- particle2.Color = ColorSequence.new(partcol, partcol)
- center.Color = center.Color:lerp(partcol, 0.08)
- a.Color = a.Color:lerp(partcol, 0.08)
- b.Color = b.Color:lerp(partcol, 0.08)
- c.Color = c.Color:lerp(partcol, 0.08)
- d.Color = d.Color:lerp(partcol, 0.08)
- e.Color = e.Color:lerp(partcol, 0.08)
- f.Color = f.Color:lerp(partcol, 0.08)
- g.Color = g.Color:lerp(partcol, 0.08)
- h.Color = h.Color:lerp(partcol, 0.08)
- end
- end)
- game:service'RunService'.RenderStepped:connect(function()
- trail.MaxLength = sound.PlaybackLoudness/25
- particle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, sound.PlaybackLoudness/1000), NumberSequenceKeypoint.new(1, sound.PlaybackLoudness/250)})
- particle2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, sound.PlaybackLoudness/1000), NumberSequenceKeypoint.new(1, sound.PlaybackLoudness/250)})
- lite.Brightness = sound.PlaybackLoudness/15
- orbit = orbit + sound.PlaybackLoudness/5000
- Y = Y + sound.PlaybackLoudness/20000
- X = X + sound.PlaybackLoudness/1500
- Z = Z + sound.PlaybackLoudness/500
- a.Size = a.Size:lerp(Vector3.new(sound.PlaybackLoudness/250, sound.PlaybackLoudness/250, sound.PlaybackLoudness/250),0.08)
- b.Size = b.Size:lerp(Vector3.new(sound.PlaybackLoudness/250, sound.PlaybackLoudness/250, sound.PlaybackLoudness/250),0.05)
- c.Size = c.Size:lerp(Vector3.new(sound.PlaybackLoudness/250, sound.PlaybackLoudness/250, sound.PlaybackLoudness/250),0.08)
- d.Size = d.Size:lerp(Vector3.new(sound.PlaybackLoudness/250, sound.PlaybackLoudness/250, sound.PlaybackLoudness/250),0.05)
- e.Size = e.Size:lerp(Vector3.new(sound.PlaybackLoudness/500, sound.PlaybackLoudness/500, sound.PlaybackLoudness/500),0.08)
- f.Size = f.Size:lerp(Vector3.new(sound.PlaybackLoudness/500, sound.PlaybackLoudness/500, sound.PlaybackLoudness/500),0.05)
- g.Size = g.Size:lerp(Vector3.new(sound.PlaybackLoudness/500, sound.PlaybackLoudness/500, sound.PlaybackLoudness/500),0.08)
- h.Size = h.Size:lerp(Vector3.new(sound.PlaybackLoudness/500, sound.PlaybackLoudness/500, sound.PlaybackLoudness/500),0.05)
- center.Size = center.Size:lerp(Vector3.new(sound.PlaybackLoudness/100, sound.PlaybackLoudness/100, sound.PlaybackLoudness/100),0.08)
- center.CFrame =
- center.CFrame:lerp(char.HumanoidRootPart.CFrame * CFrame.new(0, 8, 0) * CFrame.fromEulerAnglesXYZ(math.rad(Y),math.rad(Z),math.rad(X)),0.05)
- a.CFrame =
- a.CFrame:lerp(center.CFrame * CFrame.fromEulerAnglesXYZ(-9, orbit * 0.8, 0) * CFrame.new(sound.PlaybackLoudness/-50, 0, sound.PlaybackLoudness/-50) * CFrame.fromEulerAnglesXYZ(math.rad(Y),math.rad(Z),math.rad(X)),0.08)
- b.CFrame =
- b.CFrame:lerp(center.CFrame * CFrame.fromEulerAnglesXYZ(3, orbit * -0.8, 0) * CFrame.new(sound.PlaybackLoudness/-100, 0, sound.PlaybackLoudness/-100) * CFrame.fromEulerAnglesXYZ(math.rad(X),math.rad(Y),math.rad(Z)),0.08)
- c.CFrame =
- c.CFrame:lerp(center.CFrame * CFrame.fromEulerAnglesXYZ(9, orbit * -0.8, 0) * CFrame.new(sound.PlaybackLoudness/100, 0, sound.PlaybackLoudness/100) * CFrame.fromEulerAnglesXYZ(math.rad(Y),math.rad(Z),math.rad(X)),0.05)
- d.CFrame =
- d.CFrame:lerp(center.CFrame * CFrame.fromEulerAnglesXYZ(-3, orbit * 0.8, 0) * CFrame.new(sound.PlaybackLoudness/50, 0, sound.PlaybackLoudness/50) * CFrame.fromEulerAnglesXYZ(math.rad(X),math.rad(Y),math.rad(Z)),0.05)
- e.CFrame =
- e.CFrame:lerp(a.CFrame * CFrame.fromEulerAnglesXYZ(-9, orbit * 0.8, 0) * CFrame.new(sound.PlaybackLoudness/-20, 0, sound.PlaybackLoudness/-20) * CFrame.fromEulerAnglesXYZ(math.rad(Y),math.rad(Z),math.rad(X)),0.02)
- f.CFrame =
- f.CFrame:lerp(c.CFrame * CFrame.fromEulerAnglesXYZ(3, orbit * -0.8, 0) * CFrame.new(sound.PlaybackLoudness/-25, 0, sound.PlaybackLoudness/-25) * CFrame.fromEulerAnglesXYZ(math.rad(X),math.rad(Y),math.rad(Z)),0.02)
- g.CFrame =
- g.CFrame:lerp(d.CFrame * CFrame.fromEulerAnglesXYZ(9, orbit * -0.8, 0) * CFrame.new(sound.PlaybackLoudness/25, 0, sound.PlaybackLoudness/25) * CFrame.fromEulerAnglesXYZ(math.rad(Y),math.rad(Z),math.rad(X)),0.02)
- h.CFrame =
- h.CFrame:lerp(b.CFrame * CFrame.fromEulerAnglesXYZ(-3, orbit * 0.8, 0) * CFrame.new(sound.PlaybackLoudness/20, 0, sound.PlaybackLoudness/20) * CFrame.fromEulerAnglesXYZ(math.rad(X),math.rad(Y),math.rad(Z)),0.02)
- trail1.CFrame =
- trail1.CFrame:lerp(center.CFrame * CFrame.fromEulerAnglesXYZ(-0.3, orbit * 0.8, math.random(-0.9, 0.1)) * CFrame.new(sound.PlaybackLoudness/-50, 0, sound.PlaybackLoudness/-50) * CFrame.fromEulerAnglesXYZ(math.rad(X),math.rad(Y),math.rad(Z)),0.08)
- end)
- force = Instance.new("ForceField",char)
- force.Visible = false
- char.Humanoid.MaxHealth = math.huge*math.huge
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement