sapG
|
  |
| Joined: 29 Jan 2011 |
| Total Posts: 943 |
|
|
| 24 Nov 2011 06:30 PM |
This forum was made for some basic scripting!
---Player entered script--- local BadgeID = 12312321 -->Put the badges ID there function onEntered(player) wait(1) local a = game:GetService("BadgeService") a:AwardBadge(player.userId,BadgeID) end game.Players.PlayerAdded:connect(onEntered) ---You met the creator script--- local BadgeID = 12312321 --Change to the Badges ID function onEntered(player) if player.Name == "YOURNAMEHERE" then --Insert your name here local b = game.Players:GetChildren() for i = 1, #b do local a = game:GetService("BadgeService") end end end game.Players.PlayerAdded:connect(onEntered) ---Badge save---
local BadgeID = 1232112 -- Insert Badge Id Here function onEntered(player) if game:GetService("BadgeService"):UserHasBadge(player.userId,BadgeID) then player.leaderstats.Tix.Value = 1000 --Change to what you want player.leaderstats.Bux.Value = 1000 --Change to what you want end end ---Controllabe Camera--- (Make sure you put script into StarterPack) repeat wait() until game.Workspace.CurrentCamera local cam = game.Workspace.CurrentCamera cam.CameraSubject = game.Workspace.Part -- make sure this is defined ---Glow Brick Script--- while true do for i=1, 9, 1 do -- Go up script.Parent.Reflectance = i * .1 wait(.1) end for i=9, 1, -1 do -- Go down script.Parent.Reflectance = i * .1 wait(.1) end end ---Lava Script--- function onTouched(hit) human = hit.Parent:FindFirstChild("Humanoid") -- returns "Humanoid" if exists, else returns nil if human ~= nil then -- if the toucher is human, then human:TakeDamage(human.MaxHealth) -- damage the human end end
script.Parent.Touched:connect(onTouched) ---Invisibilaty--- print("Invisibility hopper script loaded")
local enabled = true local reloadTime = 4 -- Additional time to reload local invisibilityTime = 8 -- Time the person will be invisible
function setCursor(mouse) if enabled then mouse.Icon = "rbxasset://textures\\ArrowCursor.png" else mouse.Icon = "rbxasset://textures\\ArrowFarCursor.png" end end
--Construct a number value to use later local scriptTimeOut = Instance.new("NumberValue") scriptTimeOut.Name = "InvisibilityTime" scriptTimeOut.Value = invisibilityTime
function onButton1Down(mouse) if enabled then enabled = false setCursor(mouse) -- Not ready anymore playerScript = script.Parent.Fade:clone() -- Copy the fading script scriptTimeOut:clone().Parent = playerScript playerScript.Parent = game.Players.LocalPlayer.Character -- Place it in the player
wait(reloadTime + invisibilityTime) -- Wait for a proper reload time enabled = true -- Ready again end setCursor(mouse) -- Set apropriate cursor end
script.Parent.Selected:connect(function(mouse) -- When the weapon is selected, make the script recognize clicks print("Invisibility selected") setCursor(mouse) -- Make the mouse indicate readiness mouse.Button1Down:connect(function() onButton1Down(mouse) end) end) ---MORE WILL BE ADDED!--- Hoped I helped! |
|
|
| Report Abuse |
|
|
|
| 24 Nov 2011 06:31 PM |
s = "boon oftg" print(s:reverse())
-[::ƧѡÎḾḠΰῩ::]- -[::Maker of stuff and Helper of Scripting::]- |
|
|
| Report Abuse |
|
|
| |
|
| |
|
sapG
|
  |
| Joined: 29 Jan 2011 |
| Total Posts: 943 |
|
| |
|
pwnedu46
|
  |
| Joined: 23 May 2009 |
| Total Posts: 7534 |
|
|
| 24 Nov 2011 08:14 PM |
"This forum was made for some basic scripting!"
No, it was made for helping people learn to script by helping them resolve their problems so they can learn from their mistakes. Arbitrarily posting scripts (this thread) defeats the purpose of Scripting Helpers.
Get out.
---------- ~ pwendu46 ~ |
|
|
| Report Abuse |
|
|
sapG
|
  |
| Joined: 29 Jan 2011 |
| Total Posts: 943 |
|
| |
|
| |
|
sapG
|
  |
| Joined: 29 Jan 2011 |
| Total Posts: 943 |
|
| |
|
TheMyrco
|
  |
| Joined: 13 Aug 2011 |
| Total Posts: 15105 |
|
|
| 25 Nov 2011 11:57 AM |
trollen = dutch for 'to troll'. You aren't dutch, therefore you have no riughts to talk dutch or you will have to talk dutch with me.
~Music lover Myrco (call me Myrco) |
|
|
| Report Abuse |
|
|
TheMyrco
|
  |
| Joined: 13 Aug 2011 |
| Total Posts: 15105 |
|
|
| 25 Nov 2011 11:58 AM |
*rights
~Music lover Myrco (call me Myrco) |
|
|
| Report Abuse |
|
|
sapG
|
  |
| Joined: 29 Jan 2011 |
| Total Posts: 943 |
|
| |
|
TheMyrco
|
  |
| Joined: 13 Aug 2011 |
| Total Posts: 15105 |
|
|
| 25 Nov 2011 12:27 PM |
No I'm Myrco :D
~Myrco; Music lover, nederlands/dutch and a scripter |
|
|
| Report Abuse |
|
|
sapG
|
  |
| Joined: 29 Jan 2011 |
| Total Posts: 943 |
|
| |
|
|
| 25 Nov 2011 12:31 PM |
| I think sap has every right to speak whatever language he wishes. Languages arent guarded by secret service. |
|
|
| Report Abuse |
|
|
|
| 25 Nov 2011 12:40 PM |
| But it is true what swimguy said. This forum wasn't made for free basic scripts. |
|
|
| Report Abuse |
|
|
|
| 25 Nov 2011 12:55 PM |
| well .. he is trying to help people .. at least maybe will help some people to use this instead of requesting :P |
|
|
| Report Abuse |
|
|