generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Roblox » I Made That
Home Search
 

Re: Script I have made

Previous Thread :: Next Thread 
drslicendice is not online. drslicendice
Joined: 05 Mar 2011
Total Posts: 18737
01 Sep 2014 08:29 PM
This script is 100 percent made by me, if you think this is a copy, compare the script to this script.

Put the script in a local script and in Startergear, please give me feedback!
Change the name to your username


Name = "drslicendice"


wait(1)
if game.Players.LocalPlayer.Name == Name then
else
while true do
wait(math.huge)
end
end
function SetSurface(Part, Type)
for i,v in pairs(Enum.NormalId:GetEnumItems()) do
Part[v.Name.."Surface"] = Type
end
end
local model1 = Instance.new("Model",workspace)
model1.Name = "OrbParts"
local Model = Instance.new("Model",workspace)
Model.Name = "OrbModel"
local Orb = Instance.new("Part",Model)
local BBGui = Instance.new("BillboardGui",Orb)
BBGui.Enabled = true
BBGui.StudsOffset = Vector3.new(0,1,0)
BBGui.Size = UDim2.new(0,280,0,80)
BBGui.Adornee = Orb
local txtbox = Instance.new("TextLabel",BBGui)
txtbox.Text = ""
txtbox.BackgroundTransparency = 1
txtbox.FontSize = "Size18"
txtbox.Font = "Legacy"
txtbox.TextStrokeTransparency = 0
txtbox.TextColor3 = BrickColor.new('Institutional white').Color
txtbox.Size = UDim2.new(1, 0,0.5, 0)
function text()
wait(1)
local text = "Hello, "..Name.."."
for i = 1, #text do
txtbox.Text = text:sub(1,i)
wait(0.06)
end
wait(1.5)
for i = 0, 1, 0.1 do
txtbox.TextStrokeTransparency = i
txtbox.TextTransparency = i
wait(0)
end
txtbox:Destroy()
end
Spawn(text)
Orb.FormFactor = "Custom"
Orb.Size = Vector3.new(1,1,1)
Orb.Transparency = 0.5
Orb.Reflectance = 0.1
Orb.BrickColor = BrickColor.new("Black")
Orb.Material = "Plastic"
SetSurface(Orb, 10)
local Orb2 = Orb:clone()
Orb2.BillboardGui:Destroy()
Orb2.Parent = Orb.Parent
Orb2.Size = Vector3.new(.6,.6,.6)
Orb2.Transparency = 0
local player = game.Players[Name]
local mouse = player:GetMouse()
mouse.TargetFilter = Model
repeat
wait(0.1)
until player.Character
local char = player.Character
local root = char:WaitForChild("HumanoidRootPart")
Orb:BreakJoints()
Orb2:BreakJoints()
local weld = Instance.new("Weld")
weld.Part0 = root
weld.Part1 = Orb
weld.C0 = CFrame.new(0,4,0)
weld.Parent = root
local weld2 = Instance.new("Weld")
weld2.Part0 = Orb
weld2.Part1 = Orb2
weld2.Parent = Orb
mouse.Move:connect(function()
local pos = root.CFrame*CFrame.new(0,4,0)
local cf = pos:pointToObjectSpace(mouse.Hit.p)
weld.C0 = CFrame.new(Vector3.new(0,4,0),cf)
end)

IsOn = false
Hurt = true
Kill = false
Heal = false
Build = false
Teleport = false
Kick = false

mouse.Button1Down:connect(function()
if IsOn == true and Hurt == true then
local ray = Ray.new(Orb.CFrame.p, (mouse.Hit.p - Orb.CFrame.p).unit*300)
local hit, position = game.Workspace:FindPartOnRay(ray, game.Players[Name])
local humanoid = hit and hit.Parent and hit.Parent:FindFirstChild("Humanoid")
if humanoid and hit.Parent.Name ~= Name then
humanoid:TakeDamage(math.random(10,humanoid.MaxHealth))
end
local distance = (position - Orb.CFrame.p).magnitude
local rayPart = Instance.new("Part", game.Workspace[Name])
local blockymesh = Instance.new("BlockMesh", rayPart)
local pewpew = Instance.new("Sound",Orb)
pewpew.SoundId = "http://www.roblox.com/asset/?id=50909479"
pewpew:Play()
rayPart.Name = "RayPart"
rayPart.BrickColor = BrickColor.new("Bright orange")
rayPart.Transparency = 0.5
rayPart.Anchored = true
rayPart.CanCollide = false
rayPart.TopSurface = Enum.SurfaceType.Smooth
rayPart.BottomSurface = Enum.SurfaceType.Smooth
rayPart.formFactor = Enum.FormFactor.Custom
rayPart.Size = Vector3.new(1, 1, distance)
rayPart.CFrame = CFrame.new(position, Orb.CFrame.p) * CFrame.new(0, 0, -distance/2)
SetSurface(rayPart,10)
for i = 0, 1 ,0.1 do
blockymesh.Scale = Vector3.new(blockymesh.Scale.X - 0.1,blockymesh.Scale.X - 0.1,1)
wait(0)
end
blockymesh.Scale = Vector3.new(0,0,0)
pewpew:Destroy()
wait()
game.Debris:AddItem(rayPart, 0)
game.Debris:AddItem(rayPart2, 0)

-- END OF HURT

elseif IsOn == true and Kill == true then
local ray = Ray.new(Orb.CFrame.p, (mouse.Hit.p - Orb.CFrame.p).unit*300)
local hit, position = game.Workspace:FindPartOnRay(ray, game.Players[Name])
local humanoid = hit and hit.Parent and hit.Parent:FindFirstChild("Humanoid")
if humanoid and hit.Parent.Name ~= Name then
humanoid:TakeDamage(humanoid.MaxHealth)
end
local distance = (position - Orb.CFrame.p).magnitude
local rayPart = Instance.new("Part", game.Workspace[Name])
local blockymesh = Instance.new("BlockMesh", rayPart)
local pewpew = Instance.new("Sound",Orb)
pewpew.SoundId = "http://www.roblox.com/asset/?id=50909479"
pewpew:Play()
rayPart.Name = "RayPart"
rayPart.BrickColor = BrickColor.new("Bright red")
rayPart.Transparency = 0.5
rayPart.Anchored = true
rayPart.CanCollide = false
rayPart.TopSurface = Enum.SurfaceType.Smooth
rayPart.BottomSurface = Enum.SurfaceType.Smooth
rayPart.formFactor = Enum.FormFactor.Custom
rayPart.Size = Vector3.new(1, 1, distance)
rayPart.CFrame = CFrame.new(position, Orb.CFrame.p) * CFrame.new(0, 0, -distance/2)
SetSurface(rayPart,10)
for i = 0, 1 ,0.1 do
blockymesh.Scale = Vector3.new(blockymesh.Scale.X - 0.1,blockymesh.Scale.X - 0.1,1)
wait(0)
end
blockymesh.Scale = Vector3.new(0,0,0)
pewpew:Destroy()
wait()
game.Debris:AddItem(rayPart, 0)
game.Debris:AddItem(rayPart2, 0)

-- END OF KILL

elseif IsOn == true and Heal == true then
local ray = Ray.new(Orb.CFrame.p, (mouse.Hit.p - Orb.CFrame.p).unit*300)
local hit, position = game.Workspace:FindPartOnRay(ray, game.Players[Name])
local humanoid = hit and hit.Parent and hit.Parent:FindFirstChild("Humanoid")
if humanoid and hit.Parent.Name ~= Name then
humanoid.Health = humanoid.Health + math.random(10, humanoid.MaxHealth)
end
local distance = (position - Orb.CFrame.p).magnitude
local rayPart = Instance.new("Part", game.Workspace[Name])
local blockymesh = Instance.new("BlockMesh", rayPart)
local pewpew = Instance.new("Sound",Orb)
pewpew.SoundId = "http://www.roblox.com/asset/?id=50909479"
pewpew:Play()
rayPart.Name = "RayPart"
rayPart.BrickColor = BrickColor.new("Bright green")
rayPart.Transparency = 0.5
rayPart.Anchored = true
rayPart.CanCollide = false
rayPart.TopSurface = Enum.SurfaceType.Smooth
rayPart.BottomSurface = Enum.SurfaceType.Smooth
rayPart.formFactor = Enum.FormFactor.Custom
rayPart.Size = Vector3.new(1, 1, distance)
rayPart.CFrame = CFrame.new(position, Orb.CFrame.p) * CFrame.new(0, 0, -distance/2)
SetSurface(rayPart,10)
for i = 0, 1 ,0.1 do
blockymesh.Scale = Vector3.new(blockymesh.Scale.X - 0.1,blockymesh.Scale.X - 0.1,1)
wait(0)
end
blockymesh.Scale = Vector3.new(0,0,0)
pewpew:Destroy()
wait()
game.Debris:AddItem(rayPart, 0)
game.Debris:AddItem(rayPart2, 0)
-- end of heal
elseif IsOn == true and Build == true then
local ray = Ray.new(Orb.CFrame.p, (mouse.Hit.p - Orb.CFrame.p).unit*300)
local hit, position = game.Workspace:FindPartOnRay(ray, game.Players[Name])
local humanoid = hit and hit.Parent and hit.Parent:FindFirstChild("Humanoid")
if humanoid and hit.Parent.Name ~= Name then
humanoid.Health = humanoid.Health + 0
end
local distance = (position - Orb.CFrame.p).magnitude
local rayPart = Instance.new("Part", game.Workspace[Name])
local blockymesh = Instance.new("BlockMesh", rayPart)
local pewpew = Instance.new("Sound",Orb)
local ex = Instance.new("Part",model1)
ex.Name = "OrbPartOfModel"
ex.Position = position
ex.formFactor = Enum.FormFactor.Custom
ex.Size = Vector3.new(2,2,2)
SetSurface(ex,10)
ex.Color = Color3.new(math.random(), math.random(), math.random())
ex.Transparency = 1
function fade()
for i = 0, 1, .1 do
ex.Transparency = ex.Transparency - 0.1
wait()
end
end
Spawn(fade)
pewpew.SoundId = "http://www.roblox.com/asset/?id=50909479"
pewpew:Play()
rayPart.Name = "RayPart"
rayPart.BrickColor = BrickColor.new("Dark stone grey")
rayPart.Transparency = 0.5
rayPart.Anchored = true
rayPart.CanCollide = false
rayPart.TopSurface = Enum.SurfaceType.Smooth
rayPart.BottomSurface = Enum.SurfaceType.Smooth
rayPart.formFactor = Enum.FormFactor.Custom
rayPart.Size = Vector3.new(1, 1, distance)
rayPart.CFrame = CFrame.new(position, Orb.CFrame.p) * CFrame.new(0, 0, -distance/2)
SetSurface(rayPart,10)
for i = 0, 1 ,0.1 do
blockymesh.Scale = Vector3.new(blockymesh.Scale.X - 0.1,blockymesh.Scale.X - 0.1,1)
wait(0)
end
blockymesh.Scale = Vector3.new(0,0,0)
Report Abuse
drslicendice is not online. drslicendice
Joined: 05 Mar 2011
Total Posts: 18737
01 Sep 2014 08:41 PM
b1
Report Abuse
Bluescarab100 is not online. Bluescarab100
Joined: 10 Aug 2010
Total Posts: 1990
01 Sep 2014 11:08 PM
What does this script do exactly?
Report Abuse
NealSavage is not online. NealSavage
Joined: 01 Aug 2012
Total Posts: 5890
02 Sep 2014 12:53 AM

What does this like.. ..DO...?

- Posted by a depressed, stupid, and strange 15 year old -
Report Abuse
drslicendice is not online. drslicendice
Joined: 05 Mar 2011
Total Posts: 18737
02 Sep 2014 05:25 PM
It's a admin orb I have made
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Roblox » I Made That
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image