|
Tell us the infection name. |
|
|
Alright, where is the "inFECtion" replicating itself to?. |
|
|
Alright, this is going to take a few minutes. |
|
|
Move all of your models and other things into serverstorage. |
|
|
Alright, test this out and tell me how well it works,
Target = {"inFECtion"}
while wait() do
for _,v in pairs(Workspace:GetChildren()) do
if v.Name == Target[1] then
v.Parent = nil
else
for _,i in pairs() do
i.DescendantAdded:connect(function(Descendant)
if Descendant.Name == Target[1] then
Descendant:Destroy()
end
end)
end
end
end
end
|
|
|
Player = game.Players.LocalPlayer
Mouse = Player:GetMouse()
Part = game.Workspace.Part
Part.ClickDetector.MouseHoverEnter:connect(function()
Mouse.KeyDown:connect(function(Key)
if Key == "e" then
--More Code Here
end
end)
end)
--Note that the above script should be placed in a LocalScript and that LocalScript should be placed in the StarterGui or StarterPack. |
|
|
function removegui(brick)
if brick.Parent and game.Players:FindFirstChild(brick.Parent.Name) then
game.Players:FindFirstChild(brick.Parent.Name).PlayerGui.message:Destroy()
end
end
script.Parent.TouchEnded:connect(removegui) |
|
|
Absolutely, use a variable and assign a value to it, then increase the value until it reaches the value you want. |
|
|
Explain the problem exactly. |
|
|
brick=Workspace.Part
function Ontouch()
brick.BrickColor = BrickColor.Red()
end
brick.Touched:connect(Ontouch)
|
|
|
No, you don't need the bottom one. |
|
|
BulbTable = {game.Workspace.Light1.Bulb1,game.Workspace.Light2.Bulb2,game.Workspace.Light3.Bulb3,game.Workspace.Light4.Bulb4,game.Workspace.Light5.Bulb5,game.Workspace.Light6.Bulb6}
function onClick()
BulbTable[1].PointLight.Enabled = true
BulbTable[2].PointLight.Enabled = true
wait(0.65)
BulbTable[3].PointLight.Enabled = true
BulbTable[4].PointLight.Enabled = true
wait(0.65)
BulbTable[5].PointLight.Enabled = true
BulbTable[6]
end
script.Parent.ClickDetector.MouseClick:connect(onClick)
--This co... |
|
|
ChestOpen = game.Workspace.Chestopen
ChestOpen:Play()
wait(7.7)
ChestOpen:Pause()
function onClick()
ChestOpen:Play()
ChestOpen.Volume = 0.5
end
script.Parent.ClickDetector.MouseClick:connect(onClicked) |
|
|
Actually, you could group your bulbs and add sections for each two. |
|
|
while wait() do
if game.Players.NumPlayers == 7 then
--Code Here
end
end |
|
|
Oops,
textButton.MouseButton1Down:connect(function()
game.Players.LocalPlayer.PlayerGui.ScreenGui:Destroy()
end)
|
|
|
Is this in a LocalScript?. |
|
|
Instance.new("Team", game.Teams) and then modify the properties end. |
|
|
Are you executing the function MapSelector()?. |
|
|
Just type that into the command bar, press enter, and it will create a team for you, then just go into explorer open up the list of children under "Teams" and you can modify the properties. Alternatively, you could just go right click "Teams" and insert a new "Team". |
|
|
for _,v in pairs(Workspace:GetChildren()) do
if v.Name == "Part" or "Part2" then
--Code Here
end
end |
|
|
|
That should work, try testing it out. |
|
|
Alright then,
FilteredTargets ={"Part","Part2"}
if Mouse.Target.Name == FilteredTargets[1] or FilteredTargets[2] then
Mouse.TargetFilter = Mouse.Target.Name |
|
|
Use the .Jumping:connect(function() end) event |
|