Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local debugmode = false
- --[[
- INSTRUCTIONS:
- Click the "Disabled" button, it should turn green and state "Enabled", if it does not do this then check the console(F9, or say '/console' in chat)
- Actions only work if the main GUI frame is minimised & the button states "Enabled"(unchangable)
- The On-Click/Key buttons toggle the mode of which to TP/DEL(1/2)/ANK on click or on key press(the key being the Toggle [mode] Hotkey string
- To toggle the mode/change it, click on the orange texted button saying 'Toggle '(your current mode)'Hotkey';
- ERRORS:
- MOUSE INVISIBLE: Right click the toggle custom mouse decal id button, yet to be expanded on so it may error for now
- WARNINGS:
- MULTIPLE GUIs: When you are re-executing the GUI make sure you click the 'X' button for a proper shut down, deleting the ScreenGui or;
- -core parents will not work alone, having mulitple keybinds you cannot alter and cannot stop from running is unchangable with no gui.
- MULTIPLE SCRIPTS // LAG: Adding scripts or other GUIs in some instances, depending on how large they are, may cause great lag. Try;
- execute this particular script after(or last) large(r) scripts and it should reduce any possible lag being generated.
- Designed w/ 1920 x 1080(native) screen res, if you use a smaller screen res size the GUI objects may become distorted; change positions to your liking: Line-499
- BUILT-IN HOTKEYS:
- Press 'Insert' to toggle the side menus
- DEFAULT OR CHANGABLE HOTKEYS:
- Press Q to toggle the Main frame and the help frame's visibility
- Press E to toggle the action's on/off property, always on if using 'On-Key'
- MOUSE ICONS:
- The provided first 3(as of 11/03/2021) do not work, the other decals are default Roblox images
- To enable custom decals click the (originally) red button to green(adding changable ids later)
- CREDITS:
- Created, designed & scripted by: Scripteria(@684113538) with use of ROBLOX decals & other public decals available via the catalog
- In Affiliation with: === {{ F.O.E }} ===
- --]]
- local isHSe = false
- local m1_MOUSE_TP_DECALID = "http://www.roblox.com/asset/?id=4834472848"
- local m2_MOUSE_DEL1_DECALID = "http://www.roblox.com/asset/?id=6503608654"
- local m3_MOUSE_DEL2_DECALID = "http://www.roblox.com/asset/?id=6503590581"
- local m4_MOUSE_ANCHOR_DECALID = "rbxasset://textures/AnchorCursor.png"
- local m4_MOUSE_UNANCHOR_DECALID = "rbxasset://textures/UnAnchorCursor.png"
- local m1_MOUSE_selbox_c3 = {13,105,172}
- local m1_MOUSE_selbox_surc3 = {13,105,172}
- local m1_MOUSE_selbox_lt = {0.006}
- local m1_MOUSE_selbox_tr = {0}
- local m2_MOUSE_selbox_c3 = {170,0,0}
- local m2_MOUSE_selbox_surc3 = {170,0,0}
- local m2_MOUSE_selbox_lt = {0.06}
- local m2_MOUSE_selbox_tr = {0}
- local m3_MOUSE_selbox_c3 = {170,0,0}
- local m3_MOUSE_selbox_surc3 = {170,0,0}
- local m3_MOUSE_selbox_lt = {0.06}
- local m3_MOUSE_selbox_tr = {0}
- local m4_MOUSE_selbox_c3 = {13,105,172}
- local m4_MOUSE_selbox_surc3 = {13,105,172}
- local m4_MOUSE_selbox_lt = {0.006}
- local m4_MOUSE_selbox_tr = {0}
- local mall_MOUSE_selbox_st = {0.8}
- local ui_constaktiv_posud2 = {0,0,0.739,0}
- local selbox_vars_a = {"A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"}
- local selbox_vars_n = {"0", "1", "2", "3", "4", "5", "6", "7", "8", "9"}
- local FOE = Instance.new("ScreenGui")
- local Scripteria = Instance.new("Frame")
- local TPM2_title = Instance.new("TextLabel")
- local TPM2_author = Instance.new("TextLabel")
- local TPM2_status = Instance.new("TextButton")
- local TPM2_label_tgh = Instance.new("TextLabel")
- local TPM2_string_tgh = Instance.new("TextBox")
- local TPM2_string_tkch = Instance.new("TextBox")
- local TPM2_label_xoysz = Instance.new("TextLabel")
- local TPM2_string_x = Instance.new("TextBox")
- local TPM2_string_y = Instance.new("TextBox")
- local TPM2_string_z = Instance.new("TextBox")
- local TPM2_customdecalidtoggle = Instance.new("TextButton")
- local TPM2_customdecalid = Instance.new("TextBox")
- local TPM2_modetoggle = Instance.new("TextButton")
- local TPM2_minimise = Instance.new("TextButton")
- local TPM2_exit = Instance.new("TextButton")
- local TPM2_currentmousedecalid = Instance.new("TextButton")
- local TPM2_string_currentmousedecalid = Instance.new("TextBox")
- local TPM2_help = Instance.new("TextButton")
- local TPM2_onclick = Instance.new("TextButton")
- local TPM2_onclick_2 = Instance.new("TextButton")
- local Braindead = Instance.new("Frame")
- local BD2_title = Instance.new("TextLabel")
- local _1 = Instance.new("TextLabel")
- local _2 = Instance.new("TextLabel")
- local _3 = Instance.new("TextLabel")
- local BD2_min = Instance.new("TextButton")
- local GUI = Instance.new("TextButton")
- local const_ison = Instance.new("TextLabel")
- local const_mtobj = Instance.new("TextLabel")
- local const_mousemode = Instance.new("TextLabel")
- local cores = {const_ison, const_mtobj, const_mousemode}
- local TestMouseIconDecalID1 = 4834472861
- local _mode = 1
- TPM2_exit.MouseButton1Down:Connect(function()
- _mode = -5
- script.Disabled = true
- FOE:Destroy()
- end)
- FOE.Name = "=== [[ F.O.E ]] ==="
- if debugmode == false then
- FOE.Parent = game.CoreGui
- elseif debugmode then
- FOE.Parent = game.Players.LocalPlayer.PlayerGui
- end
- FOE.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- FOE.ResetOnSpawn = true
- Scripteria.Name = " Scripteria. "
- Scripteria.Parent = FOE
- Scripteria.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- Scripteria.BackgroundTransparency = 0.200
- Scripteria.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Scripteria.Position = UDim2.new(0.0121858353, 0, 0.0786240771, 0)
- Scripteria.Size = UDim2.new(0, 298, 0, 385)
- TPM2_title.Name = "TPM2_title"
- TPM2_title.Parent = Scripteria
- TPM2_title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TPM2_title.BackgroundTransparency = 1.000
- TPM2_title.Position = UDim2.new(0.111,0,0,0)
- TPM2_title.Size = UDim2.new(0, 232, 0, 39)
- TPM2_title.Font = Enum.Font.ArialBold
- TPM2_title.Text = "Mouse TP"
- TPM2_title.TextColor3 = Color3.fromRGB(170, 0, 0)
- TPM2_title.TextScaled = true
- TPM2_title.TextSize = 14.000
- TPM2_title.TextStrokeColor3 = Color3.fromRGB(255, 0, 0)
- TPM2_title.TextStrokeTransparency = 0.500
- TPM2_title.TextWrapped = true
- TPM2_author.Name = "TPM2_author"
- TPM2_author.Parent = Scripteria
- TPM2_author.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TPM2_author.BackgroundTransparency = 1.000
- TPM2_author.Position = UDim2.new(0.164429531, 0, 0.101298705, 0)
- TPM2_author.Size = UDim2.new(0, 200, 0, 32)
- TPM2_author.Font = Enum.Font.Bodoni
- TPM2_author.Text = "by: Scripteria"
- TPM2_author.TextColor3 = Color3.fromRGB(170, 0, 0)
- TPM2_author.TextScaled = true
- TPM2_author.TextSize = 14.000
- TPM2_author.TextWrapped = true
- TPM2_status.Name = "TPM2_status"
- TPM2_status.Parent = Scripteria
- TPM2_status.BackgroundColor3 = Color3.fromRGB(0, 170, 0)
- TPM2_status.BackgroundTransparency = 0.030
- TPM2_status.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TPM2_status.Position = UDim2.new(0.164429531, 0, 0.218181819, 0)
- TPM2_status.Size = UDim2.new(0, 200, 0, 28)
- TPM2_status.Font = Enum.Font.SourceSansBold
- TPM2_status.Text = "Enabled"
- TPM2_status.TextColor3 = Color3.fromRGB(0, 0, 0)
- TPM2_status.TextScaled = true
- TPM2_status.TextSize = 14.000
- TPM2_status.TextWrapped = true
- TPM2_status.TextXAlignment = Enum.TextXAlignment.Left
- TPM2_label_tgh.Name = "TPM2_label_tgh"
- TPM2_label_tgh.Parent = Scripteria
- TPM2_label_tgh.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TPM2_label_tgh.BackgroundTransparency = 1.000
- TPM2_label_tgh.Position = UDim2.new(0.0234899335, 0, 0.319480509, 0)
- TPM2_label_tgh.Size = UDim2.new(0, 194, 0, 26)
- TPM2_label_tgh.Font = Enum.Font.Highway
- TPM2_label_tgh.Text = "Toggle GUI Hotkey:"
- TPM2_label_tgh.TextColor3 = Color3.fromRGB(222, 222, 222)
- TPM2_label_tgh.TextScaled = true
- TPM2_label_tgh.TextSize = 14.000
- TPM2_label_tgh.TextWrapped = true
- TPM2_string_tgh.Name = "TPM2_string_tgh"
- TPM2_string_tgh.Parent = Scripteria
- TPM2_string_tgh.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TPM2_string_tgh.BackgroundTransparency = 1.000
- TPM2_string_tgh.Position = UDim2.new(0.674496651, 0, 0.319480509, 0)
- TPM2_string_tgh.Size = UDim2.new(0, 88, 0, 26)
- TPM2_string_tgh.Font = Enum.Font.SourceSansSemibold
- TPM2_string_tgh.PlaceholderColor3 = Color3.fromRGB(255, 0, 0)
- TPM2_string_tgh.PlaceholderText = "(A-Z), not case-sensitive"
- TPM2_string_tgh.Text = "Q"
- TPM2_string_tgh.TextColor3 = Color3.fromRGB(0, 255, 0)
- TPM2_string_tgh.TextScaled = true
- TPM2_string_tgh.TextSize = 14.000
- TPM2_string_tgh.TextWrapped = true
- TPM2_string_tkch.Name = "TPM2_string_tkch"
- TPM2_string_tkch.Parent = Scripteria
- TPM2_string_tkch.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TPM2_string_tkch.BackgroundTransparency = 1.000
- TPM2_string_tkch.Position = UDim2.new(0.674496651, 0, 0.431168824, 0)
- TPM2_string_tkch.Size = UDim2.new(0, 88, 0, 26)
- TPM2_string_tkch.Font = Enum.Font.SourceSansSemibold
- TPM2_string_tkch.PlaceholderColor3 = Color3.fromRGB(255, 0, 0)
- TPM2_string_tkch.PlaceholderText = "(A-Z), not case-sensitive"
- TPM2_string_tkch.Text = "E"
- TPM2_string_tkch.TextColor3 = Color3.fromRGB(0, 255, 0)
- TPM2_string_tkch.TextScaled = true
- TPM2_string_tkch.TextSize = 14.000
- TPM2_string_tkch.TextWrapped = true
- TPM2_label_xoysz.Name = "TPM2_label_xoysz"
- TPM2_label_xoysz.Parent = Scripteria
- TPM2_label_xoysz.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TPM2_label_xoysz.BackgroundTransparency = 1.000
- TPM2_label_xoysz.Position = UDim2.new(0.0234899335, 0, 0.529870152, 0)
- TPM2_label_xoysz.Size = UDim2.new(0, 283, 0, 27)
- TPM2_label_xoysz.Font = Enum.Font.SourceSansLight
- TPM2_label_xoysz.Text = "X,Y,Z off-set(def/blank=0)"
- TPM2_label_xoysz.TextColor3 = Color3.fromRGB(222, 222, 222)
- TPM2_label_xoysz.TextScaled = true
- TPM2_label_xoysz.TextSize = 14.000
- TPM2_label_xoysz.TextWrapped = true
- TPM2_string_x.Name = "TPM2_string_x"
- TPM2_string_x.Parent = Scripteria
- TPM2_string_x.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TPM2_string_x.BackgroundTransparency = 1.000
- TPM2_string_x.Position = UDim2.new(0.0234899335, 0, 0.625974, 0)
- TPM2_string_x.Size = UDim2.new(0, 85, 0, 35)
- TPM2_string_x.ClearTextOnFocus = false
- TPM2_string_x.Font = Enum.Font.SourceSans
- TPM2_string_x.PlaceholderColor3 = Color3.fromRGB(255, 128, 0)
- TPM2_string_x.PlaceholderText = "X(0-9, dir:left-right)"
- TPM2_string_x.Text = ""
- TPM2_string_x.TextColor3 = Color3.fromRGB(0, 255, 0)
- TPM2_string_x.TextScaled = true
- TPM2_string_x.TextSize = 14.000
- TPM2_string_x.TextWrapped = true
- TPM2_string_y.Name = "TPM2_string_y"
- TPM2_string_y.Parent = Scripteria
- TPM2_string_y.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TPM2_string_y.BackgroundTransparency = 1.000
- TPM2_string_y.Position = UDim2.new(0.338926166, 0, 0.625974, 0)
- TPM2_string_y.Size = UDim2.new(0, 85, 0, 35)
- TPM2_string_y.ClearTextOnFocus = false
- TPM2_string_y.Font = Enum.Font.SourceSans
- TPM2_string_y.PlaceholderColor3 = Color3.fromRGB(255, 128, 0)
- TPM2_string_y.PlaceholderText = "Y(0-9, dir:up/down)"
- TPM2_string_y.Text = ""
- TPM2_string_y.TextColor3 = Color3.fromRGB(0, 255, 0)
- TPM2_string_y.TextScaled = true
- TPM2_string_y.TextSize = 14.000
- TPM2_string_y.TextWrapped = true
- TPM2_string_z.Name = "TPM2_string_z"
- TPM2_string_z.Parent = Scripteria
- TPM2_string_z.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TPM2_string_z.BackgroundTransparency = 1.000
- TPM2_string_z.Position = UDim2.new(0.694630861, 0, 0.623376608, 0)
- TPM2_string_z.Size = UDim2.new(0, 83, 0, 35)
- TPM2_string_z.ClearTextOnFocus = false
- TPM2_string_z.Font = Enum.Font.SourceSans
- TPM2_string_z.PlaceholderColor3 = Color3.fromRGB(255, 128, 0)
- TPM2_string_z.PlaceholderText = "Z(0-9, dir:front/back)"
- TPM2_string_z.Text = ""
- TPM2_string_z.TextColor3 = Color3.fromRGB(0, 255, 0)
- TPM2_string_z.TextScaled = true
- TPM2_string_z.TextSize = 14.000
- TPM2_string_z.TextWrapped = true
- TPM2_customdecalidtoggle.Name = "TPM2_customdecalidtoggle"
- TPM2_customdecalidtoggle.Parent = Scripteria
- TPM2_customdecalidtoggle.BackgroundColor3 = Color3.fromRGB(0, 170, 0)
- TPM2_customdecalidtoggle.BackgroundTransparency = 0.030
- TPM2_customdecalidtoggle.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TPM2_customdecalidtoggle.Position = UDim2.new(0.0234899335, 0, 0.737662315, 0)
- TPM2_customdecalidtoggle.Size = UDim2.new(0, 135, 0, 32)
- TPM2_customdecalidtoggle.Font = Enum.Font.SourceSansBold
- TPM2_customdecalidtoggle.Text = "Mouse Decal ID(when active)"
- TPM2_customdecalidtoggle.TextColor3 = Color3.fromRGB(0, 0, 0)
- TPM2_customdecalidtoggle.TextScaled = true
- TPM2_customdecalidtoggle.TextSize = 14.000
- TPM2_customdecalidtoggle.TextWrapped = true
- TPM2_customdecalidtoggle.TextXAlignment = Enum.TextXAlignment.Left
- TPM2_customdecalid.Name = "TPM2_customdecalid"
- TPM2_customdecalid.Parent = Scripteria
- TPM2_customdecalid.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TPM2_customdecalid.BackgroundTransparency = 1.000
- TPM2_customdecalid.Position = UDim2.new(0.476510078, 0, 0.737662315, 0)
- TPM2_customdecalid.Size = UDim2.new(0, 148, 0, 32)
- TPM2_customdecalid.ClearTextOnFocus = false
- TPM2_customdecalid.Font = Enum.Font.Code
- TPM2_customdecalid.PlaceholderColor3 = Color3.fromRGB(222, 222, 222)
- TPM2_customdecalid.PlaceholderText = "ID/URL(library)"
- TPM2_customdecalid.Text = "6337569733"
- TPM2_customdecalid.TextColor3 = Color3.fromRGB(0, 255, 0)
- TPM2_customdecalid.TextScaled = true
- TPM2_customdecalid.TextSize = 14.000
- TPM2_customdecalid.TextWrapped = true
- TPM2_modetoggle.Name = "TPM2_modetoggle"
- TPM2_modetoggle.Parent = Scripteria
- TPM2_modetoggle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TPM2_modetoggle.BackgroundTransparency = 1.000
- TPM2_modetoggle.Position = UDim2.new(0.0234898925, 0, 0.433766216, 0)
- TPM2_modetoggle.Size = UDim2.new(0, 194, 0, 26)
- TPM2_modetoggle.Font = Enum.Font.SourceSansBold
- TPM2_modetoggle.Text = "Toggle TP Hotkey"
- TPM2_modetoggle.TextColor3 = Color3.fromRGB(255, 128, 0)
- TPM2_modetoggle.TextScaled = true
- TPM2_modetoggle.TextSize = 14.000
- TPM2_modetoggle.TextWrapped = true
- TPM2_minimise.Name = "TPM2_minimise"
- TPM2_minimise.Parent = Scripteria
- TPM2_minimise.BackgroundColor3 = Color3.fromRGB(0, 0, 255)
- TPM2_minimise.BackgroundTransparency = 0.100
- TPM2_minimise.BorderColor3 = Color3.fromRGB(0, 0, 255)
- TPM2_minimise.Size = UDim2.new(0, 33, 0, 33)
- TPM2_minimise.Font = Enum.Font.LuckiestGuy
- TPM2_minimise.Text = "-"
- TPM2_minimise.TextColor3 = Color3.fromRGB(0, 0, 0)
- TPM2_minimise.TextScaled = true
- TPM2_minimise.TextSize = 14.000
- TPM2_minimise.TextWrapped = true
- TPM2_exit.Name = "TPM2_exit"
- TPM2_exit.Parent = Scripteria
- TPM2_exit.BackgroundColor3 = Color3.fromRGB(170, 0, 0)
- TPM2_exit.BackgroundTransparency = 0.100
- TPM2_exit.BorderColor3 = Color3.fromRGB(170, 0, 0)
- TPM2_exit.Position = UDim2.new(0.889261723, 0, 0, 0)
- TPM2_exit.Size = UDim2.new(0, 33, 0, 33)
- TPM2_exit.Font = Enum.Font.GothamBold
- TPM2_exit.Text = "X"
- TPM2_exit.TextColor3 = Color3.fromRGB(0, 0, 0)
- TPM2_exit.TextScaled = true
- TPM2_exit.TextSize = 14.000
- TPM2_exit.TextWrapped = true
- TPM2_currentmousedecalid.Name = "TPM2_currentmousedecalid"
- TPM2_currentmousedecalid.Parent = Scripteria
- TPM2_currentmousedecalid.BackgroundColor3 = Color3.fromRGB(105, 108, 105)
- TPM2_currentmousedecalid.BorderColor3 = Color3.fromRGB(105, 108, 105)
- TPM2_currentmousedecalid.Position = UDim2.new(0.0201342274, 0, 0.849350691, 0)
- TPM2_currentmousedecalid.Size = UDim2.new(0, 136, 0, 30)
- TPM2_currentmousedecalid.Font = Enum.Font.RobotoCondensed
- TPM2_currentmousedecalid.Text = "Get current Mouse Decal"
- TPM2_currentmousedecalid.TextColor3 = Color3.fromRGB(0, 0, 0)
- TPM2_currentmousedecalid.TextScaled = true
- TPM2_currentmousedecalid.TextSize = 14.000
- TPM2_currentmousedecalid.TextWrapped = true
- TPM2_string_currentmousedecalid.Name = "TPM2_string_currentmousedecalid"
- TPM2_string_currentmousedecalid.Parent = Scripteria
- TPM2_string_currentmousedecalid.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TPM2_string_currentmousedecalid.BackgroundTransparency = 1.000
- TPM2_string_currentmousedecalid.Position = UDim2.new(0.476510078, 0, 0.849350631, 0)
- TPM2_string_currentmousedecalid.Size = UDim2.new(0, 148, 0, 30)
- TPM2_string_currentmousedecalid.Font = Enum.Font.Code
- TPM2_string_currentmousedecalid.PlaceholderColor3 = Color3.fromRGB(170, 0, 0)
- TPM2_string_currentmousedecalid.PlaceholderText = "[blank]"
- TPM2_string_currentmousedecalid.Text = TestMouseIconDecalID1
- TPM2_string_currentmousedecalid.TextColor3 = Color3.fromRGB(222, 222, 222)
- TPM2_string_currentmousedecalid.TextScaled = true
- TPM2_string_currentmousedecalid.TextSize = 14.000
- TPM2_string_currentmousedecalid.TextWrapped = true
- TPM2_help.Name = "TPM2_help"
- TPM2_help.Parent = Scripteria
- TPM2_help.BackgroundColor3 = Color3.fromRGB(100, 100, 255)
- TPM2_help.BackgroundTransparency = 0.190
- TPM2_help.BorderColor3 = Color3.fromRGB(100, 100, 255)
- TPM2_help.Position = UDim2.new(0, 0, 0.101298705, 0)
- TPM2_help.Size = UDim2.new(0, 33, 0, 33)
- TPM2_help.Font = Enum.Font.LuckiestGuy
- TPM2_help.Text = "?"
- TPM2_help.TextColor3 = Color3.fromRGB(0, 0, 0)
- TPM2_help.TextScaled = true
- TPM2_help.TextSize = 14.000
- TPM2_help.TextWrapped = true
- TPM2_onclick.Name = "TPM2_onclick"
- TPM2_onclick.Parent = Scripteria
- TPM2_onclick.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
- TPM2_onclick.BackgroundTransparency = 0.100
- TPM2_onclick.BorderColor3 = Color3.fromRGB(0, 255, 0)
- TPM2_onclick.Position = UDim2.new(0.0201342274, 0, 0.218181819, 0)
- TPM2_onclick.Size = UDim2.new(0, 33, 0, 28)
- TPM2_onclick.Font = Enum.Font.SourceSans
- TPM2_onclick.Text = "On- Click"
- TPM2_onclick.TextColor3 = Color3.fromRGB(0, 0, 0)
- TPM2_onclick.TextScaled = true
- TPM2_onclick.TextSize = 14.000
- TPM2_onclick.TextWrapped = true
- TPM2_onclick_2.Name = "TPM2_onclick"
- TPM2_onclick_2.Parent = Scripteria
- TPM2_onclick_2.BackgroundColor3 = Color3.fromRGB(170, 0, 0)
- TPM2_onclick_2.BackgroundTransparency = 0.100
- TPM2_onclick_2.BorderColor3 = Color3.fromRGB(170, 0, 0)
- TPM2_onclick_2.Position = UDim2.new(0.862416089, 0, 0.218181819, 0)
- TPM2_onclick_2.Size = UDim2.new(0, 33, 0, 28)
- TPM2_onclick_2.Font = Enum.Font.SourceSans
- TPM2_onclick_2.Text = "On- Key"
- TPM2_onclick_2.TextColor3 = Color3.fromRGB(0, 0, 0)
- TPM2_onclick_2.TextScaled = true
- TPM2_onclick_2.TextSize = 14.000
- TPM2_onclick_2.TextWrapped = true
- Braindead.Name = " Brain-dead"
- Braindead.Parent = FOE
- Braindead.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- Braindead.BackgroundTransparency = 0.300
- Braindead.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Braindead.Position = UDim2.new(0.726580381, 0, 0.0786240771, 0)
- Braindead.Size = UDim2.new(0, 276, 0, 385)
- BD2_title.Name = "BD2_title"
- BD2_title.Parent = Braindead
- BD2_title.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- BD2_title.BackgroundTransparency = 0.900
- BD2_title.BorderColor3 = Color3.fromRGB(0, 0, 0)
- BD2_title.Size = UDim2.new(0, 276, 0, 33)
- BD2_title.Font = Enum.Font.Roboto
- BD2_title.Text = "Help"
- BD2_title.TextColor3 = Color3.fromRGB(0, 0, 255)
- BD2_title.TextScaled = true
- BD2_title.TextSize = 14.000
- BD2_title.TextWrapped = true
- _1.Name = "1"
- _1.Parent = Braindead
- _1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- _1.BackgroundTransparency = 1.000
- _1.Position = UDim2.new(0, 0, 0.101298705, 0)
- _1.Size = UDim2.new(0, 276, 0, 56)
- _1.Font = Enum.Font.SourceSans
- _1.Text = "CORE OBJECTS:: Modal is enabled whenever the GUI is present on-screen; \"-\": Minimise frame and make an open button; \"X\": De-activates GUI script and removes the GUI; \"?\": Help frame; \"Enabled\": Toggles the script."
- _1.TextColor3 = Color3.fromRGB(222, 222, 222)
- _1.TextScaled = true
- _1.TextSize = 14.000
- _1.TextWrapped = true
- _2.Name = "2"
- _2.Parent = Braindead
- _2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- _2.BackgroundTransparency = 1.000
- _2.Position = UDim2.new(0, 0, 0.218181819, 0)
- _2.Size = UDim2.new(0, 276, 0, 232)
- _2.Font = Enum.Font.SourceSans
- _2.Text = "OTHER:: \"On-Click/On-Key\": Toggles whether to tp/del on said condition; \"Toggle GUI Hotkey\": Put a key(A-Z suggested) there and hit [Enter], not case-sensitive & ignore any string after the 1st letter present; \"Toggle [TP/DEL(1)/DEL(2)] Hotkey\": same as GUI toggle except it runs the function of the current mode. TP(teleport to mouse location+X/Y/Z off-set), Del(1)(Deletes object/mouse target), Del(2)(removes mouse target from current position as to bypass certain anti-cheats); \"X,Y,Z off-set(def/blank=0)\": Below textboxes are in-order of, \"X\", \"Y\", \"Z\" - CFrame position, alter these values if you experience issues or get stuck in the ground(set Y to 1.2 or 2 if stuck in ground); \"Mouse Decal ID(when active)\": If [green] then it will change your mouse decal ID to said ID in TextBox to the right of it, Textbox supports full URL from library and ID only; \"Get current Mouse Decal\": Click this to change the TextBox to the right of it to your current mouse decal ID(DO immediately when you see another ID) good if you accidentally change it in the case of an FPS game or a game with custom IDs, right click to change to roblox default)."
- _2.TextColor3 = Color3.fromRGB(222, 222, 222)
- _2.TextScaled = true
- _2.TextSize = 14.000
- _2.TextWrapped = true
- _3.Name = "3"
- _3.Parent = Braindead
- _3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- _3.BackgroundTransparency = 1.000
- _3.Position = UDim2.new(0, 0, 0.79740262, 0)
- _3.Size = UDim2.new(0, 276, 0, 78)
- _3.Font = Enum.Font.SourceSans
- _3.Text = "The creator of this GUI is not responsible if your account gets banned (in-)/directly because of this GUI; YOU are responsible for your own account. Is the GUI not working or creating errors? Join(https://discord.gg/4Zhjt5SQ5k) and notify me."
- _3.TextColor3 = Color3.fromRGB(170, 0, 0)
- _3.TextScaled = true
- _3.TextSize = 14.000
- _3.TextWrapped = true
- BD2_min.Name = "BD2_min"
- BD2_min.Parent = Braindead
- BD2_min.BackgroundColor3 = Color3.fromRGB(0, 0, 255)
- BD2_min.BorderColor3 = Color3.fromRGB(0, 0, 255)
- BD2_min.Size = UDim2.new(0, 35, 0, 33)
- BD2_min.Font = Enum.Font.SourceSans
- BD2_min.Text = "-"
- BD2_min.TextColor3 = Color3.fromRGB(0, 0, 0)
- BD2_min.TextScaled = true
- BD2_min.TextSize = 14.000
- BD2_min.TextWrapped = true
- GUI.Name = "GUI.t"
- GUI.Parent = FOE
- GUI.BackgroundColor3 = Color3.fromRGB(0,0,0)
- GUI.BackgroundTransparency = 0.3
- GUI.BorderColor3 = Color3.fromRGB(0,0,0)
- GUI.Size = UDim2.new(0,127,0,35)
- GUI.Position = UDim2.new(0,0,0.849,0)
- GUI.Font = Enum.Font.SourceSans
- GUI.RichText = true
- GUI.Text = "Open GUI"
- GUI.TextColor3 = Color3.fromRGB(0,0,0)
- GUI.TextScaled = true
- const_ison.Name = "Active/"
- const_ison.Parent = FOE
- const_ison.BackgroundColor3 = Color3.fromRGB(170,0,0)
- const_ison.BackgroundTransparency = 0.3
- const_ison.BorderColor3 = Color3.fromRGB(170,0,0)
- const_ison.Size = UDim2.new(0,50,0,30)
- const_ison.Position = UDim2.new(ui_constaktiv_posud2[1], ui_constaktiv_posud2[2], ui_constaktiv_posud2[3], ui_constaktiv_posud2[4])
- const_ison.Font = Enum.Font.SourceSans
- const_ison.RichText = true
- const_ison.Text = "Loading..."
- const_ison.TextColor3 = Color3.fromRGB(0,0,0)
- const_ison.TextScaled = true
- const_mtobj.Name = "Obj/"
- const_mtobj.Parent = FOE
- const_mtobj.BackgroundColor3 = Color3.fromRGB(0,0,0)
- const_mtobj.BackgroundTransparency = 0.3
- const_mtobj.BorderColor3 = Color3.fromRGB(0,0,0)
- const_mtobj.Size = UDim2.new(0,165,0,45)
- const_mtobj.Position = UDim2.new(0,const_mtobj.AbsolutePosition.X,0,const_mtobj.AbsolutePosition.Y+175)
- const_mtobj.Font = Enum.Font.GothamSemibold
- const_mtobj.RichText = true
- const_mtobj.Text = "Syncing..."
- const_mtobj.TextColor3 = Color3.fromRGB(222,222,222)
- const_mtobj.TextScaled = true
- const_mousemode.Name = "MM/"
- const_mousemode.Parent = FOE
- const_mousemode.BackgroundColor3 = Color3.fromRGB(0,0,0)
- const_mousemode.BackgroundTransparency = 1
- const_mousemode.BackgroundColor3 = Color3.fromRGB(0,0,0)
- const_mousemode.Size = UDim2.new(0,95,0,20)
- const_mousemode.Position = UDim2.new(0,0,0,0)
- const_mousemode.Font = Enum.Font.GothamBlack
- const_mousemode.RichText = true
- const_mousemode.Text = "Syncing..."
- const_mousemode.TextColor3 = Color3.fromRGB(0,0,0)
- const_mousemode.TextScaled = true
- const_mousemode.TextXAlignment = Enum.TextXAlignment.Left
- GUI.Visible = false
- Scripteria.Active = true;Scripteria.Draggable = true
- Braindead.Visible = false;Braindead.Active = true;Braindead.Draggable = true
- local CDITBV = Instance.new("BoolValue", TPM2_customdecalidtoggle)
- CDITBV.Name = CDITBV.Parent.Name.."."
- CDITBV.Value = true
- local _ison = true
- local _isonclick = true
- local _isonkey = false
- local vars_isonclick = _isonclick
- local vars_isonkey = _isonkey
- local vars_ison_CK_text = ""
- local vars_ison_mode_text = ""
- local function updateScriptGuiStatus()
- local _1 = "TP" local _2 = "DEL_1" local _3 = "DEL_2" local _4 = "AnkTog" local _4r = "UnAnchor" local _nbs = "Toggle " local _nbf = " Hotkey"
- if TPM2_modetoggle.Text == _nbs.._1.._nbf then
- _mode = 1
- elseif TPM2_modetoggle.Text == _nbs.._2.._nbf then
- _mode = 2
- elseif TPM2_modetoggle.Text == _nbs.._3.._nbf then
- _mode = 3
- elseif TPM2_modetoggle.Text == _nbs.._4.._nbf or TPM2_modetoggle.Text == _nbs.._4r.._nbf then
- _mode = 4
- end;if _mode == 1 then vars_ison_mode_text = _1;end;if _mode == 2 then vars_ison_mode_text = _2;end;if _mode == 3 then vars_ison_mode_text = _3;end;if _mode == 4 then vars_ison_mode_text = _4;end
- if _isonclick then
- vars_isonclick = true
- vars_isonkey = false
- vars_ison_CK_text = "On-Click"
- elseif _isonclick == false then
- vars_isonclick = false
- vars_isonkey = true
- vars_ison_CK_text = "On-Key"
- end
- if _ison then
- const_ison.Text = "Enabled:"..vars_ison_CK_text..":"..vars_ison_mode_text
- const_ison.BackgroundColor3 = Color3.fromRGB(0,255,0)
- const_ison.BorderColor3 = Color3.fromRGB(0,255,0)
- elseif _ison == false then
- const_ison.Text = "Disabled:"..vars_ison_CK_text..":"..vars_ison_mode_text
- const_ison.BackgroundColor3 = Color3.fromRGB(170,0,0)
- const_ison.BorderColor3 = Color3.fromRGB(170,0,0)
- end
- end
- local function toggleGUIstatus()
- if _ison then
- _ison = false
- TPM2_status.Text = "Disabled"
- TPM2_status.BackgroundColor3 = Color3.fromRGB(170,0,0)
- TPM2_status.TextXAlignment = Enum.TextXAlignment.Right
- elseif _ison == false then
- _ison = true
- TPM2_status.Text = "Enabled"
- TPM2_status.BackgroundColor3 = Color3.fromRGB(0,255,0)
- TPM2_status.TextXAlignment = Enum.TextXAlignment.Left
- end
- updateScriptGuiStatus()
- end
- local CDITBVP = TPM2_customdecalidtoggle
- local function toggleCMDIoA()
- if CDITBV.Value then
- CDITBV.Value = false
- CDITBVP.BackgroundColor3 = Color3.fromRGB(170,0,0)
- CDITBVP.BorderColor3 = Color3.fromRGB(170,0,0)
- elseif CDITBV.Value == false then
- CDITBV.Value = true
- CDITBVP.BackgroundColor3 = Color3.fromRGB(0,255,0)
- CDITBVP.BorderColor3 = Color3.fromRGB(0,255,0)
- end
- end
- toggleGUIstatus()
- toggleCMDIoA()
- local _istping = true
- local _cmdie = true
- local _mode = 1
- local _modes = {"TP", "DEL1", "DEL2"}
- local UIS = game:GetService("UserInputService")
- local RS = game:GetService("RunService")
- local Player = game.Players.LocalPlayer
- TPM2_status.Modal = true
- local Mouse = Player:GetMouse()
- TPM2_minimise.MouseButton1Down:Connect(function()
- Scripteria.Visible = false
- Braindead.Visible = false
- GUI.Visible = true
- end)
- local function updateMouseIcon()
- if CDITBV.Value == true then
- if _mode == 1 then
- Mouse.Icon = m1_MOUSE_TP_DECALID
- elseif _mode == 2 then
- Mouse.Icon = m2_MOUSE_DEL1_DECALID
- elseif _mode == 3 then
- Mouse.Icon = m3_MOUSE_DEL2_DECALID
- elseif _mode == 4 then
- Mouse.Icon = m4_MOUSE_ANCHOR_DECALID
- end
- elseif CDITBV.Value == false then
- return Mouse.Icon
- end
- end
- GUI.MouseButton1Down:Connect(function()
- Scripteria.Visible = true
- GUI.Visible = false
- end)
- TPM2_exit.MouseButton1Down:Connect(function()
- _ison = false
- _isonclick = false
- _isonkey = false
- CDITBV.Value = false
- FOE:Destroy()
- end)
- TPM2_help.MouseButton1Down:Connect(function()
- if Braindead.Visible then
- Braindead.Visible = false
- elseif Braindead.Visible == false then
- Braindead.Visible = true
- end
- end)
- local custommouseid = ""
- local function FUNC_isonclickkey()
- updateMouseIcon()
- if _isonclick then
- _isonclick = false
- _isonkey = true
- TPM2_onclick.BackgroundColor3 = Color3.fromRGB(170,0,0)
- TPM2_onclick.BorderColor3 = Color3.fromRGB(170,0,0)
- TPM2_onclick_2.BackgroundColor3 = Color3.fromRGB(0,255,0)
- TPM2_onclick_2.BorderColor3 = Color3.fromRGB(0,255,0)
- elseif _isonclick == false then
- _isonclick = true
- _isonkey = false
- TPM2_onclick.BackgroundColor3 = Color3.fromRGB(0,255,0)
- TPM2_onclick.BorderColor3 = Color3.fromRGB(0,255,0)
- TPM2_onclick_2.BackgroundColor3 = Color3.fromRGB(170,0,0)
- TPM2_onclick_2.BorderColor3 = Color3.fromRGB(170,0,0)
- end
- updateScriptGuiStatus()
- end
- local SELBOX = Instance.new("SelectionBox")SELBOX.Parent = FOE;SELBOX.Name = ""
- local function updModeInfo()
- if _mode == 1 then
- TPM2_modetoggle.Text = "Toggle TP Hotkey"
- TPM2_title.Text = "Mouse-TP"
- const_mousemode.Text = "TP"
- elseif _mode == 2 then
- TPM2_modetoggle.Text = "Toggle DEL1 Hotkey"
- TPM2_title.Text = "Mouse-Del(1)"
- const_mousemode.Text = "DEL_1"
- elseif _mode == 3 then
- TPM2_modetoggle.Text = "Toggle DEL2 Hotkey"
- TPM2_title.Text = "Mouse-Del(2)"
- const_mousemode.Text = "DEL_2"
- elseif _mode == 4 then
- TPM2_modetoggle.Text = "Toggle (UN)ANK Hotkey"
- TPM2_title.Text = "Mouse-Ankor"
- end
- end
- if debugmode then
- wait(2)
- end
- local Character = nil
- for i, v in pairs(workspace:GetDescendants()) do
- if v:IsA("Model") and v.Name == Player.Name and v:FindFirstChild("Humanoid") then
- Character = v
- end
- end
- local function FUNC_gameRS()
- FOE.Name = SELBOX.Name.."."
- for i, v in pairs(FOE:GetDescendants()) do
- v.Name = SELBOX.Name..",./"
- end
- if _ison then
- local rn1c3 = math.random(1,255)
- local rn2c3 = math.random(1,255)
- local rn3c3 = math.random(1,255)
- const_mtobj.TextColor3 = Color3.fromRGB(rn1c3, rn2c3, rn3c3)
- const_mousemode.TextColor3 = const_mtobj.TextColor3
- const_mousemode.Position = UDim2.fromOffset(Mouse.X+18, Mouse.Y-5.66)
- if _ison then
- if const_mtobj.Visible then
- const_mousemode.Visible = true
- elseif const_mtobj.Visible == false then
- if isHSe then
- local cinfo = {
- errors = 0;
- warnings = 0;
- title = "const_mousemode";
- titletype = "info-tab, left";
- gamename = game.Name;
- line = "~720"
- }
- return game.HttpService:JSONEncode(cinfo)
- elseif isHSe == false then
- return "Unable to retrieve online data."
- end
- end
- updModeInfo()
- if _mode == 4 then
- if Mouse.Target then
- if Mouse.Target:IsA("Part") or Mouse.Target:IsA("MeshPart") or Mouse.Target:IsA("WedgePart") or Mouse.Target:IsA("BasePart") then
- if Mouse.Target.Anchored then
- const_mousemode.Text = "UN-\nANCHOR"
- elseif Mouse.Target.Anchored == false then
- const_mousemode.Text = "ANCHOR"
- end
- elseif Mouse.Target and Mouse.Target:IsA("Part") == nil and Mouse.Target:IsA("MeshPart") == nil and Mouse.Target:IsA("WedgePart") == nil and Mouse.Target:IsA("BasePart") == nil then
- const_mousemode.Text = "ANKHOR"
- end
- elseif Mouse.Target == nil then
- const_mousemode.Text = "ANKHOR\n(nil obj)"
- end
- end
- end
- if Mouse.Target then
- if Mouse.Target:IsA("Decal") == false or Mouse.Target:IsA("Decal") == nil then
- local _constvars_ank = nil
- local _constvars_col = nil
- local _constvars_cl3 = nil
- local _constvars_tra = nil
- local _constvars_typ = nil
- local _constvars_text_ank = ""
- local _constvars_text_col = ""
- if Mouse.Target.Anchored then
- _constvars_ank = true
- _constvars_text_ank = "true"
- elseif Mouse.Target.Anchored == false then
- _constvars_ank = false
- _constvars_text_ank = "false"
- end
- if Mouse.Target.CanCollide then
- _constvars_col = true
- _constvars_text_col = "true"
- elseif Mouse.Target.CanCollide == false then
- _constvars_col = false
- _constvars_text_col = "false"
- end
- _constvars_cl3 = Mouse.Target.Color or Mouse.Target.Color3
- _constvars_tra = Mouse.Target.Transparency
- _constvars_typ = Mouse.Target.ClassName
- const_mtobj.Text = "Anchored:".._constvars_text_ank..";CanCollide:".._constvars_text_col..";Opacity:".._constvars_tra..";Type:".._constvars_typ
- elseif Mouse.Target:IsA("Decal") then
- const_mtobj.Text = ";Texture:"..Mouse.Target.Texture..";Opacity:"..Mouse.Target.Transparency..";Type:Decal"
- end
- elseif Mouse.Target == nil or Mouse.Target == false then
- const_mtobj.Text = "NULL; No object!"
- end
- elseif _ison == false then
- const_mtobj.Text = "Syncing.."
- const_mousemode.Visible = false
- end
- if _ison then
- if Mouse.Target then
- if Mouse.Target:IsA("Decal") then
- Mouse.Target.Locked = false
- SELBOX.Adornee = Mouse.Target.Parent
- elseif Mouse.Target:IsA("Decal") == nil or Mouse.Target:IsA("Decal") == false then
- Mouse.Target.Locked = false
- SELBOX.Adornee = Mouse.Target
- end
- elseif Mouse.Target == nil then
- SELBOX.Adornee = nil
- end
- if _mode == 1 then
- SELBOX.Color3 = Color3.fromRGB(13,105,172)
- SELBOX.LineThickness = 0.1
- SELBOX.SurfaceColor3 = Color3.fromRGB(13,105,172)
- SELBOX.SurfaceTransparency = 0.8
- SELBOX.Transparency = 0
- elseif _mode == 2 then
- SELBOX.Color3 = Color3.fromRGB(255,0,0)
- SELBOX.LineThickness = 0.1
- SELBOX.SurfaceColor3 = Color3.fromRGB(255,0,0)
- SELBOX.SurfaceTransparency = 0.8
- SELBOX.Transparency = 0
- elseif _mode == 3 then
- SELBOX.Color3 = Color3.fromRGB(255,0,0)
- SELBOX.LineThickness = 0.1
- SELBOX.SurfaceColor3 = Color3.fromRGB(255,0,0)
- SELBOX.SurfaceTransparency = 0.8
- SELBOX.Transparency = 0
- elseif _mode == 4 then
- SELBOX.Color3 = Color3.fromRGB(13,105,172)
- SELBOX.LineThickness = 0.1
- SELBOX.SurfaceColor3 = Color3.fromRGB(13,105,172)
- SELBOX.SurfaceTransparency = 0.8
- SELBOX.Transparency = 0
- end
- elseif _ison == false then
- SELBOX.Adornee = nil
- end
- if CDITBV.Value == true then
- if _mode == 1 then
- Mouse.Icon = m1_MOUSE_TP_DECALID
- elseif _mode == 2 then
- Mouse.Icon = m2_MOUSE_DEL1_DECALID
- elseif _mode == 3 then
- Mouse.Icon = m3_MOUSE_DEL2_DECALID
- elseif _mode == 4 and Mouse.Target then
- if Mouse.Target and Mouse.Target:IsA("Decal") then
- if Mouse.Target.Parent.Anchored then
- Mouse.Icon = m4_MOUSE_UNANCHOR_DECALID
- elseif Mouse.Target.Parent.Anchored == false then
- Mouse.Icon = m4_MOUSE_ANCHOR_DECALID
- end
- elseif Mouse.Target and Mouse.Target:IsA("Decal") == nil or Mouse.Target:IsA("Decal") == false then
- if Mouse.Target.Anchored then
- Mouse.Icon = m4_MOUSE_UNANCHOR_DECALID
- elseif Mouse.Target.Anchored == false then
- Mouse.Icon = m4_MOUSE_ANCHOR_DECALID
- end
- end
- end
- end
- for i, v in pairs(workspace:GetDescendants()) do
- if v:IsA("SelectionBox") and v.Name == "=== [[ F.O.E ]] ===" then
- if Mouse.Target:IsA("Decal") then
- if Mouse.Target.Parent:FindFirstChild("=== [[ F.O.E ]] ===") and Mouse.Target ~= v then
- Mouse.Target.Parent["=== [[ F.O.E ]] ==="]:Destroy()
- end
- elseif Mouse.Target:IsA("Decal") == nil or Mouse.Target:IsA("Decal") == false then
- if Mouse.Target:FindFirstChild("=== [[ F.O.E ]] ===") and Mouse.Target ~= v then
- Mouse.Target["=== [[ F.O.E ]] ==="]:Destroy()
- end
- end
- end
- end
- end
- TPM2_onclick.MouseButton1Down:Connect(FUNC_isonclickkey)
- TPM2_onclick_2.MouseButton1Down:Connect(FUNC_isonclickkey)
- TPM2_status.MouseButton1Down:Connect(toggleGUIstatus)
- TPM2_modetoggle.MouseButton1Down:Connect(function()
- if _mode == 1 then
- _mode = 2
- TPM2_modetoggle.Text = "Toggle DEL_1 Hotkey"
- TPM2_title.Text = "Mouse Delete(1)"
- elseif _mode == 2 then
- _mode = 3
- TPM2_modetoggle.Text = "Toggle DEL_2 Hotkey"
- TPM2_title.Text = "Mouse Delete(2)"
- elseif _mode == 3 then
- _mode = 4
- TPM2_modetoggle.Text = "Toggle UnAnchor Hotkey"
- TPM2_title.Text = "Mouse UnAnchor"
- elseif _mode == 4 then
- _mode = 1
- TPM2_modetoggle.Text = "Toggle TP Hotkey"
- TPM2_title.Text = "Mouse TP"
- end
- updateScriptGuiStatus()
- end)
- TPM2_modetoggle.MouseButton2Down:Connect(function()
- if _mode == 1 then
- _mode = 4
- TPM2_modetoggle.Text = "Toggle UnAnchor Hotkey"
- TPM2_title.Text = "Mouse UnAnchor"
- elseif _mode == 2 then
- _mode = 1
- TPM2_modetoggle.Text = "Toggle TP Hotkey"
- TPM2_title.Text = "Mouse TP"
- elseif _mode == 3 then
- _mode = 2
- TPM2_modetoggle.Text = "Toggle DEL_1 Hotkey"
- TPM2_title.Text = "Mouse Delete(1)"
- elseif _mode == 4 then
- _mode = 3
- TPM2_modetoggle.Text = "Toggle DEL_2 Hotkey"
- TPM2_title.Text = "Mouse Delete(2)"
- end
- end)
- local posX=TPM2_string_x.Text;local posY=TPM2_string_y.Text;local posZ=TPM2_string_z.Text;local CMID=TPM2_customdecalid.Text;local ATTCMDI=TPM2_string_currentmousedecalid.Text
- local POSX=0;local POSY=0;local POSZ=0
- TPM2_customdecalidtoggle.MouseButton1Down:Connect(function()
- local CDITBVP = TPM2_customdecalidtoggle
- local CDITBVV = CDITBV.Value
- if CDITBV.Value == true then
- CDITBV.Value = false
- CDITBVP.BackgroundColor3 = Color3.fromRGB(170,0,0)
- CDITBVP.BorderColor3 = Color3.fromRGB(170,0,0)
- elseif CDITBV.Value == false then
- CDITBV.Value = true
- CDITBVP.BackgroundColor3 = Color3.fromRGB(0,255,0)
- CDITBVP.BorderColor3 = Color3.fromRGB(0,255,0)
- end
- end)
- TPM2_customdecalidtoggle.MouseButton2Down:Connect(function()
- Mouse.Icon = ""
- end)
- TPM2_currentmousedecalid.MouseButton1Down:Connect(function()
- TPM2_string_currentmousedecalid.Text = Mouse.Icon
- if Mouse.Icon == "" then
- TPM2_string_currentmousedecalid.Text = "Default"
- end
- end)
- BD2_min.MouseButton1Down:Connect(function()
- Braindead.Visible = false
- end)
- UIS.InputBegan:Connect(function(Input, gameProcessed)
- updateScriptGuiStatus()
- local _inputvars_totogglecore = false
- if const_ison.Visible then
- _inputvars_totogglecore = true
- elseif const_ison.Visible == false then
- _inputvars_totogglecore = false
- end
- local X = TPM2_string_x.Text;local nX = 0
- local Y = TPM2_string_y.Text;local nY = 0
- local Z = TPM2_string_z.Text;local nZ = 0
- local notNILTarget = true
- local input = Input.KeyCode
- local _tg = string.upper(string.sub(TPM2_string_tgh.Text,1,1))
- local _tf = string.upper(string.sub(TPM2_string_tkch.Text,1,1))
- if input == Enum.KeyCode.Insert then
- for i, v in ipairs(cores) do
- if _inputvars_totogglecore then
- v.Visible = false
- elseif _inputvars_totogglecore == false then
- v.Visible = true
- end
- end
- end
- if X == "" or X == " " then
- nX = 0
- elseif tonumber(X) then
- nX = X
- end
- if Y == "" or Y == " " then
- nY = 0
- elseif tonumber(Y) then
- nY = Y
- end
- if Z == "" or Z == " " then
- nZ = 0
- elseif tonumber(Z) then
- nZ = Z
- end
- if input == Enum.KeyCode[_tg] and UIS:GetFocusedTextBox() == nil then
- if Scripteria.Visible then
- Scripteria.Visible = false
- Braindead.Visible = false
- elseif Scripteria.Visible == false then
- Scripteria.Visible = true
- end
- end
- if _ison then
- if UIS:GetFocusedTextBox() == nil or UIS:GetFocusedTextBox() == false then
- if Input.UserInputType == Enum.UserInputType.Keyboard then
- if input == Enum.KeyCode[_tf] and Scripteria.Visible == false then
- if _isonclick then
- if _istping then
- _istping = false
- const_ison.Text = "Disabled"..":"..vars_ison_CK_text..":"..vars_ison_mode_text
- const_ison.BackgroundColor3 = Color3.fromRGB(170,0,0)
- const_ison.BorderColor3 = Color3.fromRGB(170,0,0)
- elseif _istping == false then
- _istping = true
- const_ison.Text = "Enabled"..":"..vars_ison_CK_text..":"..vars_ison_mode_text
- const_ison.BackgroundColor3 = Color3.fromRGB(0,255,0)
- const_ison.BorderColor3 = Color3.fromRGB(0,255,0)
- end
- end
- if _isonkey and Mouse.Target then
- if _mode == 1 and Player.Character:FindFirstChild("HumanoidRootPart") then
- Player.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(Mouse.Hit.X+nX, Mouse.Hit.Y+nY, Mouse.Hit.Z+nZ))
- end
- if _mode == 2 then
- Mouse.Target:Destroy()
- end
- if _mode == 3 then
- if Mouse.Target ~= nil then
- if Mouse.Target:IsA("Texture") then
- Mouse.Target.Parent.CanCollide = false
- Mouse.Target.Transparency = 1
- Mouse.Target.Parent.Size = Vector3.new(0,0,0)
- notNILTarget = false
- elseif Mouse.Target == nil then
- notNILTarget = false
- elseif notNILTarget then
- Mouse.Target.CanCollide = false
- Mouse.Target.Transparency = 1
- Mouse.Target.Size = Vector3.new(0,0,0)
- end
- elseif Mouse.Target == nil then
- return
- end
- end
- if _mode == 4 then
- if Mouse.Target:IsA("Texture") then
- if Mouse.Target.Parent.Anchored then
- Mouse.Target.Parent.Anchored = false
- elseif Mouse.Target.Parent.Anchored == false then
- Mouse.Target.Parent.Anchored = true
- end
- elseif Mouse.Target:IsA("Texture") == nil or Mouse.Target:IsA("Texture") == false then
- if Mouse.Target.Anchored then
- Mouse.Target.Anchored = false
- elseif Mouse.Target.Anchored == false then
- Mouse.Target.Anchored = true
- end
- end
- end
- end
- end
- end
- if Input.UserInputType == Enum.UserInputType.MouseButton1 and Scripteria.Visible == false then
- if _isonclick and Mouse.Target then
- if _mode == 1 and _istping then
- Player.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(Mouse.Hit.X+nX, Mouse.Hit.Y+nY, Mouse.Hit.Z+nZ))
- end
- if _mode == 2 then
- Mouse.Target:Destroy()
- end
- if _mode == 3 then
- if Mouse.Target ~= nil then
- if Mouse.Target:IsA("Texture") then
- Mouse.Target.CanCollide = false
- Mouse.Target.Transparency = 1
- Mouse.Target.Parent.Size = Vector3.new(0,0,0)
- notNILTarget = false
- elseif Mouse.Target == nil then
- notNILTarget = false
- elseif notNILTarget then
- Mouse.Target.CanCollide = false
- Mouse.Target.Transparency = 1
- Mouse.Target.Size = Vector3.new(0,0,0)
- end
- elseif Mouse.Target == nil then
- return
- end
- end
- if _mode == 4 then
- if Mouse.Target:IsA("Texture") then
- if Mouse.Target.Parent.Anchored then
- Mouse.Target.Parent.Anchored = false
- elseif Mouse.Target.Parent.Anchored == false then
- Mouse.Target.Parent.Anchored = true
- end
- elseif Mouse.Target:IsA("Texture") == nil or Mouse.Target:IsA("Texture") == false then
- if Mouse.Target.Anchored then
- Mouse.Target.Anchored = false
- elseif Mouse.Target.Anchored == false then
- Mouse.Target.Anchored = true
- end
- end
- end
- end
- end
- end
- end
- end)
- RS.RenderStepped:Connect(FUNC_gameRS)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement