Now let’s create a LocalScript that will fire this RemoteEvent whenever the TextButton is clicked (again, under the TextButton).Įver since workspace.FilteringEnabled was enforced, any text the client enters into a TextBox was NOT replicated to the server. RemoveHead.OnServerInvoke = RemoveHead_Eventįirst things first, let’s create a RemoteEvent under our TextButton and name it “RequestAsset”. Transparency = 0ĪpplyFace.OnServerInvoke = ApplyFace_Event Local faceid = asset:WaitForChild("face").Texture Local asset = InsertService:LoadAsset(tonumber(id)) Local ApplyHat = RepStorage:WaitForChild("ApplyHat") Local AddHead = RepStorage:WaitForChild("AddHead") Local RemoveHead = RepStorage:WaitForChild("RemoveHead") Local ApplyFace = RepStorage:WaitForChild("ApplyFace") Local RepStorage = game:GetService("ReplicatedStorage") Local InsertService = game:GetService("InsertService") I’m lost within seconds lol, is there any way to fit it into this script that handles all the functions? - Services.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |