Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -----------------------------------------------------
- --Sonic's Schoolhouse V1.1, by PRGSPY.
- --With Textures Ripped by ManuB05
- -----------------------------------------------------
- local playere = game:GetService("Players").LocalPlayer
- local character = playere.Character
- local human = character:WaitForChild("Humanoid")
- local slides = {"rbxassetid://1775750905", "rbxassetid://1775750765", "rbxassetid://1775750896", "rbxassetid://1775750765", "rbxassetid://1775750905"}
- local messages = {"Only Insta-kill moves can flatten Me!", "If you don't get what you're looking for when you ask for help, try again!", "[N - O = P]E", "[N * A = H]", "Don't touch my quills, because it will hurt.", "The Textures used for this script were ripped by ManuB05.", "This script was originally made by PRGSPY."}
- local Mouse = playere:GetMouse()
- local UserInputService = game:GetService("UserInputService")
- x = {5, 0}
- y = {6, 0}
- eggs = {1.25, 0}
- --Making the Player Invisible, and invinicible
- repeat wait() until character.Torso:FindFirstChild("roblox") ~= nil and character.Head:FindFirstChild("face") ~= nil
- for i,v in pairs(character:GetChildren()) do
- if v.ClassName == "Part" or v.ClassName == "MeshPar" then
- v.Transparency = 1
- end
- end
- wait(0.01)
- for q,t in pairs(character:GetChildren()) do
- if t.ClassName == "Accessory" or t.ClassName == "Hat" then
- t.Handle.Transparency = 1
- end
- end
- character.Head.face.Transparency = 1
- human.MaxHealth = math.huge
- human.Health = human.MaxHealth
- human.JumpPower = 100
- human.WalkSpeed = 64
- local ff = Instance.new("ForceField")
- ff.Parent = character
- ff.Visible = false
- --Setting up the BillboardGui
- local floatie = Instance.new("BillboardGui")
- floatie.Parent = character.Head
- floatie.Adornee = character.Head
- floatie.Size = UDim2.new(unpack(x), unpack(y, 0))
- print("Main container created")
- local imageman = Instance.new("ImageLabel")
- imageman.Parent = floatie
- imageman.Image = "rbxassetid://1775750905"
- imageman.BackgroundTransparency = 1
- imageman.BorderSizePixel = 0
- imageman.Size = UDim2.new(unpack(eggs), unpack(eggs, 0))
- local clickie = Instance.new("ClickDetector")
- clickie.Parent = character.HumanoidRootPart
- clickie.MaxActivationDistance = math.huge
- clickie.Parent.Transparency = 0.99
- print("image created")
- local song = Instance.new("Sound")
- song.SoundId = "rbxassetid://1791879624"
- song.Name = "Song"
- song.Looped = true
- song.Volume = 2
- song.Parent = floatie
- local death = Instance.new("Sound")
- death.SoundId = "rbxassetid://571879674"
- death.Name = "ded"
- death.Looped = false
- death.Volume = 1
- death.Parent = floatie
- local hits = Instance.new("Sound")
- hits.SoundId = "rbxassetid://131864673"
- hits.Name = "ded"
- hits.Looped = false
- hits.Volume = 1
- hits.Parent = floatie
- --The Good Stuff
- function onTouched(hit)
- if hit.Parent:findFirstChild("Humanoid") then
- hit.Parent.Humanoid:TakeDamage(hit.Parent.Humanoid.MaxHealth / 10)
- hit.Parent.Humanoid.Sit = true
- hits:Play()
- if hit.Parent.Humanoid.MaxHealth == math.huge then
- hit.Parent.Humanoid.Health = 0
- end
- if hit.Parent.Humanoid.Health == 0 then
- death:Play()
- end
- end
- end
- clickie.MouseClick:connect(function(player)
- local mem = Instance.new("Message")
- mem.Parent = game.Workspace
- mem.Text = "Reply to request for help by ".. player.name ..": " .. messages[math.random(1,#messages)]
- wait(3)
- mem:Destroy()
- end)
- Mouse.KeyDown:connect(function(key)
- if (key=="e") then
- song:Stop()
- end
- if (key=="q") then
- song:Play()
- end
- if (key=="t") then
- if imageman ~= nil then
- for i = 1,#slides do
- imageman.Image = slides[i]
- wait(0.1)
- end
- end
- end
- if (key=="y") then
- local mem = Instance.new("Message")
- mem.Parent = game.Workspace
- mem.Text = "A message from Sonic for those who need help: " .. messages[math.random(1,#messages)]
- wait(3)
- mem:Destroy()
- end
- end)
- character.HumanoidRootPart.Touched:connect(onTouched)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement