Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait(2)
- print 'Smart Orb Script loaded.'
- print ' '
- print 'Created by dylanrox44'
- --------------------
- Player = "mathiaspsyko"
- chr = game.Players[Player].Character
- local SOrb = Instance.new("Part")
- game.Players[Player].Chatted:connect(function(msg)
- if msg == "SOrb/fire" then
- local fire = Instance.new("Fire")
- fire.Color = Color3.new(math.random(0,210), math.random(0,210), math.random(0,210))
- fire.Parent = game.Workspace.HomeSORB.SOrb
- end
- game.Players[Player].Chatted:connect(function(msg)
- if msg == "SOrb/Theme/Roblox" then
- game.Workspace.HomeSORB.SOrb.ParticleEmitter:Destroy()
- SOrb.BrickColor = BrickColor.new("Really red")
- local particle = Instance.new("ParticleEmitter")
- particle.VelocitySpread = "1000"
- particle.Texture = "http://www.roblox.com/asset/?id=107387963"
- particle.Parent = game.Workspace.HomeSORB.SOrb
- chr.Humanoid.WalkSpeed = "32"
- game.Workspace[Player].Head.face.Texture = "http://www.roblox.com/asset/?id=122965367"
- end
- if msg == "SOrb/Theme/Derp" then
- SOrb.BrickColor = BrickColor.new("Cyan")
- local particle = Instance.new("ParticleEmitter")
- particle.VelocitySpread = "1000"
- particle.Texture = "http://www.roblox.com/asset/?id=122965367"
- particle.Parent = game.Workspace.HomeSORB.SOrb
- chr.Humanoid.WalkSpeed = "52"
- game.Workspace[Player].Head.face.Texture = "http://www.roblox.com/asset/?id=122965367"
- local song = Instance.new("Sound")
- song.Volume = "1"
- song.SoundId = "rbxassetid://142373286"
- song.Parent = game.Workspace[Player].Head
- wait()
- song.Looped = true
- song:Play()
- end
- if msg == "SOrb/Remove" then
- game.Workspace.HomeSORB:Destroy()
- end
- if msg == "SOr" then
- game.Workspace.HomeSORB:Destroy()
- end
- end)
- end)
- ----------------
- --- SafeRoom
- local Home = Instance.new("Model")
- Home.Parent = game.Workspace
- Home.Name = "HomeSORB"
- --- The creation of the SOrb;
- SOrb.Parent = game.Workspace.HomeSORB
- SOrb.Shape = "Ball"
- SOrb.Size = Vector3.new("12, 12, 12")
- SOrb.Material = "Neon"
- SOrb.Anchored = true
- SOrb.Name = "SOrb"
- print 'Loaded SOrb | Stage: Workspace Build'
- print ' '
- print 'Importing into Model.'
- --------------------------
- while wait() do
- SOrb.Position = chr.Head.Position
- SOrb.CanCollide = false
- while wait() do
- SOrb.Position = chr.Head.Position
- wait(0.1)
- SOrb.Position = chr.Head.Position
- wait(0.1)
- SOrb.Position = chr.Head.Position
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement