Advertisement
Guest User

Untitled

a guest
Sep 19th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.07 KB | None | 0 0
  1. script.Parent = game:GetService("ServerScriptService")
  2. cannotify = true
  3. canragdollkill = true
  4. function message(msg, tim)
  5. if cannotify then
  6. local messagesound = Instance.new("Sound", workspace)
  7. messagesound.SoundId = "rbxassetid://651986414"
  8. messagesound.Volume = 5.999
  9. messagesound:Play()
  10. game.Debris:AddItem(messagesound, messagesound.TimeLength)
  11. if owner.Character then
  12. if owner.Character:findFirstChild("HumanoidRootPart") then
  13. local pos1 = math.random(-5,5)
  14. local pos2 = math.random(-5,5)
  15. local model = Instance.new("Model", owner.Character)
  16. model.Name = [[(Ben's cmds)
  17. ]]..msg
  18. local human0 = Instance.new("Humanoid", model)
  19. human0.Name = "MessageHuman0id"
  20. human0.MaxHealth = 0
  21. human0.Health = 0
  22. local part = Instance.new("Part", model)
  23. part.Size = Vector3.new(0,0,0)
  24. part.BrickColor = BrickColor.Random()
  25. part.Material = "Neon"
  26. part:BreakJoints()
  27. part.CanCollide = false
  28. part.CFrame = owner.Character.HumanoidRootPart.CFrame
  29. part.Name = "Head"
  30. local bodyposition = Instance.new("BodyPosition", part)
  31. bodyposition.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  32. bodyposition.Position = owner.Character.HumanoidRootPart.Position
  33. local function spinandpos()
  34. while wait() do
  35. if owner.Character:findFirstChild("HumanoidRootPart") then
  36. bodyposition.Position = owner.Character:findFirstChild("HumanoidRootPart").Position + Vector3.new(pos1,0,pos2)
  37. end
  38. part.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(0.02,0.02,0.02)
  39. end
  40. end
  41. local function resize()
  42. while wait() and part.Size.x < 1.5 do
  43. part.Size = part.Size + Vector3.new(0.05,0.05,0.05)
  44. end
  45. wait(tim)
  46. for i = 1,30 do
  47. part.Size = part.Size - Vector3.new(0.05,0.05,0.05)
  48. part.Transparency = part.Transparency + 0.015
  49. wait()
  50. end
  51. model:destroy()
  52. end
  53. spawn(spinandpos)
  54. spawn(resize)
  55. end
  56. end
  57. end
  58. end
  59. rank = "test rank"
  60. message("ben's cmds loaded", 10)
  61. message("your rank is: "..(rank), 10)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement