Advertisement
Guest User

Untitled

a guest
Nov 21st, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. BASIC ROBLOX GRAB KNIFE CODE
  2.  
  3. me = game.Players.LocalPlayer
  4. char = me.Character
  5. selected = false
  6. attacking = false
  7. hurt = false
  8. grabbed = nil
  9. mode = "drop"
  10. bloodcolors = {"Bright red", "Really red"}
  11. function prop(part, parent, collide, tran, ref, x, y, z, color, anchor, form)
  12. part.Parent = parent
  13. part.formFactor = form
  14. part.CanCollide = collide
  15. part.Transparency = tran
  16. part.Reflectance = ref
  17. part.Size = Vector3.new(x,y,z)
  18. part.BrickColor = BrickColor.new(color)
  19. part.TopSurface = 0
  20. part.BottomSurface = 0
  21. part.Anchored = anchor
  22. part.Locked = true
  23. part:BreakJoints()
  24. end
  25. function weld(w, p, p1, a, b, c, x, y, z)
  26. w.Parent = p
  27. w.Part0 = p
  28. w.Part1 = p1
  29. w.C1 = CFrame.fromEulerAnglesXYZ(a,b,c) * CFrame.new(x,y,z)
  30. end
  31. function mesh(mesh, parent, x, y, z, type)
  32. mesh.Parent = parent
  33. mesh.Scale = Vector3.new(x, y, z)
  34. mesh.MeshType = type
  35. end
  36. function remgui()
  37. for _,v in pairs(me.PlayerGui:GetChildren()) do
  38. if v.Name == "Modeshow" then
  39. v:remove()
  40. end
  41. end
  42. end
  43. function inform(text,delay)
  44. remgui()
  45. local sc = Instance.new("ScreenGui")
  46. sc.Parent = me.PlayerGui
  47. sc.Name = "Modeshow"
  48. local bak = Instance.new("Frame",sc)
  49. bak.BackgroundColor3 = Color3.new(1,1,1)
  50. bak.Size = UDim2.new(0.94,0,0.1,0)
  51. bak.Position = UDim2.new(0.03,0,0.037,0)
  52. bak.BorderSizePixel = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement