ADVERTISEMENTREMOVE ADS
LSD trip....
17,769 views
Universal script•
1 week ago

Script Preview
Description
its a drug simulation in roblox, no i have never taken any drugs (and yes i made this for fun. use it for whatever the flying fuck you want)
Features:
- LSD
- Rainbow
- Trippy
- Client
- Fun
- Visual
- Psychedelic
- Players
- Effects
- Color
- Simulation
- and drugs
ADVERTISEMENTREMOVE ADS
95 Lines • 3.17 KiB
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local TweenService = game:GetService("TweenService")
local Lighting = game:GetService("Lighting")
local lp = Players.LocalPlayer
local cam = workspace.CurrentCamera
local orbitCount = 6
local orbitRadius = 10
local orbitSpeed = 1.5
local minScale = 0.5
local maxScale = 4
local wobbleMagnitude = 0.05
local rainbowSpeed = 5
local screenFlashSpeed = 3
local colorCorrection = Instance.new("ColorCorrectionEffect")
colorCorrection.Parent = Lighting
colorCorrection.Saturation = 0
colorCorrection.Contrast = 0
colorCorrection.TintColor = Color3.fromRGB(255,255,255)
local orbits = {}
for i = 1, orbitCount do
local part = Instance.new("Part")
part.Size = Vector3.new(2,5,1)
part.Anchored = true
part.CanCollide = false
part.Parent = workspace
part.Name = "LSD_FakePlayer_"..i
orbits[i] = part
end
local function rainbowColor(t, offset)
offset = offset or 0
local r = math.sin(t*0.3 + offset) * 127 + 128
local g = math.sin(t*0.3 + 2 + offset) * 127 + 128
local b = math.sin(t*0.3 + 4 + offset) * 127 + 128
return Color3.fromRGB(r,g,b)
end
local function distortCharacters(t)
for _, plr in pairs(Players:GetPlayers()) do
if plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
local root = plr.Character.HumanoidRootPart
local scale = minScale + (maxScale-minScale)/2*(1+math.sin(t + _))
root.Size = Vector3.new(scale, scale, scale)
for _, part in pairs(plr.Character:GetChildren()) do
if part:IsA("BasePart") then
part.Color = rainbowColor(t, _)
part.Material = Enum.Material.Neon
end
end
end
end
for i, part in pairs(orbits) do
local scale = minScale + (maxScale-minScale)/2*(1+math.sin(t + i))
part.Size = Vector3.new(scale*1.5, scale*2, scale*1.5)
part.Color = rainbowColor(t, i)
end
end
local function wobbleCamera(t)
local cf = cam.CFrame
local xOff = math.sin(t*2) * wobbleMagnitude
local yOff = math.sin(t*3) * wobbleMagnitude
local zOff = math.sin(t*1.5) * wobbleMagnitude
cam.CFrame = cf * CFrame.Angles(xOff, yOff, zOff)
end
local function updateOrbits(t)
local lpPos = lp.Character and lp.Character:FindFirstChild("HumanoidRootPart") and lp.Character.HumanoidRootPart.Position or Vector3.new()
for i, part in pairs(orbits) do
local angle = t*orbitSpeed + (i/#orbits)*math.pi*2
part.Position = lpPos + Vector3.new(math.cos(angle)*orbitRadius, math.sin(angle*2), math.sin(angle)*orbitRadius)
end
end
local function updateScreenFlash(t)
local r = math.sin(t*screenFlashSpeed)*0.5 + 0.5
local g = math.sin(t*screenFlashSpeed + 2)*0.5 + 0.5
local b = math.sin(t*screenFlashSpeed + 4)*0.5 + 0.5
colorCorrection.TintColor = Color3.new(r,g,b)
end
local t = 0
RunService.RenderStepped:Connect(function(dt)
t = t + dt*rainbowSpeed
distortCharacters(t)
wobbleCamera(t)
updateOrbits(t)
updateScreenFlash(t)
end)
ADVERTISEMENTREMOVE ADS
ADVERTISEMENTREMOVE ADS






Comments