Hi, I have a script here:
script.Parent.Touched:Connect(function(hit)
local k = hit.Parent.Name
if hit.Parent:FindFirstChild('Humanoid') then
game.Players[k].Backpack.WHY.Sound:Play()
game.Players[k].Backpack.WHY.Oof:Play()
game.Players[k].Backpack.WHY.Disabled = false
game.Players[k].PlayerGui.ScreenGui.Enabled = true
game.Players[k].PlayerGui.ScreenGui.TextLabel.Font = "Arcade"
wait(0.1)
game.Players[k].PlayerGui.ScreenGui.TextLabel.Text = "Y"
game.Players[k].PlayerGui.ScreenGui.TextLabel.Sound:Play()
end
end)
It's pretty simple. Roblox studio says there's no errors. I double checked every path and made sure it's correct. The capitalization and everything is correct. Its parent, however, is a union, which I think may be causing the problem. I'm honestly not sure though. So, basically, it should work but it doesn't. And yes, I have FilteringEnabled off.
