User:Gordonrox24: Difference between revisions
m
→Scriptionary
>Gordonrox24 No edit summary |
>Gordonrox24 m (→Scriptionary) |
||
Line 17: | Line 17: | ||
== Scriptionary == | '''Bold text'''== Scriptionary == | ||
Some of these scripts are mine, some are other peoples. I will try to give them credit, but I have forgoten where some of them came from. Sorry! | |||
'''Ban. Don't use ofter !!!''' | |||
function onEntered(newPlayer) | |||
if newPlayer.Name = "" then | |||
Remove(newPlayer) | |||
end | |||
script.Parent.ChildAdded:connect(onEntered) | |||
'''Spawn point''' | |||
S = Instance.new("SpawnLocation") | |||
S.Parent = game.Workspace | |||
S.Anchored = true | |||
S.Size = Vector3.new(6,1.2,6) | |||
'''Makes a Person''' | |||
m = Instance.new("Model") | |||
m.Name = "NAME!!" | |||
m.Controller = 7 | |||
m.Parent = game.Workspace | |||
head = Instance.new("Part") | |||
head.Name = "Head" | |||
head.Position = Vector3.new(6, 5.3, -0.5) | |||
head.Size = Vector3.new(2, 1, 1) | |||
head.formFactor = 0 | |||
head.BrickColor = BrickColor.new(24) | |||
head.Parent = m | |||
head.Locked = true | |||
torso = Instance.new("Part") | |||
torso.Name = "Torso" | |||
torso.Position = Vector3.new(6, 3.8, -0.5) | |||
torso.LeftSurface = 2 | |||
torso.RightSurface = 2 | |||
torso.Size = Vector3.new(2, 2, 1) | |||
torso.formFactor = 0 | |||
torso.Parent = m | |||
torso.Locked = true | |||
la = Instance.new("Part") | |||
la.Name = "Left Arm" | |||
la.Position = Vector3.new(7.5, 3.8, -0.5) | |||
la.Size = Vector3.new(1, 2, 1) | |||
la.formFactor = 0 | |||
la.BrickColor = BrickColor.new(199) | |||
la.Parent = m | |||
la.Locked = true | |||
ra = Instance.new("Part") | |||
ra.Name = "Right Arm" | |||
ra.Position = Vector3.new(4.5, 3.8, -0.5) | |||
ra.Size = Vector3.new(1, 2, 1) | |||
ra.formFactor = 0 | |||
ra.BrickColor = BrickColor.new(199) | |||
ra.Parent = m | |||
ra.Locked = true | |||
ll = Instance.new("Part") | |||
ll.Name = "Left Leg" | |||
ll.Position = Vector3.new(6.5, 1.8, -0.5) | |||
ll.Size = Vector3.new(1, 2, 1) | |||
ll.formFactor = 0 | |||
ll.BrickColor = BrickColor.new(199) | |||
ll.Parent = m | |||
ll.Locked = true | |||
rl = Instance.new("Part") | |||
rl.Name = "Right Leg" | |||
rl.Position = Vector3.new(5.5, 1.8, -0.5) | |||
rl.Size = Vector3.new(1, 2, 1) | |||
rl.formFactor = 0 | |||
rl.BrickColor = BrickColor.new(199) | |||
rl.Parent = m | |||
rl.Locked = true | |||
h = Instance.new("Humanoid") | |||
h.Parent = m | |||
me = Instance.new("SpecialMesh") | |||
me.Parent = head | |||
me.Scale = Vector3.new(1.25,1.25,1.25) | |||
d = Instance.new("Decal") | |||
d.Parent = head | |||
d.Name = "face" | |||
d.Texture = "rbxasset://Textures\\Face.png" | |||
head:makeJoints(); m.Torso:makeJoints() | |||
torso:makeJoints(); m.Torso:makeJoints() | |||
la:makeJoints(); m.Torso:makeJoints() | |||
ra:makeJoints(); m.Torso:makeJoints() | |||
ll:makeJoints(); m.Torso:makeJoints() | |||
rl:makeJoints(); m.Torso:makeJoints() | |||
'''Puts You On Fire. it will not kill you, I promise.''' | |||
while true do | |||
L = game.Players.gordonrox24.Character.Torso | |||
E = Instance.new("Explosion") | |||
E.Parent = L | |||
E.Position = L.Position | |||
E.BlastRadius = 0.2 | |||
E.BlastPressure = 0.2 | |||
wait(0.01) | |||
end | |||
'''My Pet''' | |||
Owner = game.Players.gordonrox24 | |||
local M = Instance.new("Model") | |||
M.Name = Owner.Name.."'s Pet" | |||
M.Parent = game.Workspace | |||
local P = Instance.new("Part") | |||
P.Parent = M | |||
P.Name = "Head" | |||
P.Reflectance = 0.4 | |||
P.Shape = "Block" | |||
P.Size = Vector3.new(4, 4, 4) | |||
P.TopSurface = "Smooth" | |||
P.BottomSurface = "Smooth" | |||
P.BrickColor = BrickColor.Random() | |||
local H = Instance.new("Humanoid") | |||
H.Parent = M | |||
H.Health = 0 | |||
H.MaxHealth = 0 | |||
local BP = Instance.new("BodyPosition") | |||
BP.maxForce = Vector3.new(4e+003, 0, 4e+003) | |||
BP.Parent = P | |||
local Own = Instance.new("ObjectValue") | |||
Own.Parent = BP | |||
Own.Name = "Owner" | |||
Own.Value = Owner | |||
local S = Instance.new("Script") | |||
SetSource(S, [[while true do wait(0.2) if script.Parent.Owner.Value.Character:findFirstChild("Torso") ~= nil then script.Parent.position = script.Parent.Owner.Value.Character.Torso.Position end end]]) | |||
S.Parent = BP | |||
Clone(S).Parent = BP | |||
Remove(S) | |||
'''Makes everbody you.''' | |||
p= game.Players:GetChildren() | |||
for i= 1, #p do | |||
p[i].CharacterAppearance = game.Players.gordonrox24.CharacterAppearance | |||
end | |||
'''Flashing Torso''' | |||
d = game.Workspace.gordonrox24.Torso | |||
while true do | |||
d.Reflectance = 0 | |||
wait(0.01) | |||
d.Reflectance = 0.7 -- put this from 0 to 1 | |||
wait(0.01) | |||
end | |||
'''Follow You''' | |||
A = Instance.new("BodyPosition") A.Parent = game.Workspace.NAME.Torso b.maxForce = Vector3.new(600000000,6000000000,6000000000) | |||
while true do | |||
A.position = game.Workspace.NAME.Torso.Position | |||
wait(0.1) | |||
end | |||
'''Kicks Everybody Out''' | |||
p= game.Players:GetChildren() | |||
for i= 1, #p do | |||
p[i]:remove() | |||
end | |||
'''Force Feild''' | |||
h=Instance.new("ForceField") | |||
h.Parent = game.Workspace.gordonrox24 | |||
'''A re-make of the Disapearing Floors in Telamon's Sword Fight on the Heights. Works in Script Builder.''' | |||
script.Parent = game.Workspace.Base | |||
local plate = script.Parent | |||
local color = plate.BrickColor | |||
function disappear() | |||
plate.BrickColor = BrickColor.new(26) | |||
wait(.5) | |||
for i=1,5 do | |||
plate.Transparency = (i / 5) | |||
wait(.2) | |||
end | |||
plate.CanCollide = false | |||
wait(5) | |||
plate.CanCollide = true | |||
plate.Transparency = 0 | |||
plate.BrickColor = color | |||
end | |||
while true do | |||
if (math.random(1,10) == 5) then disappear() end | |||
wait(2) | |||
end | |||
'''Telamon's 0 gravity scripts''' | |||
.Plalocal chr = script.Parent | |||
local player = gameyers:GetPlayerFromCharacter(chr) | |||
if (player == nil) then script.Parent = nil end | |||
local msg = Instance.new("Message") | |||
msg.Text = "..." | |||
msg.Parent = player | |||
chr.Head.Mesh.Scale = Vector3.new(1.5,1.5,1.5) | |||
wait(2) | |||
msg.Text = "!!!" | |||
chr.Head.Mesh.Scale = Vector3.new(1.75,1.75,1.75) | |||
wait(2) | |||
msg.Parent = nil | |||
chr.Head.Mesh.Scale = Vector3.new(2,2,2) | |||
wait(1) | |||
local pos = chr.Head.Position | |||
local lowgrav = chr.Torso:findFirstChild("LowGrav") | |||
if lowgrav ~= nil then lowgrav.Parent = nil end | |||
chr.Head.Parent = nil | |||
for i=1,10 do | |||
local p = Instance.new("Part") | |||
p.formFactor = 2 | |||
p.Size = Vector3.new(1,.4,1) | |||
p.BrickColor = BrickColor.new(21) | |||
p.Position = pos + Vector3.new((math.random()-.5),.2*i,(math.random()-.5)) | |||
p.Transparency = math.random()/2 | |||
p.Parent = game.Workspace | |||
end |