Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- script.Parent = game:GetService("ServerScriptService")
- cannotify = true
- canragdollkill = true
- function message(msg, tim)
- if cannotify then
- local messagesound = Instance.new("Sound", workspace)
- messagesound.SoundId = "rbxassetid://651986414"
- messagesound.Volume = 5.999
- messagesound:Play()
- game.Debris:AddItem(messagesound, messagesound.TimeLength)
- if owner.Character then
- if owner.Character:findFirstChild("HumanoidRootPart") then
- local pos1 = math.random(-5,5)
- local pos2 = math.random(-5,5)
- local model = Instance.new("Model", owner.Character)
- model.Name = [[(Ben's cmds)
- ]]..msg
- local human0 = Instance.new("Humanoid", model)
- human0.Name = "MessageHuman0id"
- human0.MaxHealth = 0
- human0.Health = 0
- local part = Instance.new("Part", model)
- part.Size = Vector3.new(0,0,0)
- part.BrickColor = BrickColor.Random()
- part.Material = "Neon"
- part:BreakJoints()
- part.CanCollide = false
- part.CFrame = owner.Character.HumanoidRootPart.CFrame
- part.Name = "Head"
- local bodyposition = Instance.new("BodyPosition", part)
- bodyposition.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- bodyposition.Position = owner.Character.HumanoidRootPart.Position
- local function spinandpos()
- while wait() do
- if owner.Character:findFirstChild("HumanoidRootPart") then
- bodyposition.Position = owner.Character:findFirstChild("HumanoidRootPart").Position + Vector3.new(pos1,0,pos2)
- end
- part.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(0.02,0.02,0.02)
- end
- end
- local function resize()
- while wait() and part.Size.x < 1.5 do
- part.Size = part.Size + Vector3.new(0.05,0.05,0.05)
- end
- wait(tim)
- for i = 1,30 do
- part.Size = part.Size - Vector3.new(0.05,0.05,0.05)
- part.Transparency = part.Transparency + 0.015
- wait()
- end
- model:destroy()
- end
- spawn(spinandpos)
- spawn(resize)
- end
- end
- end
- end
- rank = "test rank"
- message("ben's cmds loaded", 10)
- message("your rank is: "..(rank), 10)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement