MrFacysus

Magic Simulator GUI

Nov 15th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.98 KB | None | 0 0
  1. -- Instances:
  2. wait(5)
  3. Nickname = "Noobzy11" -- Change this to your roblox name.
  4.  
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local Frame = Instance.new("Frame")
  8. local Button1 = Instance.new("TextButton")
  9. local Button2 = Instance.new("TextButton")
  10. local Button3 = Instance.new("TextButton")
  11. local Button4 = Instance.new("TextButton")
  12. local Frame_2 = Instance.new("Frame")
  13. local Button7 = Instance.new("TextButton")
  14. local Button6 = Instance.new("TextButton")
  15. local Button5 = Instance.new("TextButton")
  16.  
  17. --Properties:
  18.  
  19. ScreenGui.Parent = game.Players:FindFirstChild(Nickname):WaitForChild("PlayerGui")
  20.  
  21. Frame.Parent = ScreenGui
  22. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  23. Frame.Position = UDim2.new(0.697791219, 0, 0.50293541, 0)
  24. Frame.Size = UDim2.new(0, 370, 0, 64)
  25.  
  26. Button1.Name = "Button1"
  27. Button1.Parent = ScreenGui
  28. Button1.BackgroundColor3 = Color3.new(1, 1, 1)
  29. Button1.Position = UDim2.new(0.705823302, 0, 0.516634047, 0)
  30. Button1.Size = UDim2.new(0, 54, 0, 50)
  31. Button1.Font = Enum.Font.SourceSans
  32. Button1.Text = "1"
  33. Button1.TextColor3 = Color3.new(0, 0, 0)
  34. Button1.TextSize = 14
  35.  
  36. Button2.Name = "Button2"
  37. Button2.Parent = ScreenGui
  38. Button2.BackgroundColor3 = Color3.new(1, 1, 1)
  39. Button2.Position = UDim2.new(0.778112471, 0, 0.516634047, 0)
  40. Button2.Size = UDim2.new(0, 54, 0, 50)
  41. Button2.Font = Enum.Font.SourceSans
  42. Button2.Text = "2"
  43. Button2.TextColor3 = Color3.new(0, 0, 0)
  44. Button2.TextSize = 14
  45.  
  46. Button3.Name = "Button3"
  47. Button3.Parent = ScreenGui
  48. Button3.BackgroundColor3 = Color3.new(1, 1, 1)
  49. Button3.Position = UDim2.new(0.852409661, 0, 0.516634047, 0)
  50. Button3.Size = UDim2.new(0, 54, 0, 50)
  51. Button3.Font = Enum.Font.SourceSans
  52. Button3.Text = "3"
  53. Button3.TextColor3 = Color3.new(0, 0, 0)
  54. Button3.TextSize = 14
  55.  
  56. Button4.Name = "Button4"
  57. Button4.Parent = ScreenGui
  58. Button4.BackgroundColor3 = Color3.new(1, 1, 1)
  59. Button4.Position = UDim2.new(0.923694789, 0, 0.516634047, 0)
  60. Button4.Size = UDim2.new(0, 54, 0, 50)
  61. Button4.Font = Enum.Font.SourceSans
  62. Button4.Text = "4"
  63. Button4.TextColor3 = Color3.new(0, 0, 0)
  64. Button4.TextSize = 14
  65.  
  66. Frame_2.Parent = ScreenGui
  67. Frame_2.BackgroundColor3 = Color3.new(1, 1, 1)
  68. Frame_2.Position = UDim2.new(0.736947894, 0, 0.653620362, 0)
  69. Frame_2.Size = UDim2.new(0, 290, 0, 62)
  70.  
  71. Button7.Name = "Button7"
  72. Button7.Parent = ScreenGui
  73. Button7.BackgroundColor3 = Color3.new(1, 1, 1)
  74. Button7.Position = UDim2.new(0.8766734, 0, 0.663973212, 0)
  75. Button7.Size = UDim2.new(0, 54, 0, 50)
  76. Button7.Font = Enum.Font.SourceSans
  77. Button7.Text = "7"
  78. Button7.TextColor3 = Color3.new(0, 0, 0)
  79. Button7.TextSize = 14
  80.  
  81. Button6.Name = "Button6"
  82. Button6.Parent = ScreenGui
  83. Button6.BackgroundColor3 = Color3.new(1, 1, 1)
  84. Button6.Position = UDim2.new(0.813476145, 0, 0.663973212, 0)
  85. Button6.Size = UDim2.new(0, 54, 0, 50)
  86. Button6.Font = Enum.Font.SourceSans
  87. Button6.Text = "6"
  88. Button6.TextColor3 = Color3.new(0, 0, 0)
  89. Button6.TextSize = 14
  90.  
  91. Button5.Name = "Button5"
  92. Button5.Parent = ScreenGui
  93. Button5.BackgroundColor3 = Color3.new(1, 1, 1)
  94. Button5.Position = UDim2.new(0.747657299, 0, 0.663973212, 0)
  95. Button5.Size = UDim2.new(0, 54, 0, 50)
  96. Button5.Font = Enum.Font.SourceSans
  97. Button5.Text = "5"
  98. Button5.TextColor3 = Color3.new(0, 0, 0)
  99. Button5.TextSize = 14
  100.  
  101. -- Scripts:
  102.  
  103. Button1.MouseButton1Down:connect(function()
  104.  
  105.     Slime = game:GetService("Workspace").Monsters:WaitForChild("Slime")
  106.     Slime.Head.CFrame = game:GetService("Workspace"):FindFirstChild(Nickname).UpperTorso.CFrame
  107.     Slime.Head.Anchored = true
  108. end
  109. )
  110.  
  111. Button2.MouseButton1Down:connect(function()
  112.  
  113.     AngrySlime = game:GetService("Workspace").Monsters:WaitForChild("Angry Slime")
  114.     AngrySlime.Head.CFrame = game:GetService("Workspace"):FindFirstChild(Nickname).UpperTorso.CFrame
  115.     AngrySlime.Head.Anchored = true
  116. end
  117. )
  118.  
  119. Button3.MouseButton1Down:connect(function()
  120.  
  121.     Mushroom = game:GetService("Workspace").Monsters:WaitForChild("Mushroom")
  122.     Mushroom.Head.CFrame = game:GetService("Workspace"):FindFirstChild(Nickname).UpperTorso.CFrame
  123.     Mushroom.Head.Anchored = true
  124. end
  125. )
  126.  
  127. Button4.MouseButton1Down:connect(function()
  128.  
  129.     PMushroom = game:GetService("Workspace").Monsters:WaitForChild("Poisonous Mushroom")
  130.     PMushroom.Head.CFrame = game:GetService("Workspace"):FindFirstChild(Nickname).UpperTorso.CFrame
  131.     PMushroom.Head.Anchored = true
  132.  
  133. end
  134. )
  135.  
  136. Button5.MouseButton1Down:connect(function()
  137.  
  138.     Snowman = game:GetService("Workspace").Monsters:WaitForChild("Snowman")
  139.     Snowman.Head.CFrame = game:GetService("Workspace"):FindFirstChild(Nickname).UpperTorso.CFrame
  140.     Snowman.Head.Anchored = true
  141. end
  142. )
  143. Button6.MouseButton1Down:connect(function()
  144.     Zombie = game:GetService("Workspace").Monsters:WaitForChild("Zombie")
  145.     Zombie.Head.CFrame = game:GetService("Workspace"):FindFirstChild(Nickname).UpperTorso.CFrame
  146.     Zombie.Head.Anchored = true
  147. end
  148. )
  149.  
  150. Button7.MouseButton1Down:connect(function()
  151.  
  152.     Demon = game:GetService("Workspace").Monsters:WaitForChild("Demon")
  153.     Demon.Head.CFrame = game:GetService("Workspace"):FindFirstChild(Nickname).UpperTorso.CFrame
  154.     Demon.Head.Anchored = true
  155. end
  156. )
Add Comment
Please, Sign In to add comment