NOOB-WHO-SAY-FUCK

a

Jun 23rd, 2017
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.88 KB | None | 0 0
  1. caketool = Instance.new("Tool")
  2. caketool.Name = "CAIK"
  3. caketool.CanBeDropped = false
  4. caketool.ToolTip = "CLEEK TUH TROW DE CAIK!"
  5. cake = Instance.new("Part", caketool)
  6. cake.Name = "Handle"
  7. cake.Size = Vector3.new(1, 1, 1)
  8. cakemesh = Instance.new("SpecialMesh", cake)
  9. cakemesh.MeshType = "FileMesh"
  10. cakemesh.MeshId = "http://www.roblox.com/asset/?id=16211718"
  11. cakemesh.TextureId = "http://www.roblox.com/asset/?id=145411558"
  12. wait()
  13. caketool.Parent = player.Backpack
  14.  
  15. caketool.Equipped:connect(function()
  16. trowdecaik = true
  17. end)
  18.  
  19. caketool.Unequipped:connect(function()
  20. trowdecaik = false
  21. end)
  22.  
  23. mouse.Button1Down:connect(function()
  24. if trowdecaik then
  25. hit = mouse.Hit
  26. cake2 = cake:Clone()
  27. cake2.CanCollide = false
  28. cake2.Parent = game.Workspace
  29. cake2.CFrame = cake.CFrame
  30. direction = Instance.new("BodyGyro", cake2)
  31. direction.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  32. direction.cframe = CFrame.new(cake.Position, hit.p)
  33. speed = Instance.new("BodyVelocity", cake2)
  34. speed.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  35. speed.velocity = direction.cframe.lookVector.unit * 50
  36. cake2.Touched:connect(function(part)
  37. if part.Parent ~= player.Character and part.Parent.Parent ~= player.Character and game.Players:GetPlayerFromCharacter(part.Parent) then
  38. char = part.Parent
  39. char.Head.face.Texture = "http://www.roblox.com/asset/?id=145405176"
  40. partyhat = Instance.new("Hat")
  41. partyhat.AttachmentPos = Vector3.new(0.1, -0.8, 0)
  42. partyhat.AttachmentUp = Vector3.new(0.3, 1, 0)
  43. hat = Instance.new("Part", partyhat)
  44. hat.Name = "Handle"
  45. hat.Size = Vector3.new(1, 1, 1)
  46. hatmesh = Instance.new("SpecialMesh", hat)
  47. hatmesh.MeshType = "FileMesh"
  48. hatmesh.MeshId = "http://www.roblox.com/asset/?id=1778999"
  49. hatmesh.TextureId = "http://www.roblox.com/asset/?id=34150228"
  50. partyhat.Parent = char
  51. cake2:Destroy()
  52. end
  53. end)
  54. game:GetService("Debris"):AddItem(cake2, 20)
  55. end
  56. end)
Add Comment
Please, Sign In to add comment