Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- This is the main script that is grabbed when public.lua is executed.
- When updates are tested in developer.lua and are then approved, the update
- will be pushed into this script and then to github.
- One important thing to remember is that this is NOT the same as developer.lua
- and should not be used for testing updates.
- THIS SCRIPT OR ANY OTHER PRIVATE SCRIPTS SHOULD NOT BE AVAILABLE TO THE PUBLIC!
- ]]
- --[[-Variables-]]--
- --Player Variables
- local Player = game:GetService("Players").LocalPlayer --Define Player
- local Character = Player.Character --Define Character
- local Backpack = Player.Backpack --Define Backpack
- --Sword Variables
- --Get the current tool size and grip position values
- local CurrentToolSize = ""
- local CurrentGripPos = ""
- --Logging Variables
- local OSTime = os.time();
- local Time = os.date('!*t', OSTime);
- local Avatar = 'https://discohook.org/static/discord-avatar.png';
- local Content = '';
- --Value Variables
- local GeneralReachCheck = "Unknown"
- local AuraReachCheck = "Unknown"
- local ExploitCheck = "Unknown"
- local GetMembership = "Unknown"
- local ColorGet = tostring(Color)
- local ThicknessGet = tostring(LineThickness)
- local TransparencyGet = tostring(Transparency)
- local SurfaceTransparencyGet = tostring(SurfaceTransparency)
- local SurfaceColorGet = tostring(SurfaceColor)
- local AuraSizeGet = tostring(AuraSize)
- local MarketPlaceService = game:GetService("MarketplaceService")
- local GameName = MarketPlaceService:GetProductInfo(game.PlaceId);
- --Status Checks
- if getgenv().GeneralReach == true then
- GeneralReachCheck = "Enabled"
- else
- GeneralReachCheck = "Disabled"
- end
- if getgenv().AuraReach == true then
- AuraReachCheck = "Enabled"
- else
- AuraReachCheck = "Disabled"
- end
- if Player.MembershipType == Enum.MembershipType.Premium then
- GetMembership = "Premium"
- else
- GetMembership = "Free"
- end
- --Check what exploit is being used by checking if exploit specific functions exist
- if syn then
- ExploitCheck = "Synapse X"
- end
- if PROTOSMASHER_LOADED == true then
- ExploitCheck = "ProtoSmasher"
- end
- if SENTINEL_LOADED == true then
- ExploitCheck = "Sentinel"
- end
- if is_sirhurt_closure then
- Exploit = "SirHurt"
- end
- --End of variables
- --[[-Script-]]--
- --General reach
- wait()
- if getgenv().GeneralReach == true then --If enabled then proceed with the script
- for i,v in pairs(Character:GetDescendants()) do
- if v:IsA("Tool") then
- for y,m in pairs(v.Handle:GetDescendants()) do --Check if a selection box already exists
- if m:IsA("SelectionBox") then
- m:Destroy() --Remove said selection box
- print("Successfully destroyed existing SelectionBox")
- end
- end
- --Set the tool size and grip position to the current tool dimensions
- CurrentToolSize = v.Handle.Size
- CurrentGripPos = v.GripPos
- local NewBox = Instance.new("SelectionBox", v.Handle) --Create the selectionbox
- --NewBox properties
- NewBox.Name = "NewBox"
- NewBox.Adornee = v.Handle --Set the selection box adornee; this allows the selection box to cover the tool
- NewBox.Color3 = ReachColor
- NewBox.LineThickness = ReachLineThickness
- NewBox.Transparency = ReachTransparency
- NewBox.SurfaceColor3 = ReachSurfaceColor
- NewBox.SurfaceTransparency = ReachSurfaceTransparency
- --Tool properties
- v.Handle.Massless = true --Change the massless property to true
- v.Handle.Size = Vector3.new(0.5, 0.5, ReachSize)
- v.GripPos = Vector3.new(0, 0, -1.5)
- v.ToolTip = "Modified using SwordTest"
- Character.Humanoid:UnequipTools() --We un-equip and re-equip the tool to apply changes to the tool
- local Tool = v --Define the current tool
- wait()
- Character.Humanoid:EquipTool(Tool) --Re-equip the tool
- Character.HumanoidRootPart.Anchored = true
- wait(0.1)
- Character.HumanoidRootPart.Anchored = false
- end
- end
- end
- --Aura reach
- wait()
- if getgenv().AuraReach == true then --If enabled then proceed with the script
- for r,k in pairs(Character:GetDescendants()) do
- if k:IsA("Tool") then
- for b,n in pairs(k.Handle:GetDescendants()) do
- if k:IsA("SelectionBox") and k.Name == "AuraBox" then
- k:Destroy()
- print("Successfully destroyed existing AuraBox")
- end
- end
- CurrentToolSize = k.Handle.Size
- CurrentGripPos = k.GripPos
- local AuraBox = Instance.new("SelectionBox", k.Handle)
- AuraBox.Name = "AuraBox"
- AuraBox.Adornee = k.Handle
- k.Handle.Massless = true
- k.Handle.Size = Vector3.new(AuraSize, 99, AuraSize)
- end
- end
- end
- --Webhook Logging
- --Webhook message is sent after the main script has been executed
- local Embed = {
- title = ':warning: Script Executed';
- url = 'https://roblox.com/games/' .. game.PlaceId; --Get the games URL
- footer = {
- text = 'SwordTest logger by Jason';
- };
- color = '7124988';
- author = {
- name = 'Spidey Bot';
- icon_url = 'https://discohook.org/static/discord-avatar.png';
- };
- fields = {
- --Logs the whole configuration that is in use
- {
- name = ':video_game: Game:';
- value = GameName.Name;
- type = 'inline'
- };
- {
- name = ':man: Username:';
- value = Player.Name;
- };
- {
- name = ':card_index: User Id:';
- value = Player.UserId;
- };
- {
- name = ':diamond_shape_with_a_dot_inside: User Membership:';
- value = GetMembership;
- };
- {
- name = ':wrench: JobId:';
- value = game.JobId;
- };
- {
- name = ':gear: General Reach:';
- value = GeneralReachCheck;
- };
- {
- name = ':gear: Aura Reach:';
- value = AuraReachCheck;
- };
- {
- name = ':paintbrush: Color:';
- value = ColorGet;
- };
- {
- name = ':straight_ruler: Size:';
- value = Size;
- };
- {
- name = ':yellow_circle: Line Thickness:';
- value = ThicknessGet;
- };
- {
- name = ':window: Transparency:';
- value = TransparencyGet;
- };
- {
- name = ':window: Surface Transparency:';
- value = SurfaceTransparencyGet;
- };
- {
- name = ':paintbrush: Surface Color:';
- value = SurfaceColorGet;
- };
- {
- name = ':straight_ruler: Aura Size:';
- value = AuraSizeGet;
- };
- {
- name = ':spy: Exploit:';
- value = ExploitCheck;
- };
- };
- timestamp = string.format('%d-%d-%dT%02d:%02d:%02dZ', Time.year, Time.month, Time.day, Time.hour, Time.min, Time.sec);
- };
- (syn and syn.request or http_request) { --Allows the logger to work on the majority of exploits
- Url = 'https://discord.com/api/webhooks/770405174816538722/DMyMmLp9cQcC0dUN-Z9JNCVIoBfud5uq2GhAfqpCVcEAoGWFpRidwK0LHAgMgTiD21xk';
- Method = 'POST';
- Headers = {
- ['Content-Type'] = 'application/json';
- };
- Body = game:GetService'HttpService':JSONEncode( { content = Content; embeds = { Embed } } );
- };
- --End of script
Add Comment
Please, Sign In to add comment