SHOW:
|
|
- or go back to the newest paste.
1 | wait(2) | |
2 | print 'Smart Orb Script loaded.' | |
3 | print ' ' | |
4 | print 'Created by dylanrox44' | |
5 | -------------------- | |
6 | - | Player = "dylanrox44" |
6 | + | Player = "mathiaspsyko" |
7 | chr = game.Players[Player].Character | |
8 | local SOrb = Instance.new("Part") | |
9 | ||
10 | ||
11 | game.Players[Player].Chatted:connect(function(msg) | |
12 | if msg == "SOrb/fire" then | |
13 | local fire = Instance.new("Fire") | |
14 | fire.Color = Color3.new(math.random(0,210), math.random(0,210), math.random(0,210)) | |
15 | fire.Parent = game.Workspace.HomeSORB.SOrb | |
16 | end | |
17 | game.Players[Player].Chatted:connect(function(msg) | |
18 | if msg == "SOrb/Theme/Roblox" then | |
19 | game.Workspace.HomeSORB.SOrb.ParticleEmitter:Destroy() | |
20 | SOrb.BrickColor = BrickColor.new("Really red") | |
21 | local particle = Instance.new("ParticleEmitter") | |
22 | particle.VelocitySpread = "1000" | |
23 | particle.Texture = "http://www.roblox.com/asset/?id=107387963" | |
24 | particle.Parent = game.Workspace.HomeSORB.SOrb | |
25 | chr.Humanoid.WalkSpeed = "32" | |
26 | game.Workspace[Player].Head.face.Texture = "http://www.roblox.com/asset/?id=122965367" | |
27 | end | |
28 | if msg == "SOrb/Theme/Derp" then | |
29 | SOrb.BrickColor = BrickColor.new("Cyan") | |
30 | local particle = Instance.new("ParticleEmitter") | |
31 | particle.VelocitySpread = "1000" | |
32 | particle.Texture = "http://www.roblox.com/asset/?id=122965367" | |
33 | particle.Parent = game.Workspace.HomeSORB.SOrb | |
34 | chr.Humanoid.WalkSpeed = "52" | |
35 | game.Workspace[Player].Head.face.Texture = "http://www.roblox.com/asset/?id=122965367" | |
36 | local song = Instance.new("Sound") | |
37 | song.Volume = "1" | |
38 | song.SoundId = "rbxassetid://142373286" | |
39 | song.Parent = game.Workspace[Player].Head | |
40 | wait() | |
41 | song.Looped = true | |
42 | song:Play() | |
43 | end | |
44 | ||
45 | ||
46 | if msg == "SOrb/Remove" then | |
47 | game.Workspace.HomeSORB:Destroy() | |
48 | end | |
49 | if msg == "SOr" then | |
50 | game.Workspace.HomeSORB:Destroy() | |
51 | end | |
52 | ||
53 | ||
54 | ||
55 | end) | |
56 | end) | |
57 | ||
58 | ||
59 | ||
60 | ||
61 | ---------------- | |
62 | --- SafeRoom | |
63 | local Home = Instance.new("Model") | |
64 | Home.Parent = game.Workspace | |
65 | Home.Name = "HomeSORB" | |
66 | --- The creation of the SOrb; | |
67 | SOrb.Parent = game.Workspace.HomeSORB | |
68 | SOrb.Shape = "Ball" | |
69 | SOrb.Size = Vector3.new("12, 12, 12") | |
70 | SOrb.Material = "Neon" | |
71 | SOrb.Anchored = true | |
72 | SOrb.Name = "SOrb" | |
73 | print 'Loaded SOrb | Stage: Workspace Build' | |
74 | print ' ' | |
75 | print 'Importing into Model.' | |
76 | -------------------------- | |
77 | while wait() do | |
78 | SOrb.Position = chr.Head.Position | |
79 | SOrb.CanCollide = false | |
80 | while wait() do | |
81 | SOrb.Position = chr.Head.Position | |
82 | wait(0.1) | |
83 | SOrb.Position = chr.Head.Position | |
84 | wait(0.1) | |
85 | SOrb.Position = chr.Head.Position | |
86 | end | |
87 | end |