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 » Scripting Helpers
Home Search
 

Re: I need help with creating an in-game disguise

Previous Thread :: Next Thread 
Maxxell is not online. Maxxell
Joined: 25 Aug 2009
Total Posts: 38710
10 Aug 2014 05:35 PM
My sword fighting game has exploiters. I want to be able to catch them in-game.

I use a custom leaderboard to change my name to "Guest xxxx" and I wear the guest clothing. Problem is, I manually have to change my name above my character to Guest xxxx which kinda gives away the fact that I'm looking for exploiters.

Is there a way I can make a script so for when I join the game, my name is set to Guest xxxx (xxxx being a random number from 0-9999) and set my clothing to be overwritten with guest clothing? (or whatever else I want)

The overall goal is to catch the exploiters in-game using this disguise, I just have no idea how to code it
Report Abuse
OldGoldie is not online. OldGoldie
Joined: 17 Aug 2010
Total Posts: 8210
10 Aug 2014 05:36 PM
I'm good at Anti-Exploits. What exploit is going on?
Report Abuse
Maxxell is not online. Maxxell
Joined: 25 Aug 2009
Total Posts: 38710
10 Aug 2014 05:38 PM
God mode and speed hacks. I'm going to edit an existing speed hack and set my walkspeed incraments so it's something like .309542173509 when buying the walkspeed pass. I'd really like this to get done though
Report Abuse
OldGoldie is not online. OldGoldie
Joined: 17 Aug 2010
Total Posts: 8210
10 Aug 2014 05:40 PM
Speedhacks do not use WalkSpeed they change GetRealPhysicsFPS.
Godmode is an easy patch, all you do is make a script to check if hte health is above an X amount. If you have health ugprades like 1waffle1 did, you can just save a value wth DataStore about how much health they have, if it goes above it kicks/kills them. Also i can give you a global ban GUI i made that bans people if they aren't even in your game or server if you want. Not sure if i want to release it.
Report Abuse
Maxxell is not online. Maxxell
Joined: 25 Aug 2009
Total Posts: 38710
10 Aug 2014 05:40 PM
I'm thinking the structure should be something like

if name = maxxell then
playername = insertnamehere,
shirt = idhere
pants = idhere
hat = idhere

I just don't know how to do it
Report Abuse
Maxxell is not online. Maxxell
Joined: 25 Aug 2009
Total Posts: 38710
10 Aug 2014 05:42 PM
The problem with the script checking if health is above a certain amount is I have a health upgrade, and it stacks.
Report Abuse
OldGoldie is not online. OldGoldie
Joined: 17 Aug 2010
Total Posts: 8210
10 Aug 2014 05:43 PM
Well there is a custom playerlist script that you can modify names and edit the image next to your name. However, it's a good plan, but why not just use simple anti-exploit scripts, such as Merely's anti speedhack
Anti god mode is as simple as:
while wait(.1) do
if game.Players.LocalPlayer.Character.Humanoid.Health > MAX HEALTH HERE then
game.Players.LocalPlayer:Kick()
end
Report Abuse
Maxxell is not online. Maxxell
Joined: 25 Aug 2009
Total Posts: 38710
10 Aug 2014 05:44 PM
Oh and I'll pay for this if I have to, if something like this doesn't already exist
Report Abuse
OldGoldie is not online. OldGoldie
Joined: 17 Aug 2010
Total Posts: 8210
10 Aug 2014 05:44 PM
Alright for the health upgrade,Very simple. You save the amount of health they bought i assume,
do you use data persistance or datastore?
Report Abuse
Maxxell is not online. Maxxell
Joined: 25 Aug 2009
Total Posts: 38710
10 Aug 2014 05:45 PM
Data persistence. Thanks for that anti god mode though
Report Abuse
OldGoldie is not online. OldGoldie
Joined: 17 Aug 2010
Total Posts: 8210
10 Aug 2014 05:47 PM
Here:
Sever script in playergui

player = script.Parent.Parent
while wait(.1)
if script.Parent.Parent.Character.Humanoid.Health > 100 + script.Parent.Parent:LoadNumber("HealthStackKeyHere") then
player:Kick()
print("shrekt")
end
Try this.
I can test it for you if you want.
Report Abuse
CrazyBananaMonkey is not online. CrazyBananaMonkey
Joined: 10 Nov 2009
Total Posts: 1599
10 Aug 2014 05:47 PM
Typically the godmode changes MaxHealth to 0, not something above 100. I would check if the maxhealth ~= 100, not if it's greater than.
Report Abuse
OldGoldie is not online. OldGoldie
Joined: 17 Aug 2010
Total Posts: 8210
10 Aug 2014 05:48 PM
Oh put script.Parent.Parent:WaitForDataReady() at the top.
Report Abuse
Maxxell is not online. Maxxell
Joined: 25 Aug 2009
Total Posts: 38710
10 Aug 2014 05:48 PM
Test how? But thank you I'll add it to the game
Report Abuse
OldGoldie is not online. OldGoldie
Joined: 17 Aug 2010
Total Posts: 8210
10 Aug 2014 05:49 PM
Crazy, 0 max health kills you.
Godmode changes it to 1#INF or math.huge
Report Abuse
OldGoldie is not online. OldGoldie
Joined: 17 Aug 2010
Total Posts: 8210
10 Aug 2014 05:49 PM
Like i'll use it and check if it works, max.
Not sure it works though i may have mistyped it. or messed up
Report Abuse
Maxxell is not online. Maxxell
Joined: 25 Aug 2009
Total Posts: 38710
10 Aug 2014 05:50 PM
Sorry where do I put this? In a local script and then put that inside startergui?
Report Abuse
OldGoldie is not online. OldGoldie
Joined: 17 Aug 2010
Total Posts: 8210
10 Aug 2014 05:51 PM
The new one i recently psoted. Normal script (classname Script) in StarterGui or StarterGear.
Report Abuse
OldGoldie is not online. OldGoldie
Joined: 17 Aug 2010
Total Posts: 8210
10 Aug 2014 05:52 PM
Did you add script.Parent.Parent:WaitForDataReady() and edited the "HealthStackKey" to the key you used to save the stacked health upgrades?
Report Abuse
Maxxell is not online. Maxxell
Joined: 25 Aug 2009
Total Posts: 38710
10 Aug 2014 05:53 PM
It says there's an error on this line

if script.Parent.Parent.Character.Humanoid.Health > 100 + script.Parent.Parent:LoadNumber("HealthStackKeyHere") then

'do' expected near 'if'
Report Abuse
Maxxell is not online. Maxxell
Joined: 25 Aug 2009
Total Posts: 38710
10 Aug 2014 05:53 PM
Yes I did
Report Abuse
OldGoldie is not online. OldGoldie
Joined: 17 Aug 2010
Total Posts: 8210
10 Aug 2014 05:58 PM
Oh i just noticed that this won't work if there are no health keys. Not sure, try asking scripting helpers. Also you said you'd pay for my admin gui? It has these functionalites:

Temp muting, banning and perm muting and banning, and kicking
The player does not have to be in the game for any of these
Configurable admin tag overhead, and a spinning block you can customize mesh, add stuff etc... you can also admin people without them being ingame, and unadmin with the click of a button.

Idk if you wanted to pay for the name mask thing or not.
Report Abuse
Maxxell is not online. Maxxell
Joined: 25 Aug 2009
Total Posts: 38710
10 Aug 2014 05:58 PM
Oh no I have an admin thing already, I meant the disguise thing I described
Report Abuse
Maxxell is not online. Maxxell
Joined: 25 Aug 2009
Total Posts: 38710
10 Aug 2014 06:07 PM
1
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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