|
| 16 Jan 2016 11:00 AM |
local clickdetector = script.Parent.ClickDetector local shirt = script.Parent.Parent.Clothing local pants = script.Parent.Parent.Clothing2 local num = 0 clickdetector.MouseClick:connect(function(player) num = num + 1 if num == 1 then shirt.ShirtTemplate = "rbxassetid://339753676" pants.PantsTemplate = "rbxassetid://339747097" end if num == 2 then shirt.ShirtTemplate = "rbxassetid://339754408" pants.PantsTemplate = "rbxassetid://339742318" end if num > 2 then num = 0 end --num = 0 end)
No errors, only works in client side not server side. I've posted this so many times people have no idea what to do.
If you say it's solvable, then go ahead, I have no idea what to do.
Want a model?http://www.roblox.com/tessst-item?id=343204756 |
|
|
| Report Abuse |
|
|
|
| 16 Jan 2016 11:01 AM |
Have you got Filtering Enabled turned on?? Click on workspace in explorer and it'll tell you under it's properties
|
|
|
| Report Abuse |
|
|
|
| 16 Jan 2016 11:02 AM |
| I tried that so many times. Nothing. |
|
|
| Report Abuse |
|
|
| |
|
|
| 16 Jan 2016 12:16 PM |
Why have you coded it in such a horribly inefficient way?? I imagine it has something to do with too many events firing at once
|
|
|
| Report Abuse |
|
|
| |
|
| |
|
automan
|
  |
| Joined: 23 Oct 2008 |
| Total Posts: 486 |
|
| |
|
| |
|
| |
|
DevTechn0
|
  |
| Joined: 17 May 2015 |
| Total Posts: 1625 |
|
|
| 16 Jan 2016 12:45 PM |
ask yourself, is this script really this important? like ina month, will you still be relying on this script to help you generate income, or will you probably be moved onto a new project?
|
|
|
| Report Abuse |
|
|
|
| 16 Jan 2016 12:48 PM |
| it is.. it's for a clothing shop |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 16 Jan 2016 01:14 PM |
'No errors, only works in client side not server side.'
Actually unless your problem has changed since last time I tried to fix it
It works server side and not client. |
|
|
| Report Abuse |
|
|
| |
|
|
| 16 Jan 2016 01:16 PM |
| I said tried to fix it, you made a post about this before. |
|
|
| Report Abuse |
|
|
| |
|
|
| 16 Jan 2016 01:17 PM |
| It works in studio but not in a server. |
|
|
| Report Abuse |
|
|
|
| 16 Jan 2016 01:19 PM |
I did a test server
It does change the clothes but only on the server, not on the client
When you play a game online what you are looking at is the client. |
|
|
| Report Abuse |
|
|
|
| 16 Jan 2016 01:21 PM |
| Well all I know is it don't work in game |
|
|
| Report Abuse |
|
|
|
| 16 Jan 2016 01:27 PM |
| It is working in game just not on the players client. |
|
|
| Report Abuse |
|
|
|
| 16 Jan 2016 01:31 PM |
remove the shirt, and create a new one. It won't update otherwise
|
|
|
| Report Abuse |
|
|