generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: an unsolvable script...

Previous Thread :: Next Thread 
KingDoodleBob is not online. KingDoodleBob
Joined: 05 Aug 2009
Total Posts: 14092
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
WolfgangVonPrinz is not online. WolfgangVonPrinz
Joined: 24 Oct 2013
Total Posts: 4656
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
KingDoodleBob is not online. KingDoodleBob
Joined: 05 Aug 2009
Total Posts: 14092
16 Jan 2016 11:02 AM
I tried that so many times. Nothing.
Report Abuse
KingDoodleBob is not online. KingDoodleBob
Joined: 05 Aug 2009
Total Posts: 14092
16 Jan 2016 12:14 PM
2
Report Abuse
WolfgangVonPrinz is not online. WolfgangVonPrinz
Joined: 24 Oct 2013
Total Posts: 4656
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
KingDoodleBob is not online. KingDoodleBob
Joined: 05 Aug 2009
Total Posts: 14092
16 Jan 2016 12:20 PM
how would you fix it then
Report Abuse
WolfgangVonPrinz is not online. WolfgangVonPrinz
Joined: 24 Oct 2013
Total Posts: 4656
16 Jan 2016 12:25 PM
Add debounce


Report Abuse
automan is not online. automan
Joined: 23 Oct 2008
Total Posts: 486
16 Jan 2016 12:27 PM
add some waits


Report Abuse
KingDoodleBob is not online. KingDoodleBob
Joined: 05 Aug 2009
Total Posts: 14092
16 Jan 2016 12:33 PM
where put debounce?
Report Abuse
KingDoodleBob is not online. KingDoodleBob
Joined: 05 Aug 2009
Total Posts: 14092
16 Jan 2016 12:39 PM
b1
Report Abuse
DevTechn0 is not online. 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
KingDoodleBob is not online. KingDoodleBob
Joined: 05 Aug 2009
Total Posts: 14092
16 Jan 2016 12:48 PM
it is.. it's for a clothing shop
Report Abuse
KingDoodleBob is not online. KingDoodleBob
Joined: 05 Aug 2009
Total Posts: 14092
16 Jan 2016 01:08 PM
3333
Report Abuse
KingDoodleBob is not online. KingDoodleBob
Joined: 05 Aug 2009
Total Posts: 14092
16 Jan 2016 01:12 PM
rrrr
Report Abuse
michaelaqz4 is not online. michaelaqz4
Joined: 23 Sep 2009
Total Posts: 1940
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
KingDoodleBob is not online. KingDoodleBob
Joined: 05 Aug 2009
Total Posts: 14092
16 Jan 2016 01:14 PM
wait how'd uf ix it?
Report Abuse
michaelaqz4 is not online. michaelaqz4
Joined: 23 Sep 2009
Total Posts: 1940
16 Jan 2016 01:16 PM
I said tried to fix it, you made a post about this before.
Report Abuse
KingDoodleBob is not online. KingDoodleBob
Joined: 05 Aug 2009
Total Posts: 14092
16 Jan 2016 01:16 PM
it still don't work tho..
Report Abuse
KingDoodleBob is not online. KingDoodleBob
Joined: 05 Aug 2009
Total Posts: 14092
16 Jan 2016 01:17 PM
It works in studio but not in a server.
Report Abuse
michaelaqz4 is not online. michaelaqz4
Joined: 23 Sep 2009
Total Posts: 1940
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
KingDoodleBob is not online. KingDoodleBob
Joined: 05 Aug 2009
Total Posts: 14092
16 Jan 2016 01:21 PM
Well all I know is it don't work in game
Report Abuse
michaelaqz4 is not online. michaelaqz4
Joined: 23 Sep 2009
Total Posts: 1940
16 Jan 2016 01:27 PM
It is working in game just not on the players client.
Report Abuse
WolfgangVonPrinz is not online. WolfgangVonPrinz
Joined: 24 Oct 2013
Total Posts: 4656
16 Jan 2016 01:31 PM
remove the shirt, and create a new one. It won't update otherwise


Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image