I am currently making a game and my script wont work any help at all please??? here is my script
TP = script.Parent -- this script is a server script if that helps
gamie = game.ReplicatedStorage.Game
TP.Touched:Connect(function(touch)
local RP = game:GetService("ReplicatedStorage")
local Co = RP.Co
Co:FireServer(touch)
end)
and here is my other script that is supposed to receive the remote event
local gamie = game.ReplicatedStorage.Game --this script is also a server script
local intro = game.ReplicatedStorage.Intro
local timer = game.ReplicatedStorage.Timer
lava = game.ReplicatedStorage.Lava
local rs = game:GetService('ReplicatedStorage').Restart
rs.OnServerEvent:Connect(function(touch)
timer.Value = 20
intro.Value = 1
local clone = game.ReplicatedStorage.Lava2:Clone()
clone.Parent = game.Workspace
if lava.Parent == game.ReplicatedStorage then
lava.Parent = game.Workspace
end
wait(1)
if lava.Parent == game.Workspace then
lava.Parent = game.ReplicatedStorage
end
clone:Destroy()
wait(3)
end)
this script (shown above) may look kinda wonkie because of the autosave :-<

1 comment
gamie was something i left in there