Advertisement
SomeLuaCScripter

magic simulator script

Nov 10th, 2018
5,447
-1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.68 KB | None | 0 1
  1. warn("Creted By FunTrat0r#0020")
  2.  
  3. local uc = Instance.new("ScreenGui")
  4. local main = Instance.new("Frame")
  5. local farm = Instance.new("TextButton")
  6. local unlockall = Instance.new("TextButton")
  7. local spellname = Instance.new("TextBox")
  8. local autocrate = Instance.new("TextButton")
  9. local TextLabel = Instance.new("TextLabel")
  10. local mosname = Instance.new("TextBox")
  11. local cratename = Instance.new("TextBox")
  12. local farm2 = Instance.new("TextButton")
  13. local antiafk = Instance.new("TextButton")
  14.  
  15. uc.Name = "uc"
  16. uc.Parent = game.CoreGui
  17.  
  18. main.Name = "main"
  19. main.Parent = uc
  20. main.Active = true
  21. main.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.141176)
  22. main.BackgroundTransparency = 0.69999998807907
  23. main.BorderSizePixel = 0
  24. main.Position = UDim2.new(0.140845045, 0, 0.297752798, 0)
  25. main.Size = UDim2.new(0, 177, 0, 130)
  26.  
  27. farm.Name = "farm"
  28. farm.Parent = main
  29. farm.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.141176)
  30. farm.BackgroundTransparency = 0.20000000298023
  31. farm.BorderSizePixel = 0
  32. farm.Position = UDim2.new(0.0350440927, 0, 0.261758178, 0)
  33. farm.Size = UDim2.new(0, 78, 0, 15)
  34. farm.Font = Enum.Font.Fantasy
  35. farm.Text = "Auto Farm"
  36. farm.TextColor3 = Color3.new(1, 1, 1)
  37. farm.TextSize = 14
  38.  
  39. unlockall.Name = "unlockall"
  40. unlockall.Parent = main
  41. unlockall.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.141176)
  42. unlockall.BackgroundTransparency = 0.20000000298023
  43. unlockall.BorderSizePixel = 0
  44. unlockall.Position = UDim2.new(0.0350436643, 0, 0.441318691, 0)
  45. unlockall.Size = UDim2.new(0, 78, 0, 15)
  46. unlockall.Font = Enum.Font.Fantasy
  47. unlockall.Text = "Unlock All"
  48. unlockall.TextColor3 = Color3.new(1, 1, 1)
  49. unlockall.TextSize = 14
  50.  
  51. spellname.Name = "spellname"
  52. spellname.Parent = main
  53. spellname.BackgroundColor3 = Color3.new(0, 0, 0)
  54. spellname.BackgroundTransparency = 0.20000000298023
  55. spellname.BorderSizePixel = 0
  56. spellname.Position = UDim2.new(0.0395480208, 0, 0.0514285751, 0)
  57. spellname.Size = UDim2.new(0, 77, 0, 15)
  58. spellname.Font = Enum.Font.Fantasy
  59. spellname.Text = "Spell Name"
  60. spellname.TextColor3 = Color3.new(1, 1, 1)
  61. spellname.TextSize = 14
  62.  
  63. autocrate.Name = "autocrate"
  64. autocrate.Parent = main
  65. autocrate.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.141176)
  66. autocrate.BackgroundTransparency = 0.20000000298023
  67. autocrate.BorderSizePixel = 0
  68. autocrate.Position = UDim2.new(0.23843348, 0, 0.809890032, 0)
  69. autocrate.Size = UDim2.new(0, 92, 0, 15)
  70. autocrate.Font = Enum.Font.Fantasy
  71. autocrate.Text = "Auto Crate"
  72. autocrate.TextColor3 = Color3.new(1, 1, 1)
  73. autocrate.TextSize = 14
  74.  
  75. TextLabel.Parent = main
  76. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  77. TextLabel.BackgroundTransparency = 1
  78. TextLabel.Position = UDim2.new(0.526569486, 0, 0.996703148, 0)
  79. TextLabel.Size = UDim2.new(0, 83, 0, 10)
  80. TextLabel.Font = Enum.Font.Fantasy
  81. TextLabel.Text = "DarkDevs.Pro"
  82. TextLabel.TextColor3 = Color3.new(1, 0.992157, 1)
  83. TextLabel.TextSize = 14
  84.  
  85. mosname.Name = "mosname"
  86. mosname.Parent = main
  87. mosname.BackgroundColor3 = Color3.new(0, 0, 0)
  88. mosname.BackgroundTransparency = 0.20000000298023
  89. mosname.BorderSizePixel = 0
  90. mosname.Position = UDim2.new(0.518514574, 0, 0.0514285751, 0)
  91. mosname.Size = UDim2.new(0, 77, 0, 15)
  92. mosname.Font = Enum.Font.Fantasy
  93. mosname.Text = "Mons Name"
  94. mosname.TextColor3 = Color3.new(1, 1, 1)
  95. mosname.TextSize = 14
  96.  
  97. cratename.Name = "cratename"
  98. cratename.Parent = main
  99. cratename.BackgroundColor3 = Color3.new(0, 0, 0)
  100. cratename.BackgroundTransparency = 0.20000000298023
  101. cratename.BorderSizePixel = 0
  102. cratename.Position = UDim2.new(0.23843348, 0, 0.634065866, 0)
  103. cratename.Size = UDim2.new(0, 92, 0, 15)
  104. cratename.Font = Enum.Font.Fantasy
  105. cratename.Text = "Crate Name"
  106. cratename.TextColor3 = Color3.new(1, 1, 1)
  107. cratename.TextSize = 14
  108.  
  109. farm2.Name = "farm2"
  110. farm2.Parent = main
  111. farm2.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.141176)
  112. farm2.BackgroundTransparency = 0.20000000298023
  113. farm2.BorderSizePixel = 0
  114. farm2.Position = UDim2.new(0.526569545, 0, 0.261758178, 0)
  115. farm2.Size = UDim2.new(0, 75, 0, 15)
  116. farm2.Font = Enum.Font.Fantasy
  117. farm2.Text = "Auto Farm 2"
  118. farm2.TextColor3 = Color3.new(1, 1, 1)
  119. farm2.TextSize = 14
  120.  
  121. antiafk.Name = "antiafk"
  122. antiafk.Parent = main
  123. antiafk.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.141176)
  124. antiafk.BackgroundTransparency = 0.20000000298023
  125. antiafk.BorderSizePixel = 0
  126. antiafk.Position = UDim2.new(0.526569545, 0, 0.441318691, 0)
  127. antiafk.Size = UDim2.new(0, 75, 0, 15)
  128. antiafk.Font = Enum.Font.Fantasy
  129. antiafk.Text = "Anti-Afk"
  130. antiafk.TextColor3 = Color3.new(1, 1, 1)
  131. antiafk.TextSize = 14
  132.  
  133. --Scripts
  134.  
  135. main.Draggable = true
  136.  
  137. farm.MouseButton1Down:connect(function()
  138. _G.loc = true
  139. while _G.loc do
  140. for i, v in pairs(game.Workspace.Monsters:GetChildren()) do
  141. if v.Name == mosname.Text then
  142. for _,b in pairs (v:GetChildren()) do
  143. if b.Name == "HumanoidRootPart" then
  144. local D_1 = spellname.Text
  145. local D_2 = Vector3.new(b.Position)
  146. local Event = game:GetService("ReplicatedStorage").SpellUsed
  147. Event:FireServer(D_1, D_2)
  148. wait()
  149. local S_1 = spellname.Text
  150. local S_2 = b
  151. local S_3 = Vector3.new(b.Position)
  152. local Event = game:GetService("ReplicatedStorage").Hit
  153. Event:FireServer(S_1, S_2, S_3)
  154. wait(0.04)
  155. end
  156. end
  157. end
  158. end
  159. end
  160. end)
  161.  
  162. unlockall.MouseButton1Down:connect(function()
  163. for _, v in pairs(game.Workspace.Doors:GetChildren()) do
  164. v:Destroy()
  165. end
  166. end)
  167.  
  168. autocrate.MouseButton1Down:connect(function()
  169. local A_1 = cratename.Text
  170. local Event = game:GetService("ReplicatedStorage").OpenCrate
  171. Event:InvokeServer(A_1)
  172. end)
  173.  
  174. farm2.MouseButton1Down:connect(function()
  175. _G.lock = true
  176. while _G.lock do
  177. for i, v in pairs(game.Workspace.Monsters:GetChildren()) do
  178. if v.Name == mosname.Text then
  179. for _,b in pairs (v:GetChildren()) do
  180. if b.Name == "HumanoidRootPart" then
  181. local D_1 = "Fireball"
  182. local D_2 = Vector3.new(b.Position)
  183. local Event = game:GetService("ReplicatedStorage").SpellUsed
  184. Event:FireServer(D_1, D_2)
  185. local K_1 = "Waterball"
  186. local K_2 = Vector3.new(b.Position)
  187. local Event = game:GetService("ReplicatedStorage").SpellUsed
  188. Event:FireServer(K_1, K_2)
  189. wait()
  190. local A_1 = "Waterball"
  191. local A_2 = b
  192. local A_3 = Vector3.new(b.Position)
  193. local Event = game:GetService("ReplicatedStorage").Hit
  194. Event:FireServer(A_1, A_2, A_3)
  195. local S_1 = "Fireball"
  196. local S_2 = b
  197. local S_3 = Vector3.new(b.Position)
  198. local Event = game:GetService("ReplicatedStorage").Hit
  199. Event:FireServer(S_1, S_2, S_3)
  200. wait(0.04)
  201. end
  202. end
  203. end
  204. end
  205. end
  206. end)
  207.  
  208. antiafk.MouseButton1Down:connect(function()
  209. while true do
  210. wait(7)
  211. local yeet = Instance.new("Part")
  212. yeet.Position = Vector3.new(89, 220, 0.04)
  213. yeet.Parent = game.Workspace
  214. yeet.Anchored = true
  215. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(89, 225, 0.04))
  216. end
  217. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement