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

Local script is not working in starterpack and starterplayer scripts?

Asked by 3 years ago
game.Workspace.Part4.Touched:Connect(function(hit)
    if hit.Parent:FindFirstChild("Humanoid") then
        local player = game:GetService("Players"):GetPlayerFromCharacter(hit.Parent)
        local playerGui = player.PlayerGui
        playerGui.ScreenGui.Gradient.IsItCompleteOrNot.Text = "Yes"
    end
end)

OUTPUT: Part4 has CanTouch set to False. No TouchTransmitter will be created Placed in Started pack this script and it didn't work in starter playerscripts??

0
Just go into the properties tab of Part4 the enable CanTouch. MarkedTomato 810 — 3y

Answer this question