|
| 04 Aug 2015 02:57 PM |
Hi, I'm trying to use Remote Events to make a GUI show up because FilteringEnabled breaks it but I get this error: - Argument 1 missing or nil, here's my scripts:
Script in serverscriptservice:
for i, v in pairs(game.Players:GetChildren()) do v.Backpack.RemoteClient.ChangeGUI:FireClient() end
RemoteClient Local Script which is in starterpack: (Remote Event is called ChangeGUI and is in the local script
script:WaitForChild("ChangeGUI") script.ChangeGUI.OnServerEvent:connect(function(player) player.PlayerGUI.HUD.RoundFrame:TweenPosition(UDim2.new(0.5, -375,0.5, -200) 'Out', 'Quint', 1) local mt = Instance.new('BoolValue', player.Character) mt.Name = 'MatchTag' end)
AlvinBLOXX | Scripter, Game Developer, Community Member | @AlvinBLOX |
|
|
| Report Abuse |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 04 Aug 2015 02:58 PM |
| v.Backpack.RemoteClient.ChangeGUI:FireClient(v) |
|
|
| Report Abuse |
|
|
| 04 Aug 2015 02:59 PM |
v.Backpack.RemoteClient.ChangeGUI:FireClient(v)
Fire Client takes in the player you wish to fire to |
|
|
| Report Abuse |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 04 Aug 2015 02:59 PM |
| And you use 'OnClientEvent' and no parameters. |
|
|
| Report Abuse |
|
|
| 04 Aug 2015 02:59 PM |
use FireAllClients()
- This is the will of Steins;Gate |
|
|
| Report Abuse |
|