YandZ1

scythe 4

Dec 17th, 2019
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.71 KB | None | 0 0
  1. --hellsword
  2. local UserName = game:GetService('Players').LocalPlayer.Name
  3. local Autoride = true
  4.  
  5. local Animations = {Swing = 306352073}
  6. local Icon, Mesh, Texture = 639801229, 639801229, 639801229
  7. local Name, ToolTip = "Sword", "A Gift"
  8.  
  9. local CE = {}
  10. local Variables = {
  11. workspace = game:GetService("Workspace"),
  12. players = game:GetService("Players")
  13. }
  14.  
  15. local MainUserP, MainUserW = Variables.players.LocalPlayer, Variables.workspace:FindFirstChild(UserName)
  16.  
  17. function CE:FireEvent(ItemName, Object, Property, Value)
  18. MainUserW:FindFirstChild(ItemName)["ServerControl"]:InvokeServer("SetProperty",{["Value"]=Value,["Property"]=Property,["Object"]=Object})
  19. end
  20.  
  21. game.Workspace.GiveTool:FireServer(2187476, "PompousTheCloud")
  22. MainUserP["Backpack"]:WaitForChild("PompousTheCloud").Parent = MainUserW
  23.  
  24. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"TextureId","rbxassetid://"..Icon)
  25.  
  26. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Mesh"],"MeshId","rbxassetid://"..Mesh)
  27. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Mesh"],"TextureId","rbxassetid://"..Texture)
  28. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Mesh"],"Orientation",Vector3.new(-0.23,12.94,1.05))
  29. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Mesh"],"Position",Vector3.new(-111.387,3.568,-35.084))
  30.  
  31. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Mesh"],"Scale",Vector3.new(.70,.70,.70))
  32. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"GripPos",Vector3.new(0.2, -2, 0.1))
  33.  
  34. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"ToolTip",ToolTip)
  35. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["LocalScript"],"Disabled",true)
  36. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"Name",Name)
  37. wait()
  38.  
  39. local Sword = MainUserW["Sword"]
  40.  
  41. MainUserP:GetMouse().Button1Down:Connect(function()
  42. if MainUserW:FindFirstChild("Sword") then
  43. if MainUserP:GetMouse().Target.Parent:FindFirstChild("HumanoidRootPart") or MainUserP:GetMouse().Target.Parent.Parent:FindFirstChild("HumanoidRootPart") then
  44. CE:FireEvent("Sword",Sword,"GripRight",Vector3.new(0.838, -0.026, -0.545))
  45. local Animation = Instance.new("Animation") -- Swing
  46. Animation.AnimationId = "rbxassetid://306451377"
  47. local AnimationLoader = MainUserP.Character.Humanoid:LoadAnimation(Animation)
  48. AnimationLoader:Play()
  49. AnimationLoader:AdjustSpeed(1)
  50. wait()
  51. Variables.workspace.GuiEvent:FireServer(".")
  52. wait(0.5)
  53. CE:FireEvent("Sword",MainUserW["."]:WaitForChild("Head"),"Parent",MainUserP:GetMouse().Target.Parent)
  54. CE:FireEvent("Sword",Sword,"GripRight",Vector3.new(1, -0.026, 0))
  55. end
  56. end
  57. end)
Advertisement
Add Comment
Please, Sign In to add comment