Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plrs = game:GetService'Players'
- local plr = plrs.LocalPlayer
- local rs = game:GetService'RunService'
- local mouse = plr:GetMouse()
- local uis = game:GetService'UserInputService'
- local walkSpeed
- local function Notify(title,text,duration)
- game:GetService'StarterGui':SetCore('SendNotification',{
- Title = tostring(title),
- Text = tostring(text),
- Duration = tonumber(duration),
- })
- end
- Notify('Made by KAKOYTO_LOXX','Ctrl+clicl - tp\nv - kill all (equip sword)\nshift - more speed',10)
- local safe = Instance.new('Part',workspace)
- safe.Name = 'SafePart'
- safe.Anchored = true
- safe.Size = Vector3.new(2048,1,2048)
- safe.CFrame = CFrame.new(186,246,0)
- safe.Transparency = 0.5
- pcall(function()
- for _,v in next,workspace.WaterParts:GetChildren() do
- v:Destroy()
- end
- end)
- mouse.KeyDown:connect(function(key)
- if key == 'v' then
- for _,v in next,plrs:GetPlayers() do
- pcall(function()
- if v~=plr and (v.Team~=plr.Team or v.Team == game:GetService'Teams'['Not Playing']) and v.Character and plr.Character:FindFirstChild'Sword' then
- plr.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame
- wait(0.3)
- end
- end)
- end
- end
- end)
- mouse.Button1Down:connect(function()
- if not uis:IsKeyDown(Enum.KeyCode.LeftControl) then
- return
- end
- if not mouse.Hit then
- return
- end
- if plr.Character and plr.Character:FindFirstChild'HumanoidRootPart' then
- plr.Character:FindFirstChild'HumanoidRootPart'.CFrame = mouse.Hit + Vector3.new(0,4,0)
- end
- end)
- local cd = false
- spawn(function()
- while true do rs.RenderStepped:wait()
- pcall(function()
- if plr.Character.Humanoid:GetState() == Enum.HumanoidStateType.Swimming or plr.Character.Humanoid:GetState() == Enum.HumanoidStateType.Ragdoll then
- plr.Character.Humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
- end
- end)
- pcall(function()
- if not uis:IsKeyDown(Enum.KeyCode.LeftShift) then
- walkSpeed = 16
- plr.Character.Humanoid.WalkSpeed = walkSpeed
- elseif uis:IsKeyDown(Enum.KeyCode.LeftShift) then
- walkSpeed = walkSpeed+1
- plr.Character.Humanoid.WalkSpeed = walkSpeed
- spawn(function()
- pcall(function()
- if not cd then
- cd = true
- plr.Character.HumanoidRootPart.CFrame = CFrame.new(plr.Character.HumanoidRootPart.CFrame.p,plr.Character.HumanoidRootPart.CFrame.p+Vector3.new(workspace.Camera.CFrame.LookVector.X,0,workspace.Camera.CFrame.LookVector.Z))*CFrame.Angles(0,math.rad(30),0)
- wait()
- plr.Character.HumanoidRootPart.CFrame = CFrame.new(plr.Character.HumanoidRootPart.CFrame.p,plr.Character.HumanoidRootPart.CFrame.p+Vector3.new(workspace.Camera.CFrame.LookVector.X,0,workspace.Camera.CFrame.LookVector.Z))*CFrame.Angles(0,math.rad(-30),0)
- wait()
- cd = false
- end
- end)
- end)
- end
- end)
- pcall(function()
- if plr.Character:FindFirstChild'InBoat' then
- for _,v in next,workspace.MapItems:GetDescendants() do
- if v.Name == 'SeatWeld' and v.Part1 == plr.Character.HumanoidRootPart then
- if v.Parent.Parent.Name ~= 'speed' then
- v.Parent.Parent.Base.BodyThrust.Force = Vector3.new(v.Parent.Parent.Base.BodyThrust.Force.X*(walkSpeed/4),v.Parent.Parent.Base.BodyThrust.Force.Y*(walkSpeed/4),v.Parent.Parent.Base.BodyThrust.Force.Z*(walkSpeed/4))
- else
- v.Parent.Parent.Base.BodyThrust.Force = Vector3.new(v.Parent.Parent.Base.BodyThrust.Force.X*(walkSpeed/8),v.Parent.Parent.Base.BodyThrust.Force.Y*(walkSpeed/8),v.Parent.Parent.Base.BodyThrust.Force.Z*(walkSpeed/8))
- end
- end
- end
- end
- end)
- end
- end)
- spawn(function()
- while true do wait(0.1)
- pcall(function()
- if plr.Character:FindFirstChild'Sword' then
- for _,v in next,game.Players:GetPlayers() do
- if plr~=v and v.Character and (v.Team~=plr.Team or v.Team == game:GetService'Teams'['Not Playing']) and v:DistanceFromCharacter(plr.Character.HumanoidRootPart.Position)<20 then
- pcall(function()
- plr.Character.Sword.Activate:FireServer()
- firetouchinterest(plr.Character.Sword.Handle,v.Character.HumanoidRootPart,0)
- firetouchinterest(plr.Character.Sword.Handle,v.Character.HumanoidRootPart,1)
- end)
- end
- end
- end
- end)
- end
- end)
- while true do wait(1)
- pcall(function()
- for _,x in next,workspace:GetDescendants() do
- if x.Name == 'Gold' and x.Parent.Name == 'Chest' then
- for _,v in next,x:GetChildren() do
- if v:IsA'BasePart' then
- pcall(function()
- firetouchinterest(v,plr.Character.HumanoidRootPart,0)
- firetouchinterest(v,plr.Character.HumanoidRootPart,1)
- end)
- end
- end
- end
- end
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement