Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local UserName = game:GetService('Players').LocalPlayer.Name
- local Autoride = true
- local Animations = {Swing = 170455431}
- local Icon, Mesh, Texture = 2304702014, 4776057466, 4695230072
- local Name, ToolTip = "Sword", "Duol Sword Made by Jett & Daniel"
- local CE = {}
- local Variables = {
- workspace = game:GetService("Workspace"),
- players = game:GetService("Players")
- }
- local MainUserP, MainUserW = Variables.players.LocalPlayer, Variables.workspace:FindFirstChild(UserName)
- function CE:FireEvent(ItemName, Object, Property, Value)
- MainUserW:FindFirstChild(ItemName)["ServerControl"]:InvokeServer("SetProperty",{["Value"]=Value,["Property"]=Property,["Object"]=Object})
- end
- game.Workspace.GiveTool:FireServer(2187476, "PompousTheCloud")
- MainUserP["Backpack"]:WaitForChild("PompousTheCloud").Parent = MainUserW
- CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"TextureId","rbxassetid://"..Icon)
- CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Mesh"],"MeshId","rbxassetid://"..Mesh)
- CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Mesh"],"TextureId","rbxassetid://"..Texture)
- CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Mesh"],"Orientation",Vector3.new(-0,0,0))
- CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Mesh"],"Position",Vector3.new(14.981, 1.759, -11.839))
- CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Mesh"],"Scale",Vector3.new(.92,1,1))
- CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"GripForward",Vector3.new(-0.065, 0.057, -0.996))
- CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"GripPos",Vector3.new(3, -2.4 , .98))
- CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"GripRight",Vector3.new(0.997, -0.036, -0.068))
- CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"GripUp",Vector3.new(0.04, 0.998, 0.055))
- CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"ToolTip",ToolTip)
- CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["LocalScript"],"Disabled",true)
- CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"Name",Name)
- wait()
- local Sword = MainUserW["Sword"]
- MainUserP:GetMouse().Button1Down:Connect(function()
- if MainUserW:FindFirstChild("Sword") then
- if MainUserP:GetMouse().Target.Parent:FindFirstChild("HumanoidRootPart") or MainUserP:GetMouse().Target.Parent.Parent:FindFirstChild("HumanoidRootPart") then
- CE:FireEvent("Sword",Sword,"GripRight",Vector3.new(0.838, -0.026, -0.545))
- local Animation = Instance.new("Animation") -- Swing
- Animation.AnimationId = "rbxassetid://170455431"
- local AnimationLoader = MainUserP.Character.Humanoid:LoadAnimation(Animation)
- AnimationLoader:Play()
- AnimationLoader:AdjustSpeed(1)
- wait()
- Variables.workspace.GuiEvent:FireServer(".")
- wait(0.5)
- CE:FireEvent("Sword",MainUserW["."]:WaitForChild("Head"),"Parent",MainUserP:GetMouse().Target.Parent)
- CE:FireEvent("Sword",Sword,"GripRight",Vector3.new(1, -0.026, 0))
- end
- end
- end)
- print[["Duol Sword Made by Jett aka Icy#7325 & Daniel"]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement