Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

I cannot get the Raider's team to spawn, does anyone know how to do this?

Asked by 10 years ago

The Raider's team doesn't spawn when they click on the Spawn button, I didn't write this script BIOODSPORT (FlyThePegasus) did, I just got it when I got the fort.

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!") 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 ^ ok your 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 your group and in their group they're put on enemies instead of your 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("Fly's 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)

0
Use a code block please Vividex 162 — 10y
0
Stupid thing shrunk it down... One moment, I'll ask it as a new question and post the link. sword960 0 — 10y

Answer this question