SparkyMac
|
  |
| Joined: 27 Jul 2012 |
| Total Posts: 1863 |
|
|
| 09 Jun 2013 09:14 AM |
| Post here. Mine is the scythe script it was really messy. |
|
|
| Report Abuse |
|
|
|
| 09 Jun 2013 09:19 AM |
My own project im working on right now. I think this is too messy, dont really like it.
pastebin/W13UF3WF |
|
|
| Report Abuse |
|
|
Oreology
|
  |
| Joined: 15 Sep 2012 |
| Total Posts: 507 |
|
|
| 09 Jun 2013 09:21 AM |
evarything i maik is durr messy !!!!!!
No, it's not biology or psychology, it's oreology. The study of attraction. |
|
|
| Report Abuse |
|
|
SparkyMac
|
  |
| Joined: 27 Jul 2012 |
| Total Posts: 1863 |
|
|
| 09 Jun 2013 09:22 AM |
Neater than scythe, Also is that a mini game script? |
|
|
| Report Abuse |
|
|
|
| 09 Jun 2013 09:23 AM |
Thats just the serverside script, everything else is handled clientside. Its actually another dayz clone, not designed to copy anyones ideas, just for lulz, and love for scripting |
|
|
| Report Abuse |
|
|
SparkyMac
|
  |
| Joined: 27 Jul 2012 |
| Total Posts: 1863 |
|
|
| 09 Jun 2013 09:31 AM |
| You should make a Dayz game. It would be pretty cool. |
|
|
| Report Abuse |
|
|
1waffle1
|
  |
| Joined: 16 Oct 2007 |
| Total Posts: 16381 |
|
|
| 09 Jun 2013 09:31 AM |
| The old character animation handler. |
|
|
| Report Abuse |
|
|
Atzem
|
  |
| Joined: 14 Aug 2010 |
| Total Posts: 35 |
|
|
| 09 Jun 2013 09:32 AM |
| one of my places scripts i made 2 years ago |
|
|
| Report Abuse |
|
|
|
| 09 Jun 2013 09:33 AM |
Either Kohl's admin commands or Person299's admin commands
http://youtu.be/-NuONuafxwk |
|
|
| Report Abuse |
|
|
| |
|
| |
|
sckumtest
|
  |
| Joined: 16 Dec 2014 |
| Total Posts: 11 |
|
| |
|
|
| 09 Jun 2013 12:11 PM |
You mean the most messy script that actually works, right?
I will post some random ones now lol :P.
local erhwrowheruihweuirhwehwuethwebtrehtruetretretretretre = 1+234323423423423423423423423423423422423423432423 print(math.ceil(math.cos(math.deg(math.rad(24324234234234234234234234234234234234234*erhwrowheruihweuirhwehwuethwebtrehtruetretretretretre/1342342342343)))))
This code will work perfectly lol. Enjoy.
-- cardgamechampion/AlternativeAcc |
|
|
| Report Abuse |
|
|
Maradar
|
  |
| Joined: 06 Mar 2012 |
| Total Posts: 4478 |
|
|
| 09 Jun 2013 12:28 PM |
a = game.Workspace.66666666666666666666666666666666666.Value/2
function SatanWasHere() if a == 1 then a*a*a*a*a*a*a*(game.Workspace.66666666666666666666666666666666666.Value/2)*(game.Workspace.66666666666666666666666666666666666.Value/2)*3.14159 end |
|
|
| Report Abuse |
|
|
| |
|
|
| 09 Jun 2013 12:39 PM |
local ashdsahdhashgkdahsdkashdkashkdashkdaskdhaskjdhakjsdkashdaskjhdaskdaskjdaskjdakshdkjashdkashdaskhdkasdhaskdhaskhdaskjhdashdsakhdkashdkasjhdaskhdaksdhakshdkasdkjasdhkasdhasdjkahsdkajshdakshdkashdkashdkashdkashdkajshdkashdashdkajshdkajsdhakjshdaksdhakjshd = 50
for asdhsjkdahskjdhakshdashdkashdkjasdkahsdaksjdhaskjhdkasjhkjdhaskhdaskjdasdhasdhakshdkasdkjhkhgjskhhkjghjgdjhgfgdghuydafshgfgaswefewgyfuyewafuyewgyfweygfywyuewgfyguewagyuyghuwbfuiew = 1, 10 do ashdsahdhashgkdahsdkashdkashkdashkdaskdhaskjdhakjsdkashdaskjhdaskdaskjdaskjdakshdkjashdkashdaskhdkasdhaskdhaskhdaskjhdashdsakhdkashdkasjhdaskhdaksdhakshdkasdkjasdhkasdhasdjkahsdkajshdakshdkashdkashdkashdkashdkajshdkashdashdkajshdkajsdhakjshdaksdhakjshd = ashdsahdhashgkdahsdkashdkashkdashkdaskdhaskjdhakjsdkashdaskjhdaskdaskjdaskjdakshdkjashdkashdaskhdkasdhaskdhaskhdaskjhdashdsakhdkashdkasjhdaskhdaksdhakshdkasdkjasdhkasdhasdjkahsdkajshdakshdkashdkashdkashdkashdkajshdkashdashdkajshdkajsdhakjshdaksdhakjshd^ashdsahdhashgkdahsdkashdkashkdashkdaskdhaskjdhakjsdkashdaskjhdaskdaskjdaskjdakshdkjashdkashdaskhdkasdhaskdhaskhdaskjhdashdsakhdkashdkasjhdaskhdaksdhakshdkasdkjasdhkasdhasdjkahsdkajshdakshdkashdkashdkashdkashdkajshdkashdashdkajshdkajsdhakjshdaksdhakjshd end
print(ashdsahdhashgkdahsdkashdkashkdashkdaskdhaskjdhakjsdkashdaskjhdaskdaskjdaskjdakshdkjashdkashdaskhdkasdhaskdhaskhdaskjhdashdsakhdkashdkasjhdaskhdaksdhakshdkasdkjasdhkasdhasdjkahsdkajshdakshdkashdkashdkashdkashdkajshdkashdashdkajshdkajsdhakjshdaksdhakjshd)
http://youtu.be/-NuONuafxwk |
|
|
| Report Abuse |
|
|
|
| 09 Jun 2013 12:52 PM |
My grenade launcher script. It is like building a small house then building a larger mansion side-ways on the roof of the smaller house.
local Tool = script.Parent local DB = false local Wait = 0.6 -- Tf2 wiki reload speed local Velocity = 140 local GrenadeVelocity = 140 -- Rather high, but whatevar local Ammo = script.Parent.Ammo local Grenade = Instance.new("Part") -- Base Grenade local MaxDamage = 65 local MinDamage = 35 local DirectHit = 125 local MaxCharacterDamage = 45 local ExplosionWait = 1.28 Grenade.Name = "Grenade" Grenade.Locked = true Grenade.FormFactor = "Custom" Grenade.Size = Vector3.new(1,1,1.5) Grenade.BrickColor = BrickColor.new("Sand red") Grenade.BottomSurface = "Smooth" Grenade.TopSurface = "Smooth" Grenade.Elasticity = 0 Grenade.Friction = 1.2 function tag(Humanoid) local Tag = Instance.new("ObjectValue") Tag.Value = game.Players[script.Parent.Parent.Name] Tag.Name = "creator" Tag.Parent = Humanoid game:GetService("Debris"):AddItem(Tag,2) -- Tags need to expire. end
function detect() end function explodeGrenade(Part,Bullet,primed,k) if Bullet == nil then return end if k then k:disconnect() end print("No Delay: "..tostring(primed)) --if hitdb then hitdb = false else return end print("Disconnected!") if Part then if Part.Parent:findFirstChild("Humanoid") == nil or Part.Parent == script.Parent.Parent then -- if he don't hit a humanoid. if primed == false then -- if the thing isn't needed to explode immediatly. wait(ExplosionWait) end else if Part.Parent.Humanoid ~= script.Parent.Parent.Humanoid then tag(Part.Parent.Humanoid) Part.Parent.Humanoid:TakeDamage(DirectHit) --Bullet:Remove() --return end end -- Allows for direct hits. end if Bullet == nil then return end if Bullet.Parent == nil then return end print("Finished Humanoid Check / Primed Wait!") local Effect = Instance.new("Explosion",game.Workspace) Effect.Position = Bullet.Position Effect.BlastPressure = 0 -- Non-Lethal Explosion. if Bullet then -- Let the explosionsssss begginnssss --if Part.Parent == script.Parent.Parent then return end --Bullet.Explosion:Play() if Bullet == nil then return end if Bullet.Parent == nil then return end print("Creating Simulated Explosion") local Bomb = Bullet local Table = {} local Distance = 12 local Velocity = 120 function Check(Item) if Item:IsA("BasePart") and Item.Name ~= "Terrain" then if Item.Anchored ~= true and (Item.Position - Bomb.Position).magnitude < Distance then table.insert(Table, 1,Item) end elseif Item:IsA("Model") or Item:IsA("Hat") or Item:IsA("Tool") or Item == game.Workspace then local Child = Item:GetChildren() for i = 1, #Child do Check(Child[i]) end elseif Item:IsA("Humanoid") then tag(Item) local Torso = Item.Parent.Torso local PercentAway = (Torso.Position - Bomb.Position).magnitude / Distance -- How much percent we are from the base. local PercentReduction = 1 - PercentAway -- How much percent to remove from the max damage. if PercentReduction > 0 then if Item ~= script.Parent.Parent.Humanoid then local CalcDamage = PercentReduction * MaxDamage -- How much damage to give the humanoid. if CalcDamage > MinDamage then Item:TakeDamage(CalcDamage) else Item:TakeDamage(MinDamage) end else -- Self-Damage local CalcDamage = PercentReduction * MaxCharacterDamage -- How much damage to give the humanoid. Item:TakeDamage(CalcDamage) end end if Item:findFirstChild("VeloFixer") then print("Already has velocity fixer") else local Copy = script.VeloFixer:Clone() Copy.Parent = Item Copy.Disabled = false end Item.PlatformStand = true end end Check(game.Workspace) wait() for a = 1, #Table do --Table[a]:BreakJoints() Table[a].Velocity = Vector3.new(Table[a].Velocity.x,20,Table[a].Velocity.z) -- Override Current Y Velocity Table[a].Velocity = Table[a].Velocity + -((Bomb.Position - Vector3.new(0,3,0)) - Table[a].Position).unit * Velocity end Table = nil if Bullet then Bullet:Remove() end end end function Fire(mouse) if DB == false and (script.Parent.Parent.Humanoid.Health > 0) and Ammo.Value > 0 then DB = true Ammo.Value = Ammo.Value - 1 script.Parent.Name = "Grenade - "..tostring(Ammo.Value) script.Parent.Handle.Launch:Play() local AimPos = mouse.Hit.p local Bullet = Grenade:Clone() Bullet.Parent = game.Workspace Bullet.CFrame = CFrame.new(script.Parent.Handle.Position,AimPos) Bullet.CFrame = Bullet.CFrame + Bullet.CFrame.lookVector * 5 Bullet.Velocity = (Bullet.CFrame.lookVector * GrenadeVelocity) + Vector3.new(0,20,0) -- Give it a little umph. local Explode = script.Parent.Handle.Explosion:Clone() Explode.Parent = Bullet game:GetService("Debris"):AddItem(Bullet,10) -- This gun is kinda buggy, and does break, so we need to kill 'em. local newThread = coroutine.create(function() local instaexplode = true local LocalBullet = Bullet local k = Bullet.Touched:connect(function(otherPart) if otherPart then explodeGrenade(otherPart,Bullet,false,k); end end) wait(ExplosionWait) if LocalBullet then k:disconnect() k = nil local k = Bullet.Touched:connect(function(otherPart) if otherPart then explodeGrenade(otherPart,Bullet,true,k); end end) end end) coroutine.resume(newThread) if Hit then print("poo") end if Ammo.Value <= 0 then -- Break the Grenade. while Ammo.Value <= 0 do wait() end script.Parent.Name = "Grenade - "..tostring(Ammo.Value) end wait(Wait) DB = false end end
function Activate(mouse) if Ammo.Value <= 0 then -- Break the Grenade. while Ammo.Value <= 0 do wait() end script.Parent.Name = "Grenade - "..tostring(Ammo.Value) end mouse.KeyDown:connect(keyPressed) mouse.KeyUp:connect(keyLifted) if DB == false and Ammo.Value > 0 then mouse.Icon = "rbxasset://textures\\GunCursor.png" end mouse.Button1Down:connect(function() if DB == false and Ammo.Value > 0 then Fire(mouse) end end) end script.Parent.Equipped:connect(Activate)
|
|
|
| Report Abuse |
|
|
Dr01d3k4
|
  |
| Joined: 11 Oct 2007 |
| Total Posts: 17916 |
|
|
| 09 Jun 2013 02:17 PM |
@Beat: "function detect() end" Best. Function. Ever. :D
Apart from this: gamedev dot net/topic/643544-is-it-alive-no-but-wait-yes/ |
|
|
| Report Abuse |
|
|
|
| 09 Jun 2013 02:34 PM |
@d
That's the product of debugging at 3 am.
I'm shocked that code even works. |
|
|
| Report Abuse |
|
|
nairod7
|
  |
| Joined: 26 Mar 2010 |
| Total Posts: 869 |
|
|
| 09 Jun 2013 03:10 PM |
| I believe (but I'm not sure), the scythe script is messy because the creator of this minified it with stravant's plugin. |
|
|
| Report Abuse |
|
|
|
| 09 Jun 2013 03:15 PM |
local a=function() print('test') end function s(a,b) return b end pcall(s(pcall(s(pcall(s(pcall(s(pcall(s(pcall(s(pcall(s(pcall(s(pcall(s(pcall(a))))))))))))))))))) --be safe, it might error |
|
|
| Report Abuse |
|
|
Maradar
|
  |
| Joined: 06 Mar 2012 |
| Total Posts: 4478 |
|
| |
|
uyjulian
|
  |
| Joined: 29 Nov 2012 |
| Total Posts: 1214 |
|
|
| 09 Jun 2013 05:40 PM |
| Some pet script on my hard drive |
|
|
| Report Abuse |
|
|