Advertisement
1x11337

Toytale Rp esp items roblox

Apr 14th, 2023 (edited)
1,173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.18 KB | None | 0 0
  1. -- esp eggs or capsules thing --
  2.  
  3. function ESP(part)
  4.     local Gui = Instance.new("BillboardGui", part)
  5.     Gui.Size = UDim2.new(1,0,1,0)
  6.     Gui.AlwaysOnTop = true
  7.     Gui.Name = "ESP"
  8.     local Frame = Instance.new("Frame", Gui)
  9.     Frame.BackgroundColor3 = Color3.fromRGB(255,80,60)
  10.     Frame.BackgroundTransparency = 0.75
  11.     Frame.Size = UDim2.new(1,0,1,0)
  12.     Frame.BorderSizePixel = 0
  13.     local name = Instance.new("BillboardGui", part)
  14.     name.Size = UDim2.new(3,0,1.5,0)
  15.     name.SizeOffset = Vector2.new(0,1)
  16.     name.AlwaysOnTop = true
  17.     name.Name = "Name"
  18.     local text = Instance.new("TextLabel", name)
  19.     text.Text = part:WaitForChild("Interaction").Action.Value
  20.     text.TextColor3 = Color3.fromRGB(255,80,60)
  21.     text.TextTransparency = 0.25
  22.     text.BackgroundTransparency = 1
  23.     text.TextScaled = true
  24.     text.Size = UDim2.new(1,0,1,0)
  25.     text.Font = Enum.Font.GothamSemibold
  26.     text.Name = "TextName"
  27. end
  28.  
  29. for _,v in pairs(workspace.Eggs.Eggs:GetChildren()) do
  30.     if v:IsA("Model") ~= nil then
  31.         ESP(v)
  32.     end
  33. end
  34.  
  35.  
  36. workspace.Eggs.Eggs.ChildAdded:Connect(function(v)
  37.     if v:IsA("Model") then
  38.         ESP(v)
  39.     end
  40. end)
  41.  
  42. -- the end --
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement