Advertisement
Guest User

Untitled

a guest
Aug 10th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.69 KB | None | 0 0
  1. me = game.Players.TheFoxPlayz1
  2.  
  3. char = me.Character
  4.  
  5. selected = false
  6.  
  7. attacking = false
  8.  
  9. hurt = false
  10.  
  11. grabbed = nil
  12.  
  13. mode = "drop"
  14.  
  15. bloodcolors = {"Really red", "Bright red"}
  16.  
  17.  
  18.  
  19. function prop(part, parent, collide, tran, ref, x, y, z, color, anchor, form)
  20.  
  21. part.Parent = parent
  22.  
  23. part.formFactor = form
  24.  
  25. part.CanCollide = collide
  26.  
  27. part.Transparency = tran
  28.  
  29. part.Reflectance = ref
  30.  
  31. part.Size = Vector3.new(x,y,z)
  32.  
  33. part.BrickColor = BrickColor.new(color)
  34.  
  35. part.TopSurface = 0
  36.  
  37. part.BottomSurface = 0
  38.  
  39. part.Anchored = anchor
  40.  
  41. part.Locked = true
  42.  
  43. part:BreakJoints()
  44.  
  45. end
  46.  
  47.  
  48. function weld(w, p, p1, a, b, c, x, y, z)
  49.  
  50. w.Parent = p
  51.  
  52. w.Part0 = p
  53.  
  54. w.Part1 = p1
  55.  
  56. w.C1 = CFrame.fromEulerAnglesXYZ(a,b,c) * CFrame.new(x,y,z)
  57.  
  58. end
  59.  
  60.  
  61. function mesh(mesh, parent, x, y, z, type)
  62.  
  63. mesh.Parent = parent
  64.  
  65. mesh.Scale = Vector3.new(x, y, z)
  66.  
  67. mesh.MeshType = type
  68.  
  69. end
  70.  
  71.  
  72. function remgui()
  73.  
  74. for _,v in pairs(me.PlayerGui:GetChildren()) do
  75.  
  76. if v.Name == "Modeshow" then
  77.  
  78. v:remove()
  79.  
  80. end
  81.  
  82. end
  83.  
  84. end
  85.  
  86.  
  87. function inform(text,delay)
  88.  
  89. remgui()
  90.  
  91. local sc = Instance.new("ScreenGui")
  92.  
  93. sc.Parent = me.PlayerGui
  94.  
  95. sc.Name = "Modeshow"
  96.  
  97. local bak = Instance.new("Frame",sc)
  98.  
  99. bak.BackgroundColor3 = Color3.new(1,1,1)
  100.  
  101. bak.Size = UDim2.new(0.94,0,0.1,0)
  102.  
  103. bak.Position = UDim2.new(0.03,0,0.037,0)
  104.  
  105. bak.BorderSizePixel = 0
  106.  
  107. local gi = Instance.new("TextLabel",sc)
  108.  
  109. gi.Size = UDim2.new(0.92,0,0.09,0)
  110.  
  111. gi.BackgroundColor3 = Color3.new(0,0,0)
  112.  
  113. gi.Position = UDim2.new(0.04,0,0.042,0)
  114.  
  115. gi.TextColor3 = Color3.new(1,1,1)
  116.  
  117. gi.FontSize = "Size12"
  118.  
  119. gi.Text = text
  120.  
  121. coroutine.resume(coroutine.create(function()
  122.  
  123. wait(delay)
  124.  
  125. sc:remove()
  126.  
  127. end))
  128.  
  129. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement