The raiders get the GUI at the start, but when they get to the menu after the intro, the spawn button doesn't work, please help!!!
Here's the script, it's by BIOODSPORT (Formerly known as FlythePegasus)
repeat wait() until game.Players.LocalPlayer.Character
print("Character is loaded, beginning sequence") print("Loading variables") --dont mess with the variables unless u know how to kid. MO = script.Parent.Soundzz.MO OC = script.Parent.Soundzz.OC MU = script.Parent.Soundzz.menu SB = script.Parent.Interface.Spawn.SB SBV = script.Parent.Interface.Spawn.SpawnVeil RB = script.Parent.Interface.Rules.RB RBV = script.Parent.Interface.Rules.RulesVeil RBO = script.Parent.Interface.RulesBoard INF = script.Parent.Interface INT = script.Parent PLR = game.Players.LocalPlayer PLC = game.Players.LocalPlayer.Character BLO = script.Parent.Blackout
print("Variables loaded! Hot") if PLR.TeamColor == BrickColor.new("Institutional white") then MU:Play() repeat wait() until game.Players.LocalPlayer.Character Workspace.CurrentCamera.CameraType = "Scriptable" Workspace.CurrentCamera.CoordinateFrame = Workspace.Cam.CFrame wait(5) -- intervals of time between camera switch Workspace.CurrentCamera.CoordinateFrame = Workspace.Cam2.CFrame wait(5) Workspace.CurrentCamera.CoordinateFrame = Workspace.Cam3.CFrame wait(5) Workspace.CurrentCamera.CoordinateFrame = Workspace.Cam4.CFrame else return end
INF.Visible = true
RBO.Position = UDim2.new(0.5,200,0.5,-175)
SB.MouseButton1Down:connect(function(spawn)
MU:Remove()
if PLR:IsInGroup(1038237) then -- ur clan id
MU:Remove()
for i = 1, 10 do
BLO.BackgroundTransparency = BLO.BackgroundTransparency - 0.1
wait(0.1)
end
PLR.TeamColor = BrickColor.new("Bright red") --ur clan color
PLC:BreakJoints()
Workspace.CurrentCamera.CameraType = "Custom"
INF.Visible = false
elseif
PLR:IsInGroup(1038245) -- ally ids
or PLR:IsInGroup()
or PLR:IsInGroup()
or PLR:IsInGroup() then
MU:Remove()
--if you get more allies, just copy the lines like i did above ^ kk ur smart
for i = 1, 10 do
BLO.BackgroundTransparency = BLO.BackgroundTransparency - 0.1
wait(0.1)
end
INF.Visible = false
PLR.TeamColor = BrickColor.new("Bright green") --ally colors
PLC:BreakJoints()
Workspace.CurrentCamera.CameraType = "Custom"
elseif PLR:IsInGroup(0) == false then -- enemy ids, so if an enemy is in ur group and in their group they're put on enemies instead of ur group or allies
if PLR:IsInGroup(1) == false then
for i = 1, 10 do
MU:Remove()
BLO.BackgroundTransparency = BLO.BackgroundTransparency - 0.1
wait(0.1)
end
--INF.Visible = false (Goes here)
PLR.TeamColor = BrickColor.new("Black") --enemy colors
PLC:BreakJoints()
Workspace.CurrentCamera.CameraType = "Custom"
end
end
end)
print("flythepegasus's hot intro loaded.") --don't remove kid it just prints in the output window not in game
--dont touch
RB.MouseButton1Down:connect(function(RR) if RBO.Visible == false then RBO.Visible = true OC:Play() elseif RBO.Visible == true then RBO.Visible = false OC:Play() end end)
local gui = script.Parent local mouseInGui = false
SB.MouseEnter:connect(function(x, y) mouseInGui = true SBV.Visible = true MO:Play() end)
SB.MouseLeave:connect(function(x, y) mouseInGui = false SBV.Visible = false end)
RB.MouseEnter:connect(function(x, y) mouseInGui = true RBV.Visible = true MO:Play() end)
RB.MouseLeave:connect(function(x, y) mouseInGui = false RBV.Visible = false end)
Marked as Duplicate by Shawnyg, M39a9am3R, and User#2
This question has been asked before, and already has an answer. If those answers do not fully address your question, then please ask a new question here.
Why was this question closed?