Advertisement
VoxInABoxFullOfFoxes

Identity Fraud: FE Draw

Jan 10th, 2025 (edited)
926
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.66 KB | Gaming | 0 0
  1. -- Loadstring: loadstring(game:HttpGet("https://pastebin.com/raw/aGdhCevn"))()
  2. -- Note: If your mouse cursor doesn't show on the screen, try opening and then closing the game menu. Stay close to the target point you want to draw on, as there is a range limit for placing a marker. Too much markers may lag everyone
  3.  
  4. local StarterGui = game:GetService("StarterGui")
  5.  
  6. local Client = game:GetService("Players").LocalPlayer
  7. local Mouse = Client:GetMouse()
  8. local MarkRemoteEvent = game:GetService("ReplicatedStorage"):WaitForChild("Mark")
  9.  
  10. local CurrentDrawTool
  11. local MouseButton1Down = game:GetService("UserInputService"):IsMouseButtonPressed(Enum.UserInputType.MouseButton1)
  12.  
  13. Mouse.Button1Down:Connect(function()
  14.     MouseButton1Down = true
  15. end)
  16.  
  17. Mouse.Button1Up:Connect(function()
  18.     MouseButton1Down = false
  19. end)
  20.  
  21. game:GetService("RunService").Heartbeat:Connect(function()
  22.     StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, true)
  23.     if CurrentDrawTool and CurrentDrawTool.Parent == Client.Character and MouseButton1Down then
  24.         MarkRemoteEvent:FireServer(Mouse.Hit)
  25.     end
  26. end)
  27.  
  28. function CreateDrawTool()
  29.     local character = Client.Character
  30.     local backpack = Client:WaitForChild("Backpack")
  31.    
  32.     if not CurrentDrawTool or (CurrentDrawTool.Parent ~= backpack and (not character or CurrentDrawTool.Parent ~= character)) then
  33.         local drawTool = Instance.new("Tool")
  34.         drawTool.CanBeDropped = false
  35.         drawTool.RequiresHandle = false
  36.         drawTool.ToolTip = "Scribble Scribble!"
  37.         drawTool.Name = "Draw"
  38.         drawTool.Parent = backpack
  39.  
  40.         CurrentDrawTool = drawTool
  41.     end
  42. end
  43.  
  44. Client.CharacterAdded:Connect(CreateDrawTool)
  45. if Client.Character then
  46.     CreateDrawTool()
  47. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement