Advertisement
Runixer

Untitled

Apr 10th, 2020
405
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.99 KB | None | 0 0
  1. --[[
  2. Script by Uctron
  3. V3rmillion | https://v3rmillion.net/member.php?action=profile&uid=698785
  4.  
  5. You may use this method (if you understand how it would work) if you want to make Simon Says scripts, but please credit me.
  6. ]]
  7.  
  8. local Gui = Instance.new("ScreenGui")
  9. local Frame = Instance.new("Frame")
  10. local RectangleTool = Instance.new("Tool")
  11. local Handle = Instance.new("Part")
  12.  
  13. Handle.Name = "Handle"
  14. Handle.Transparency = 1
  15. Handle.Parent = RectangleTool
  16.  
  17. Frame.BackgroundColor3 = Color3.fromRGB(255,128,0)
  18. Frame.BackgroundTransparency = .625
  19. Frame.BorderColor3 = Color3.fromRGB(0,255,0)
  20. Frame.BorderSizePixel = 2
  21. Frame.Size = UDim2.new(.5,0,.5,0)
  22. Frame.Position = UDim2.new(.5,0,.5,0)
  23. Frame.Visible = false
  24. Frame.Parent = Gui
  25. Gui.Parent = game.Players.LocalPlayer.PlayerGui
  26.  
  27. RectangleTool.Equipped:Connect(function()
  28. Frame.Visible = true
  29. end)
  30.  
  31. RectangleTool.Unequipped:Connect(function()
  32. Frame.Visible = false
  33. end)
  34.  
  35. RectangleTool.Name = "FE Rectangle Tool"
  36. RectangleTool.Parent = game.Players.LocalPlayer.Backpack
  37.  
  38. spawn(function()
  39. repeat game.RunService.Heartbeat:Wait()
  40. if MouseDown then
  41. if game.Players.LocalPlayer:GetMouse().X > (game.Players.LocalPlayer:GetMouse().ViewSizeX/2) and game.Players.LocalPlayer:GetMouse().Y > (game.Players.LocalPlayer:GetMouse().ViewSizeY/2) and game.Players.LocalPlayer.Character:FindFirstChild("FE Rectangle Tool") then
  42. workspace.BasicCommand:FireServer(nil, string.rep("\n"..string.rep("█", (game.Players.LocalPlayer:GetMouse().X/7)-(game.Players.LocalPlayer:GetMouse().ViewSizeX/2)/7),(game.Players.LocalPlayer:GetMouse().Y/10)-((game.Players.LocalPlayer:GetMouse().ViewSizeY/2)/9.25)), .25, nil, nil, nil)
  43. end
  44. wait(.25)
  45. end
  46. until game.Players.LocalPlayer.Character.Humanoid.Health == 0
  47. end)
  48. repeat game.RunService.Heartbeat:Wait()
  49. game.Players.LocalPlayer:GetMouse().Button1Down:Wait()
  50. MouseDown = true
  51. game.Players.LocalPlayer:GetMouse().Button1Up:Wait()
  52. MouseDown = false
  53. until game.Players.LocalPlayer.Character.Humanoid.Health == 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement