there’s a strange behavior whenever i move the local script inside a screengui, it just doesn’t work and this is for team test
here’s a video of it working normally
and here’s a video of it being tested regularly and then team test
here’s a video to show that the script is parented to gui and it doesn’t work then it works when i unparent the script from the screen gui
hasoco
(Kenpachi Zaraki)
January 18, 2023, 12:10am
#2
Maybe it has something to do with the script? May you provide the script?
1 Like
but the script is the same in all 3 of those videos, and the videos are unedited too
--server
player.Character.Humanoid.MoveToFinished:Connect(function()
print(player.Name)
warn("FIREEE")
randomPlace.Seat:Sit(player.Character.Humanoid)
receiveCookie:FireClient(player, randomPlace.Name, "Square")
print('cutting cookie')
end)
--client
local function newCookie(randomNum, cookieType)
warn("recieved")
end
receiveCookie.OnClientEvent:Connect(newCookie)
now it starts working, i dont know how or why it started working, but all of a sudden works now
(edit now it broke, i didn’t even touch the script, and it doesn’t work anymore)
system
(system)
Closed
February 1, 2023, 12:30am
#6
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.