me module is a dissapear..? (Solved by meh)
Asked by
5 years ago Edited 5 years ago
me again.
I start my game and the sphere module goes poof.
help plzzzzzzzzzzzz.
(if you do I can give free admin in my other game, lava tunnel!)
here is me code.
my sphere generator code:
02 | if not game.Workspace.setup.Value = = 1 then |
03 | print ( "[spheres] sphere created" ) |
04 | script.Parent.Position = Vector 3. new(- 55 , 14 , 15 ) |
05 | script.Parent.Position = script.Parent.Position + Vector 3. new(math.random( 75 ), 0 , 0 ) |
06 | script.parent.Transparency = 0 |
09 | script.Parent.Position = script.Parent.Position + Vector 3. new( 0 , 0 , 1 ) |
10 | if game.Workspace.reset.Value = = 1 then |
11 | script.Parent:Destroy() |
15 | print ( "[spheres] sphere controller has started" ) |
16 | script.Parent.Transparency = 1 |
19 | if game.Workspace.reset = = 0 then |
me floor movin' code
05 | script.Parent.Position = script.Parent.Position + Vector 3. new( 0 , 0 , speed) |
07 | if game.Workspace.reset.Value = = 1 then |
08 | script.Parent.Position = Vector 3. new(- 18.5 , 2 , 75 ) |
11 | print ( "[responding] starting safe floor is responding" ) |
me kill stuff code:
02 | local humanoid = part.Parent:FindFirstChild( "Humanoid" ) |
03 | if (humanoid ~ = nil ) then |
05 | print ( "[notice] floor has detected a huminoid and killed it." ) |
06 | game.Workspace.reset.Value = 1 |
07 | print ( "[notice] the floor reset the obby" ) |
09 | game.Workspace.reset.Value = 0 |
10 | print ( "[notice] value reset is set to 0, obby has start again." ) |
14 | script.Parent.Touched:connect(onTouch) |
and me starterGUI code.
01 | print ( "[started] starterGUI script1 has started" ) |
02 | game.Workspace.setup.Value = 1 |
03 | game.Workspace.reset.Value = 0 |
04 | script.Parent.TextLabel.TextTransparency = 0 |
05 | script.Parent.Parent.Enabled = true |
07 | script.Parent.TextLabel.TextTransparency = 0.9 |
09 | script.Parent.TextLabel.TextTransparency = 0.8 |
11 | script.Parent.TextLabel.TextTransparency = 0.7 |
13 | script.Parent.TextLabel.TextTransparency = 0.6 |
15 | script.Parent.TextLabel.TextTransparency = 0.5 |
17 | script.Parent.TextLabel.TextTransparency = 0.4 |
19 | script.Parent.TextLabel.TextTransparency = 0.3 |
21 | script.Parent.TextLabel.TextTransparency = 0.2 |
23 | script.Parent.TextLabel.TextTransparency = 0.1 |
25 | script.Parent.Parent.Enabled = false |
26 | game.Workspace.setup.Value = 0 |
29 | local player = game.Players:GetPlayers() |
33 | player [ i ] .Character:MoveTo(Vector 3. new(- 18.5 , 2 , 74.5 )) |
35 | print ( "[ended] starterGUI script1 has ended" ) |
please help!!!!!!!!!!!!!!!!!