SolvedHow could I turn this into an exploit?

Posts 1–4 of 4 · Page 1 of 1
How could I turn this into an exploit?
Code:
		if PasswordValueEntry:GetValue() == Password1 or PasswordValueEntry:GetValue() == Password2 or PasswordValueEntry:GetValue() == Password3 or PasswordValueEntry:GetValue() == Password4 or PasswordValueEntry:GetValue() == Password5 or PasswordValueEntry:GetValue() == Password6 or PasswordValueEntry:GetValue() == Password7 or PasswordValueEntry:GetValue() == Password8 then
			net.Start("CorrectPasswordEntered")
				net.WriteEntity(door)
			net.SendToServer()
			-- surface.PlaySound("voices/password.mp3")
		else
			net.Start("IncorrectPasswordEntered")
				net.WriteEntity(door)
			net.SendToServer()
			-- surface.PlaySound("voices/uncorrect.mp3")
		end
		Panel:Remove()
	end
end)
Could this be possibly exploited? I was looking around on the files for a server (HogwartsRP) and saw some stuff that I think could be used to trick the server into believing the player has gotten the password for the various "Passages" around the map when they haven't.
Probably, first you might wanna get the entity of the door
look at the door and try this script

Code:
local door = LocalPlayer():GetEyeTrace().Entity
net.Start("CorrectPasswordEntered")
net.WriteEntity(door)
net.SendToServer()
Quote Originally Posted by eth0s View Post
Probably, first you might wanna get the entity of the door
look at the door and try this script

Code:
local door = LocalPlayer():GetEyeTrace().Entity
net.Start("CorrectPasswordEntered")
net.WriteEntity(door)
net.SendToServer()
Hmm, i'll try that.


Edit:

It appears to be "teleport" or "teleporter" , I think this is because they are multiple instances of the entity with their own files.

So like, it'd be "Teleporter 1" then "Teleporter 2" which goes on until the number 11.
1 week has passed and no further replies have been made by the OP. Assuming solved.

/Closed.
Posts 1–4 of 4 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us