Stolen code
user_4372009
lua
a year ago
6.1 kB
15
Indexable
-- Randomly obfuscated script
local RS = game:GetService("ReplicatedStorage")
local SP = game:GetService("Workspace").Map.SpawnPart
local TS = game:GetService("TweenService")
local function randomPosInPart(Prt)
local a = Prt.Position.X + math.random(-Prt.Size.X/2, Prt.Size.X/2)
local b = Prt.Position.Y + math.random(-Prt.Size.Y/2, Prt.Size.Y/2)
local c = Prt.Position.Z + math.random(-Prt.Size.Z/2, Prt.Size.Z/2)
return Vector3.new(a, b, c)
end
local M = {}
function M:A()
return 366712739
end
function M:B()
return {5284791433, -2}
end
function M:C()
return {
[1] = {Role = "Supporter", Color = Color3.fromRGB(0, 255, 0)},
[25] = {Role = "Influencer", Color = Color3.fromRGB(255, 32, 113)},
[240] = {Role = "Moderator", Color = Color3.fromRGB(135, 203, 254)},
[239] = {Role = "Contributer", Color = Color3.fromRGB(255, 153, 0)},
[252] = {Role = "Admin", Color = Color3.fromRGB(255, 0, 0)},
[253] = {Role = "Developer", Color = Color3.fromRGB(0, 0, 255)},
[254] = {Role = "Owner", Color = Color3.fromRGB(255, 234, 2)},
[255] = {Role = "Founder", Color = Color3.fromRGB(30, 27, 27)}
}
end
function M:D(L)
if L == 1 then return 0.5
elseif L == 2 then return 0.5
elseif L == 3 then return 4
elseif L == 4 then return 6
elseif L == 5 then return 13
elseif L == 6 then return 13
elseif L == 7 then return 13
end
return 0
end
function M:E(L)
if L == 1 then return 120
elseif L == 2 then return 140
elseif L == 3 then return 160
elseif L == 4 then return 180
elseif L == 5 then return 200
elseif L == 6 then return 200
elseif L == 7 then return 200
end
return 0
end
function M:F(L)
if L == 1 then return Color3.fromRGB(102, 255, 0)
elseif L == 2 then return Color3.fromRGB(255, 255, 0)
elseif L == 3 then return Color3.fromRGB(170, 0, 255)
elseif L == 4 then return Color3.fromRGB(0, 85, 255)
elseif L == 5 then return Color3.fromRGB(0, 0, 255)
elseif L == 6 then return Color3.fromRGB(0, 0, 255)
elseif L == 7 then return Color3.fromRGB(255, 255, 0)
elseif L == 8 then return Color3.fromRGB(255, 255, 0)
end
return Color3.fromRGB(102, 255, 0)
end
function M:G(Amt)
if Amt >= 100000 then return 6
elseif Amt >= 10000 then return 5
elseif Amt >= 1000 then return 4
elseif Amt >= 100 then return 3
elseif Amt >= 10 then return 2
elseif Amt >= 1 then return 1
end
end
function M:H(Cnt, brr)
local FW = RS:WaitForChild("Templates"):WaitForChild("Firework")
for i = 1, Cnt do
spawn(function()
local FWclone = FW:Clone()
FWclone.Parent = game:GetService("Workspace").Fireworks
FWclone.Position = randomPosInPart(SP)
local color = BrickColor.random()
FWclone.BrickColor = color
FWclone.SparkleExplosion.Color = ColorSequence.new(color.Color)
FWclone.Trail.Color = ColorSequence.new(color.Color)
TS:Create(FWclone, TweenInfo.new(0.15, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {Transparency = 0}):Play()
local time = Random.new():NextNumber(1.5, 2)
TS:Create(FWclone, TweenInfo.new(time, Enum.EasingStyle.Linear, Enum.EasingDirection.Out), {Position = FWclone.Position + Vector3.new(0, Random.new():NextNumber(50, 75), 0)}):Play()
FWclone.Fwoosh.PlaybackSpeed = Random.new():NextNumber(0.9, 1.2)
FWclone.Fwoosh:Play()
FWclone.FlameBeam.Enabled = true
FWclone.Sparkles.Enabled = true
task.wait(time)
FWclone.FlameBeam.Enabled = false
FWclone.Sparkles.Enabled = false
FWclone.Explosion.PlaybackSpeed = Random.new():NextNumber(0.9, 1.2)
FWclone.Explosion:Play()
FWclone.SparkleExplosion:Emit(30)
FWclone.Transparency = 1
for i = 1, 20 do
local part = Instance.new("Part")
part.CastShadow = false
part.Color = FWclone.Color
part.Material = Enum.Material.Neon
part.Name = "FireworkFlare"
part.CFrame = FWclone.CFrame:ToWorldSpace(CFrame.Angles(math.rad(i * 18), math.rad(i * 18), 0))
part.Parent = workspace
part.Position = FWclone.Position
part.Anchored = true
part.CanCollide = false
part.Shape = Enum.PartType.Ball
part.Size = Vector3.new(3, 3, 3)
part.Transparency = 1
part.Velocity = part.CFrame.lookVector * 50
local attach1 = Instance.new("Attachment")
attach1.Parent = part
local attach2 = Instance.new("Attachment")
attach2.Parent = part
local trl = FWclone.Trail:Clone()
trl.Parent = part
trl.Attachment0 = attach1
trl.Attachment1 = attach2
trl.Lifetime = 2.5
trl.Enabled = true
local BF = Instance.new("BodyForce")
BF.Parent = part
BF.force = Vector3.new(0, part:GetMass() * workspace.Gravity - 40, 0)
part.Anchored = false
local flare = FWclone.Flare:Clone()
flare.Parent = part
flare.Enabled = true
spawn(function()
wait(4)
part.Trail.Enabled = false
part.Flare.Enabled = false
part.Anchored = true
wait(10)
part:Destroy()
end)
end
task.wait(7.5)
FWclone:Destroy()
end)
if not brr then task.wait(Random.new():NextNumber(0.25, 1)) else task.wait(0.025) end
end
end
function M:I(Cnt)
local W = 1
local R = 1
if M:G(Cnt) >= 7 then
R = 1000
W = 0.005
elseif M:G(Cnt) >= 6 then
R = 1000
W = 0.005
elseif M:G(Cnt) == 5 then
R = 250
W = 0.1
elseif M:G(Cnt) == 4 then
R = 100
W = 0.1
elseif M:G(Cnt) == 3 then
R = 50
W = 0.15
elseif M:G(Cnt) == 2 then
R = 10
W = 0.25
end
return R, W
end
local GID = 33309395
function M:J(Plr)
if typeof(Plr) ~= "Instance" then
warn("Attempt to rank with type: "..typeof(Plr))
return 1
end
if not Plr then return 1 end
if Plr.UserId == 366712739 then
return 255
end
return Plr:GetRankInGroup(GID)
end
function M:K(Plr)
local R = M:J(Plr)
if R == 253 or R == 255 or R == 254 or R == 251 or R == 252 or R == 250 or R == 50 or R == 249 then
return true
end
return false
end
function M:L()
return {
["Sign"] = 234918589,
["AnonymousDevice"]
Editor is loading...
Leave a Comment