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: How can i stop exploiting in my game :/

Previous Thread :: Next Thread 
PennslyvaniaRoadGeek is not online. PennslyvaniaRoadGeek
Joined: 06 Jan 2012
Total Posts: 404
12 Nov 2016 07:45 PM
I finally have a successful game. But it keeps getting hacked! Like turning everyone into a ###### and destroying stuff. How? Any scripts. Help! D:
Report Abuse
memorycode is not online. memorycode
Joined: 24 Sep 2011
Total Posts: 3322
12 Nov 2016 07:50 PM
FilteringEnabled is your best friend
http://wiki.roblox.com/index.php?title=Security


Report Abuse
PennslyvaniaRoadGeek is not online. PennslyvaniaRoadGeek
Joined: 06 Jan 2012
Total Posts: 404
12 Nov 2016 07:51 PM
Will that stop my localscripts? .-.
Report Abuse
memorycode is not online. memorycode
Joined: 24 Sep 2011
Total Posts: 3322
12 Nov 2016 07:53 PM
You'll probably have to recode the whole game if you've done stuff without it.

I suggest reading up on exactly what it does.


Report Abuse
PennslyvaniaRoadGeek is not online. PennslyvaniaRoadGeek
Joined: 06 Jan 2012
Total Posts: 404
12 Nov 2016 07:55 PM
I did. My shop icon doesn't even work :/
Report Abuse
Kasumo is not online. Kasumo
Joined: 22 Mar 2013
Total Posts: 2467
12 Nov 2016 07:56 PM
convert everything to remote events. currently doing that for my game.
Report Abuse
Xedris is not online. Xedris
Joined: 29 Dec 2015
Total Posts: 163
12 Nov 2016 07:57 PM
FE breaks locals


#code print("National Rifle Association")
Report Abuse
memorycode is not online. memorycode
Joined: 24 Sep 2011
Total Posts: 3322
12 Nov 2016 07:57 PM
Yes, it can be irritating though I highly suggest putting the time in and changing it.

FilteringEnabled makes a lot more sense anyway; things on the client stay with the client and things on the server stay with the server.


Report Abuse
PennslyvaniaRoadGeek is not online. PennslyvaniaRoadGeek
Joined: 06 Jan 2012
Total Posts: 404
12 Nov 2016 08:03 PM
My game runs. Its just the guis that have local scripts in them don't work. Do i have to use like: remote function onClicked and crap like that xd
Report Abuse
memorycode is not online. memorycode
Joined: 24 Sep 2011
Total Posts: 3322
12 Nov 2016 08:05 PM
RemoteFunctions & RemoteEvents

.OnServerInvoke & .onServerEvent

.onClientInvoke & .onClientEvent

http://wiki.roblox.com/index.php?title=RemoteFunction_and_RemoteEvent_Tutorial


Report Abuse
SenseiWarrior is online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
12 Nov 2016 08:06 PM
"I finally have a successful game."
6k visits isnt successful


Report Abuse
PennslyvaniaRoadGeek is not online. PennslyvaniaRoadGeek
Joined: 06 Jan 2012
Total Posts: 404
12 Nov 2016 08:08 PM
Yeah but 5k visits in one day. And there arn't even ads running. It's getting there :/
Report Abuse
PennslyvaniaRoadGeek is not online. PennslyvaniaRoadGeek
Joined: 06 Jan 2012
Total Posts: 404
12 Nov 2016 08:09 PM
I have no clue to do the remote stuff. Looks like my game is hacked. :/
Report Abuse
PennslyvaniaRoadGeek is not online. PennslyvaniaRoadGeek
Joined: 06 Jan 2012
Total Posts: 404
12 Nov 2016 08:09 PM
Only 2 scripts stop working. And they are onclicked scripts.
Report Abuse
memorycode is not online. memorycode
Joined: 24 Sep 2011
Total Posts: 3322
12 Nov 2016 08:11 PM
It's not that difficult.

-- Server script

function game.ReplicatedStorage.CoolRemoteEvent.OnServerInvoke(player, arg)
print(arg.." from "..player.Name)
end

-- local script
game.Players.PlayerAdded:Connect(function(p)
game.ReplicatedStorage.CoolRemoteEvent:InvokeServer("hi")
end)

--> hi from memorycode




Report Abuse
memorycode is not online. memorycode
Joined: 24 Sep 2011
Total Posts: 3322
12 Nov 2016 08:12 PM
Are you SURE only 2 stopped working?

FilteringEnabled is ignored in studio for the most part; try uploading it and playing it


Report Abuse
PennslyvaniaRoadGeek is not online. PennslyvaniaRoadGeek
Joined: 06 Jan 2012
Total Posts: 404
12 Nov 2016 08:13 PM
Do i put that inside of my onClicked scripts? When you click the button it opens another gui. There then you can buy stuff from a shop XD
Report Abuse
PennslyvaniaRoadGeek is not online. PennslyvaniaRoadGeek
Joined: 06 Jan 2012
Total Posts: 404
12 Nov 2016 08:14 PM
It's being played on right now. I had people playing on filtering enabled. The shop gui didn't work, and the voting gui didn't work. I had to turn it off because the guis didn't work and no votes were submitted.
Report Abuse
memorycode is not online. memorycode
Joined: 24 Sep 2011
Total Posts: 3322
12 Nov 2016 08:15 PM
Assuming the onClicked scripts are in Workspace you should fire a RemoteEvent from the server and handle it in a local script on the client (which will activate the gui)


Report Abuse
PennslyvaniaRoadGeek is not online. PennslyvaniaRoadGeek
Joined: 06 Jan 2012
Total Posts: 404
12 Nov 2016 08:25 PM
This is literally my script... And the script is inside a textbutton.

function onClicked(GUI)
script.Parent.Parent.Frame.Visible = true
end

script.Parent.MouseButton1Click:connect(onClicked)
Report Abuse
PennslyvaniaRoadGeek is not online. PennslyvaniaRoadGeek
Joined: 06 Jan 2012
Total Posts: 404
12 Nov 2016 08:36 PM
bump
Report Abuse
memorycode is not online. memorycode
Joined: 24 Sep 2011
Total Posts: 3322
12 Nov 2016 08:49 PM
Is it a localscript?


Report Abuse
PennslyvaniaRoadGeek is not online. PennslyvaniaRoadGeek
Joined: 06 Jan 2012
Total Posts: 404
12 Nov 2016 08:50 PM
Nope. Server script.
Report Abuse
PennslyvaniaRoadGeek is not online. PennslyvaniaRoadGeek
Joined: 06 Jan 2012
Total Posts: 404
12 Nov 2016 08:54 PM
It's a button to open the shop frame.
Report Abuse
Voided_Asylum is not online. Voided_Asylum
Joined: 05 May 2012
Total Posts: 308
12 Nov 2016 08:55 PM
Make it into a remote event, then it should work.
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