|
| 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 |
|
|
|
| 12 Nov 2016 07:50 PM |
FilteringEnabled is your best friend http://wiki.roblox.com/index.php?title=Security
|
|
|
| Report Abuse |
|
|
|
| 12 Nov 2016 07:51 PM |
| Will that stop my localscripts? .-. |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 12 Nov 2016 07:55 PM |
| I did. My shop icon doesn't even work :/ |
|
|
| Report Abuse |
|
|
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
|
  |
| Joined: 29 Dec 2015 |
| Total Posts: 163 |
|
|
| 12 Nov 2016 07:57 PM |
FE breaks locals
#code print("National Rifle Association") |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 12 Nov 2016 08:06 PM |
"I finally have a successful game." 6k visits isnt successful
|
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 12 Nov 2016 08:09 PM |
| I have no clue to do the remote stuff. Looks like my game is hacked. :/ |
|
|
| Report Abuse |
|
|
|
| 12 Nov 2016 08:09 PM |
| Only 2 scripts stop working. And they are onclicked scripts. |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
| |
|
| |
|
| |
|
|
| 12 Nov 2016 08:54 PM |
| It's a button to open the shop frame. |
|
|
| Report Abuse |
|
|
|
| 12 Nov 2016 08:55 PM |
| Make it into a remote event, then it should work. |
|
|
| Report Abuse |
|
|