Advertisement
MrFacysus

Magic Simulator GUI

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