The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Guest
World of Magic script pastebin roblox
By LINK GAME on 2024-09-18 08:00 am | Syntax: LUA | Views: 12



New Script | Raw | Show/Hide line no. | Copy text to clipboard
  1. local player = game.Players.LocalPlayer  local Melee = "Old Spear"-- Put your melee here/Здесь РІ ближнем Р±РѕСЋ  local Ability = "Throw"--Put your ability here/Положите СЃРІРѕРё способности СЃСЋРґР°  local RandomPos = {Vector3.new(-13242,128,-3107),Vector3.new(-11954,150,-6034),Vector3.new(-11068,128,-5875),Vector3.new(-13469,128,-3114),Vector3.new(-16683,128,-1944),Vector3.new(-16640,181,-4196),Vector3.new(-17479,139,-4172),Vector3.new(-20087,133,-6945),Vector3.new(-13374,216,-5026),Vector3.new(-13272,139,-4484)}  if player.Backpack:FindFirstChild(Melee) then  player.Character.Humanoid:EquipTool(player.Backpack:FindFirstChild(Melee))  end  local speed = 1000  local bodyvelocityenabled = true  local Imput = game:GetService("UserInputService")  local Plr = game.Players.LocalPlayer  local Mouse = Plr:GetMouse()  local vu = game:GetService("VirtualUser")  game:GetService("Players").LocalPlayer.Idled:connect(function()    vu:Button2Down(Vector2.new(0,0),workspace.CurrentCamera.CFrame)    wait(1)    vu:Button2Up(Vector2.new(0,0),workspace.CurrentCamera.CFrame)  end)  function To(position)  local Chr = Plr.Character  if Chr ~= nil then  local ts = game:GetService("TweenService")  local char = game.Players.LocalPlayer.Character  local hm = char.HumanoidRootPart  local dist = (hm.Position - Mouse.Hit.p).magnitude  local tweenspeed = dist/tonumber(speed)  local ti = TweenInfo.new(tonumber(tweenspeed), Enum.EasingStyle.Linear)  local tp = {CFrame = CFrame.new(position)}  ts:Create(hm, ti, tp):Play()  if bodyvelocityenabled == true then  local bv = Instance.new("BodyVelocity")  bv.Parent = hm  bv.MaxForce = Vector3.new(100000,100000,100000)  bv.Velocity = Vector3.new(0,0,0)  wait(tonumber(tweenspeed))  bv:Destroy()  end  end  end  for _,NPC in pairs(workspace.NPCs:GetChildren()) do  if NPC.Name == "Minotaur" or NPC.Name == "The Exiled" then  pcall(function()    To(NPC.HumanoidRootPart.Position)    if player.Backpack:FindFirstChild(Melee) then        player.Character.Humanoid:EquipTool(player.Backpack:FindFirstChild(Melee))    end    local A_1 = game:GetService("Workspace")[game.Players.LocalPlayer.Name]    local A_2 = NPC    local A_3 = game:GetService("Workspace")[game.Players.LocalPlayer.Name][Melee]    local A_4 = Ability    local Event = game:GetService("ReplicatedStorage").RS.Remotes.Combat.DealWeaponDamage    repeat wait() Event:FireServer(A_1, A_2, A_3, A_4) To(NPC.HumanoidRootPart.Position) until NPC.Attributes.Health.Value == 0 or NPC == nil     wait(1)     To(RandomPos[math.random(1,#RandomPos)])  end)  end  end  workspace.NPCs.ChildAdded:Connect(function(NPC)  if NPC.Name == "Minotaur" or NPC.Name == "The Exiled" then  pcall(function()    repeat wait() until NPC:FindFirstChild("HumanoidRootPart")    To(NPC.HumanoidRootPart.Position)    if player.Backpack:FindFirstChild(Melee) then        player.Character.Humanoid:EquipTool(player.Backpack:FindFirstChild(Melee))    end    local A_1 = game:GetService("Workspace")[game.Players.LocalPlayer.Name]    local A_2 = NPC    local A_3 = game:GetService("Workspace")[game.Players.LocalPlayer.Name][Melee]    local A_4 = Ability  --PUT YOUR MELEE ABILITY NAME HERE/ПОМЕСТР?РўР• РЎР’РћР• Р?РњРЇ СПОСОБНОСТР? БЛР?ЖНЕГО БОЯ ЗДЕСЬ    local Event = game:GetService("ReplicatedStorage").RS.Remotes.Combat.DealWeaponDamage    repeat wait() Event:FireServer(A_1, A_2, A_3, A_4) To(NPC.HumanoidRootPart.Position) until NPC.Attributes.Health.Value == 0 or NPC == nil     wait(1)     To(RandomPos[math.random(1,#RandomPos)])  end)  end end)