squidingtin

the rake script

Apr 16th, 2019
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.85 KB | None | 0 0
  1.     local Location = 0 --1 = beast 0 = station
  2. if Location == 0 then
  3.     hrp = game.Workspace.PowerStation.StationFolder.StationGUIPart
  4. elseif Location == 1 then
  5.     hrp = game.Workspace.Rake.HumanoidRootPart
  6. end
  7.     local Locate = hrp:FindFirstChild("ESP")
  8. if Locate == nil then
  9.     local board = Instance.new("BillboardGui",hrp)
  10.         board.Name = "ESP"
  11.         board.Size = UDim2.new(1,0,1,0)
  12.         board.StudsOffset = Vector3.new(3,1,0)
  13.         board.AlwaysOnTop = true
  14.     local bar = Instance.new("Frame",board) --//Creates the red background
  15.         bar.BorderSizePixel = 0
  16.         bar.Size = UDim2.new(25,0,25,0)
  17.         bar.Name = "Frame"
  18.     if Location == 1 then
  19.         bar.BackgroundColor3 = Color3.new(255,0,0) --Beast
  20.         bar.Transparency = .5 --Beast
  21.     elseif Location == 0 then
  22.         bar.Transparency = .9 --Power
  23.         bar.BackgroundColor3 = Color3.new(0,0,255) --Power
  24.     end
  25. else
  26.     hrp.ESP:Destroy()
  27. end
Add Comment
Please, Sign In to add comment