So when the rocket hits a tower it breaks the welds but when the game refreshes itself it goes right through the tower and doesn't break the welds. Can someone please help me? Thanks!
Rocket going through objects?
2 answers
Can you send me a link to the problem you have?
--btw this is the script local RunService = game:GetService("RunService") local TimerEvent = game:GetService("ReplicatedStorage").Events.Timer local Say = script.Parent.Parent.Words.SimpleWords local TIMER_BINDING_NAME = "Timer" local Labe = script.Parent local tik = false local tt = false local function StartTimer(timeleft) RunService:BindToRenderStep(TIMER_BINDING_NAME, Enum.RenderPriority.Last.Value - 1, function(delta) local minutes = math.floor(timeleft/60) local seconds = math.floor(timeleft%60) timeleft-=delta Labe.Text = string.format("i:i", minutes,seconds)
if timeleft <=0 then
RunService:UnbindFromRenderStep(TIMER_BINDING_NAME)
end
end)
end TimerEvent.OnClientEvent:Connect(function(Time, Text, End) StartTimer(Time) Say.Text=Text tt = true spawn(function() while tt do wait(1) if script.Parent.Text =="00:00" then
if End == "y" then
tt = false
script.Parent.Parent.Parent.Main.Visible = true
wait(1)
game.StarterPack.RocketLauncher:Destroy()
workspace.Tower:Destroy()
wait(1)
local Wepons = game.ReplicatedStorage.RocketLauncher:Clone()
Wepons.Parent = game.StarterPack
local Tower = game.ReplicatedStorage.Tower:Clone()
Tower.Parent = workspace
script.Parent.Parent.Parent.Main.Visible = false
end
end
end
end)
while true do
wait()
if script.Parent.Text <="00:03" then
tik = true
spawn(function()
while tik do
script.Parent.Parent.Sound.Tick:Play()
wait(1)
end
end)
wait(3)
tik = false
end
end
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
here is a video of it https://drive.google.com/file/d/1ZnWBHgW2j1AV9PfyIOBA3WmLD32wGsh5/view?usp=sharing